Milo
发表于|更新于
|浏览量:
放纵必需的自由而求暂时的安全的人们,结果既失去自由,又得不到安全——富兰克林
分享一个OPC UA的Java实现
https://github.com/eclipse/milo

OPC UA Client SDK
1
2
3
4
5 <dependency>
<groupId>org.eclipse.milo</groupId>
<artifactId>sdk-client</artifactId>
<version>0.6.9</version>
</dependency>OPC UA Server SDK
1
2
3
4
5 <dependency>
<groupId>org.eclipse.milo</groupId>
<artifactId>sdk-server</artifactId>
<version>0.6.9</version>
</dependency>
相关推荐
2020-07-31
jenkinsのPipeline项目构建
下载插件 创建一个pipeline项目 点击下面的流水线语法 到流水线语法的片段生成器里选择Check out from version control 填入仓库和凭证,生成脚本 复制到pipeline脚本里去 然后选择sh:Shell script,生成脚本,复制 然后再选择deploy:Deploy war/ear to a container 然后填写参数,生成 最后的样子就是这样 完整脚本 123456789101112131415161718192021pipeline { agent any stages { stage('pull') { steps { checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extension...
2024-03-29
导出三方库依赖以及许可证
不好的书告诉错误的概念,使无知者变得更无知。——菲尔丁 方法很简单,引入 12345<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>license-maven-plugin</artifactId> <version>${license-maven-plugin.version}</version></plugin> 版本是 1<license-maven-plugin.version>2.4.0</license-maven-plugin.version> 然后使用: 1mvn license:aggregate-add-third-party 然后就会输出: 1[INFO] Writing third-party file to /Users/achao/IdeaProjects/stream-query/target/generated-so...
2024-03-06
javadoc保留格式标签
不结果的树是没人去摇的。唯有那些果实累累的,才有人用石子去打。——罗曼·罗兰 在hutool中就有体现: 12345678910111213141516171819202122232425262728293031323334353637383940414243/* * Copyright (c) 2023 looly(loolly@aliyun.com) * Hutool is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * https://license.coscl.org.cn/MulanPSL2 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, * E...
2022-04-24
thymeleaf和vue快速入门
时间是个常数,但也是个变数。勤奋的人无穷多,懒惰的人无穷少。——字严 今天中午午休抽时间写了个thymeleaf和vue使用elementUI简单入门Demo 仓库地址:https://gitee.com/VampireAchao/simple-thymeleaf-html.git 前端代码如下: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354<!doctype html><html><head> <title>给胖哥的html页面</title> <!-- 引入样式,从这来的 https://element.eleme.cn/#/zh-CN/component/installation#cdn --> <link href="https://unpkg.com/element-ui/lib/theme-chalk/ind...
2020-12-23
@ModelAttribute
小人之过也必文。——《论语》 如果我们需要在controller执行前做一些事情,除了使用AOP外,我们还可以使用@ModelAttribute注解 被@ModelAttribute注解的方法会在controller执行前执行并把结果传递给了下面controller里我们注解的参数 实际开发中可以用来鉴权、过滤参数等 12345678910111213141516171819202122232425262728293031package com.ruben.controller;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.ModelAttribute;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.RestController;/** * @...
2022-12-16
获取泛型map工具类
一个人如果抛弃他忠实的朋友,就等于抛弃他最珍贵的声明。——索福克勒斯 代码如下: 1234567891011121314151617181920212223242526public static Map<String, Type> getGenericMap(Type paramType) { Type type = resolveType(paramType); if (type instanceof ParameterizedTypeImpl) { ParameterizedTypeImpl ty = (ParameterizedTypeImpl) type; final Class<?> rawType = ty.getRawType(); return Steam.of(rawType.getTypeParameters()).map(Type::getTypeName) .zip(Steam.of(ty.getActualTypeArgum...

阿超
我的名字叫阿超 年龄25岁 家在北京市 职业是软件开发 每天最晚也会在八点前回家 不抽烟 酒浅尝辄止 晚上十二点上床 保证睡足八个小时 睡前写一篇博客 再做二十分钟俯卧撑暖身 然后再睡觉 基本能熟睡到天亮 像婴儿一样不留下任何疲劳和压力 就这样迎来第二天的早晨 健康检查结果也显示我很正常 我想说明我是一个不论何时都追求内心平稳的人 不拘泥于胜负 不纠结于烦恼 不树立使我夜不能寐的敌人 这就是我在这社会的生活态度
Follow Me公告
This is my Blog