Commit d79cf9bdef4cc9320f27fd5ad29c673bb12d29fc
1 parent
89f2ce87a9
Exists in
master
and in
2 other branches
패킷 사양 변경 반영
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/modbus-data-viewer/src/service-web/main.go
@@ -15,12 +15,12 @@ import ( | @@ -15,12 +15,12 @@ import ( | ||
15 | 15 | ||
16 | type Header int32 | 16 | type Header int32 |
17 | type ControlPacket [50]uint16 | 17 | type ControlPacket [50]uint16 |
18 | -type StatePacket [57]uint16 | 18 | +type StatePacket [60]uint16 |
19 | 19 | ||
20 | var mutex sync.Mutex | 20 | var mutex sync.Mutex |
21 | var templateMap = make(map[string]interface{}) | 21 | var templateMap = make(map[string]interface{}) |
22 | var controlDesc [50]string | 22 | var controlDesc [50]string |
23 | -var stateDesc [73]string | 23 | +var stateDesc [76]string |
24 | 24 | ||
25 | func init() { | 25 | func init() { |
26 | controlDesc[5] = "Oven Mode" | 26 | controlDesc[5] = "Oven Mode" |