refactor(opcua):调整pojo位置

yun-zuoyi
汪云昊 5 years ago
parent 543058b3a5
commit e11e833309

@ -42,6 +42,12 @@
</properties>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>i3plus.pojo</groupId>
<artifactId>i3plus-pojo-base</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
</build>

@ -0,0 +1,69 @@
package cn.estsh.i3plus.pojo.hardswitch.bean;
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
import io.swagger.annotations.ApiParam;
import lombok.Data;
/**
* @Description :
* @Reference :
* @Author : yunhao
* @CreateDate : 2019-11-12 17:03
* @Modify:
**/
@Data
public class OpcUAParam {
//opc.tcp://127.0.0.1:49320
@ApiParam("ua服务地址")
private String serverUrl;
/**
*
* OPC UA
*/
@ApiParam("命名空间索引")
private Integer namespaceIndex;
/**
*
* ..
*/
@ApiParam("标记地址")
private String tagAddress;
/**
*
*/
@ApiParam("标记值")
private String tagValue;
/**
*
*/
@ApiParam("标记值类型")
// @AnnoOutputColumn(refClass = OpcUAEnumUtil.OPC_UA_TAG_VALUE_TYPE.class)
private String tagValueType;
public String getTagValueTypeVal(){
return tagValueType == null ? "10" : tagValueType;
}
/**
*
*/
@ApiParam("用户名")
private String userName;
/**
*
*/
@ApiParam("用户密码")
private String password;
/**
*
*/
@ApiParam("请求间隔")
private Double requestInterval = 500.0;
}
Loading…
Cancel
Save