| | |
| | | type PlcStartAddressType string |
| | | |
| | | const ( |
| | | PlcStartAddressTypeFinishNumber = "1" |
| | | PlcStartAddressTypeFinishNumber = 1 |
| | | PlcStartAddressTypeTotalNumber = 2 |
| | | ) |
| | | |
| | | const ( |
| | |
| | | "properties": { |
| | | "fieldName": { |
| | | "description": "对应系统字段", |
| | | "type": "string" |
| | | "type": "integer" |
| | | }, |
| | | "length": { |
| | | "description": "数据长度", |
| | |
| | | "properties": { |
| | | "fieldName": { |
| | | "description": "对应系统字段", |
| | | "type": "string" |
| | | "type": "integer" |
| | | }, |
| | | "length": { |
| | | "description": "数据长度", |
| | |
| | | properties: |
| | | fieldName: |
| | | description: 对应系统字段 |
| | | type: string |
| | | type: integer |
| | | length: |
| | | description: 数据长度 |
| | | type: integer |
| | |
| | | StartAddress int `json:"startAddress"` // 数据起始地址 |
| | | Length int `json:"length"` // 数据长度 |
| | | Type string `json:"type"` // 数据类型 |
| | | FieldName string `json:"fieldName"` // 对应系统字段 |
| | | FieldName int `json:"fieldName"` // 对应系统字段 |
| | | } |
| | | |
| | | DevicePlcSearch struct { |