package cn.stylefeng.guns.opcua.cert;
|
|
import cn.stylefeng.guns.opcua.client.ClientHandler;
|
import cn.stylefeng.guns.opcua.entity.NodeEntity;
|
import lombok.extern.slf4j.Slf4j;
|
|
@Slf4j
|
public class MethodName {/*
|
public void a(String Nodee){
|
log.info("str={},响应方法:{}", Nodee,Nodee);
|
}
|
public void c(String Nodee){
|
try {
|
NodeEntity node = NodeEntity.builder().index(2).identifier("my.device.x2")
|
.value("99").type("int").build();
|
ClientHandler clientHandler=new ClientHandler();
|
String out=clientHandler.write(node);
|
log.info(out);
|
} catch (Exception e) {
|
e.printStackTrace();
|
}
|
}
|
public void b(String Nodee){
|
log.info("str={},响应方法:{}", Nodee,Nodee);
|
}*/
|
public void a(String param1, String param2) {
|
log.info("str={},响应方法:{}", param1,param2);
|
}
|
public void b(String param1, String param2) {
|
log.info("str={},响应方法:{}", param1,param2);
|
}
|
public void c(String param1, String param2) {
|
log.info("str={},响应方法:{}", param1,param2);
|
}
|
}
|