add status
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2025-02-10 13:52:16 +01:00
parent 81378d80e4
commit e0a44205b1

View File

@ -19,6 +19,7 @@ type variable_t struct {
Variable string `json:"variable"`
Value string `json:"value"`
Unit string `json:"unit"`
Status string `json:"status"`
}
type message_t struct {
@ -132,6 +133,7 @@ func Start() {
Variable: oidTopic.OID,
Value: convertedValue,
Unit: "",
Status: "",
}
message.Variables[oidTopic.Label] = v