|
|
@@ -17,6 +17,9 @@ public class MyS7Entity { |
|
|
|
// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|
|
|
// @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8") |
|
|
|
// private Date insertTime; |
|
|
|
//S7Type.REAL 对应float或double类型 |
|
|
|
//S7Type.WORD int |
|
|
|
//S7Type.STRING 字符串 |
|
|
|
|
|
|
|
//必须为public 否则报错 |
|
|
|
@S7Variable(byteOffset = 0, type = S7Type.REAL) |
|
|
|