zhangzengfei
2023-08-01 e8c97695dd6930465e66b8fac819301f03624512
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package msg
 
type PLCDevice struct {
    Id       string
    Name     string
    Ip       string
    Address  []int // 数据地址
    Interval int   // 采集的时间间隔. 秒
}
 
type PLCResponse struct {
    Id     string
    Name   string
    Ip     string
    Online bool
    Data   map[int][]byte
}