github.com/enbility/spine-go@v0.7.0/model/actuatorswitch.go (about) 1 package model 2 3 type ActuatorSwitchFctType string 4 5 const ( 6 ActuatorSwitchFctTypeOn ActuatorSwitchFctType = "on" 7 ActuatorSwitchFctTypeOff ActuatorSwitchFctType = "off" 8 ActuatorSwitchFctTypeToggle ActuatorSwitchFctType = "toggle" 9 ) 10 11 type ActuatorSwitchDataType struct { 12 Function *ActuatorSwitchFctType `json:"function,omitempty"` 13 } 14 15 type ActuatorSwitchDataElementsType struct { 16 Function *ElementTagType `json:"function,omitempty"` 17 } 18 19 type ActuatorSwitchDescriptionDataType struct { 20 Label *LabelType `json:"label,omitempty"` 21 Description *DescriptionType `json:"description,omitempty"` 22 } 23 24 type ActuatorSwitchDescriptionDataElementsType struct { 25 Label *ElementTagType `json:"label,omitempty"` 26 Description *ElementTagType `json:"description,omitempty"` 27 }