Commit d79cf9bdef4cc9320f27fd5ad29c673bb12d29fc

Authored by 김태훈
1 parent 89f2ce87a9
Exists in master and in 2 other branches fhd, fhd-demo

패킷 사양 변경 반영

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"