diff --git a/app/modbus-data-viewer/src/service-web/main.go b/app/modbus-data-viewer/src/service-web/main.go
index 6e27124..e4c372d 100644
--- a/app/modbus-data-viewer/src/service-web/main.go
+++ b/app/modbus-data-viewer/src/service-web/main.go
@@ -85,7 +85,7 @@ func mapControl(packet Packet) {
controlTable = ""
for i, v := range packet {
- controlTable += fmt.Sprintf("
%v | 0x%04X | 0x%04X | %d |
\n", 30001+i, i, v, v)
+ controlTable += fmt.Sprintf("%v | 0x%04X | 0x%04X | %d |
\n", 40001+i, i, v, v)
}
templateMap["Table_Control"] = template.HTML(controlTable)
@@ -97,7 +97,7 @@ func mapState(packet Packet) {
stateTable = ""
for i, v := range packet {
- stateTable += fmt.Sprintf("%v | 0x%04X | 0x%04X | %d |
\n", 40001+i, i, v, v)
+ stateTable += fmt.Sprintf("%v | 0x%04X | 0x%04X | %d |
\n", 30001+i, i, v, v)
}
templateMap["Table_State"] = template.HTML(stateTable)