github.com/enbility/spine-go@v0.7.0/model/hvac.go (about) 1 package model 2 3 type HvacSystemFunctionIdType uint 4 5 type HvacSystemFunctionTypeType string 6 7 const ( 8 HvacSystemFunctionTypeTypeHeating HvacSystemFunctionTypeType = "heating" 9 HvacSystemFunctionTypeTypeCooling HvacSystemFunctionTypeType = "cooling" 10 HvacSystemFunctionTypeTypeVentilation HvacSystemFunctionTypeType = "ventilation" 11 HvacSystemFunctionTypeTypeDhw HvacSystemFunctionTypeType = "dhw" 12 ) 13 14 type HvacOperationModeIdType uint 15 16 type HvacOperationModeTypeType string 17 18 const ( 19 HvacOperationModeTypeTypeAuto HvacOperationModeTypeType = "auto" 20 HvacOperationModeTypeTypeOn HvacOperationModeTypeType = "on" 21 HvacOperationModeTypeTypeOff HvacOperationModeTypeType = "off" 22 HvacOperationModeTypeTypeEco HvacOperationModeTypeType = "eco" 23 ) 24 25 type HvacOverrunIdType uint 26 27 type HvacOverrunTypeType string 28 29 const ( 30 HvacOverrunTypeTypeOneTimeDhw HvacOverrunTypeType = "oneTimeDhw" 31 HvacOverrunTypeTypeParty HvacOverrunTypeType = "party" 32 HvacOverrunTypeTypeSgReadyCondition1 HvacOverrunTypeType = "sgReadyCondition1" 33 HvacOverrunTypeTypeSgReadyCondition3 HvacOverrunTypeType = "sgReadyCondition3" 34 HvacOverrunTypeTypeSgReadyCondition4 HvacOverrunTypeType = "sgReadyCondition4" 35 HvacOverrunTypeTypeOneDayAway HvacOverrunTypeType = "oneDayAway" 36 HvacOverrunTypeTypeOneDayAtHome HvacOverrunTypeType = "oneDayAtHome" 37 HvacOverrunTypeTypeOneTimeVentilation HvacOverrunTypeType = "oneTimeVentilation" 38 HvacOverrunTypeTypeHvacSystemOff HvacOverrunTypeType = "hvacSystemOff" 39 HvacOverrunTypeTypeValveKick HvacOverrunTypeType = "valveKick" 40 ) 41 42 type HvacOverrunStatusType string 43 44 const ( 45 HvacOverrunStatusTypeActive HvacOverrunStatusType = "active" 46 HvacOverrunStatusTypeRunning HvacOverrunStatusType = "running" 47 HvacOverrunStatusTypeFinished HvacOverrunStatusType = "finished" 48 HvacOverrunStatusTypeInactive HvacOverrunStatusType = "inactive" 49 ) 50 51 type HvacSystemFunctionDataType struct { 52 SystemFunctionId *HvacSystemFunctionIdType `json:"systemFunctionId,omitempty" eebus:"key"` 53 CurrentOperationModeId *HvacOperationModeIdType `json:"currentOperationModeId,omitempty"` 54 IsOperationModeIdChangeable *bool `json:"isOperationModeIdChangeable,omitempty"` 55 CurrentSetpointId *SetpointIdType `json:"currentSetpointId,omitempty"` 56 IsSetpointIdChangeable *bool `json:"isSetpointIdChangeable,omitempty"` 57 IsOverrunActive *bool `json:"isOverrunActive,omitempty"` 58 } 59 60 type HvacSystemFunctionDataElementsType struct { 61 SystemFunctionId *ElementTagType `json:"systemFunctionId,omitempty"` 62 CurrentOperationModeId *ElementTagType `json:"currentOperationModeId,omitempty"` 63 IsOperationModeIdChangeable *ElementTagType `json:"isOperationModeIdChangeable,omitempty"` 64 CurrentSetpointId *ElementTagType `json:"currentSetpointId,omitempty"` 65 IsSetpointIdChangeable *ElementTagType `json:"isSetpointIdChangeable,omitempty"` 66 IsOverrunActive *ElementTagType `json:"isOverrunActive,omitempty"` 67 } 68 69 type HvacSystemFunctionListDataType struct { 70 HvacSystemFunctionData []HvacSystemFunctionDataType `json:"hvacSystemFunctionData,omitempty"` 71 } 72 73 type HvacSystemFunctionListDataSelectorsType struct { 74 SystemFunctionId []HvacSystemFunctionIdType `json:"systemFunctionId,omitempty"` 75 } 76 77 type HvacSystemFunctionOperationModeRelationDataType struct { 78 SystemFunctionId *HvacSystemFunctionIdType `json:"systemFunctionId,omitempty" eebus:"key"` 79 OperationModeId *HvacOperationModeIdType `json:"operationModeId,omitempty"` 80 } 81 82 type HvacSystemFunctionOperationModeRelationDataElementsType struct { 83 SystemFunctionId *ElementTagType `json:"systemFunctionId,omitempty"` 84 OperationModeId *ElementTagType `json:"operationModeId,omitempty"` 85 } 86 87 type HvacSystemFunctionOperationModeRelationListDataType struct { 88 HvacSystemFunctionOperationModeRelationData []HvacSystemFunctionOperationModeRelationDataType `json:"hvacSystemFunctionOperationModeRelationData,omitempty"` 89 } 90 91 type HvacSystemFunctionOperationModeRelationListDataSelectorsType struct { 92 SystemFunctionId []HvacSystemFunctionIdType `json:"systemFunctionId,omitempty"` 93 } 94 95 type HvacSystemFunctionSetpointRelationDataType struct { 96 SystemFunctionId *HvacSystemFunctionIdType `json:"systemFunctionId,omitempty" eebus:"key"` 97 OperationModeId *HvacOperationModeIdType `json:"operationModeId,omitempty"` 98 SetpointId *SetpointIdType `json:"setpointId,omitempty"` 99 } 100 101 type HvacSystemFunctionSetpointRelationDataElementsType struct { 102 SystemFunctionId *ElementTagType `json:"systemFunctionId,omitempty"` 103 OperationModeId *ElementTagType `json:"operationModeId,omitempty"` 104 SetpointId *ElementTagType `json:"setpointId,omitempty"` 105 } 106 107 type HvacSystemFunctionSetpointRelationListDataType struct { 108 HvacSystemFunctionSetpointRelationData []HvacSystemFunctionSetpointRelationDataType `json:"hvacSystemFunctionSetpointRelationData,omitempty"` 109 } 110 111 type HvacSystemFunctionSetpointRelationListDataSelectorsType struct { 112 SystemFunctionId *HvacSystemFunctionIdType `json:"systemFunctionId,omitempty"` 113 OperationModeId *HvacOperationModeIdType `json:"operationModeId,omitempty"` 114 } 115 116 type HvacSystemFunctionPowerSequenceRelationDataType struct { 117 SystemFunctionId *HvacSystemFunctionIdType `json:"systemFunctionId,omitempty" eebus:"key"` 118 SequenceId []PowerSequenceIdType `json:"sequenceId,omitempty"` 119 } 120 121 type HvacSystemFunctionPowerSequenceRelationDataElementsType struct { 122 SystemFunctionId *ElementTagType `json:"systemFunctionId,omitempty"` 123 SequenceId *ElementTagType `json:"sequenceId,omitempty"` 124 } 125 126 type HvacSystemFunctionPowerSequenceRelationListDataType struct { 127 HvacSystemFunctionPowerSequenceRelationData []HvacSystemFunctionPowerSequenceRelationDataType `json:"hvacSystemFunctionPowerSequenceRelationData,omitempty"` 128 } 129 130 type HvacSystemFunctionPowerSequenceRelationListDataSelectorsType struct { 131 SystemFunctionId *HvacSystemFunctionIdType `json:"systemFunctionId,omitempty"` 132 } 133 134 type HvacSystemFunctionDescriptionDataType struct { 135 SystemFunctionId *HvacSystemFunctionIdType `json:"systemFunctionId,omitempty" eebus:"key"` 136 SystemFunctionType *HvacSystemFunctionTypeType `json:"systemFunctionType,omitempty"` 137 Label *LabelType `json:"label,omitempty"` 138 Description *DescriptionType `json:"description,omitempty"` 139 } 140 141 type HvacSystemFunctionDescriptionDataElementsType struct { 142 SystemFunctionId *ElementTagType `json:"systemFunctionId,omitempty"` 143 SystemFunctionType *ElementTagType `json:"systemFunctionType,omitempty"` 144 Label *ElementTagType `json:"label,omitempty"` 145 Description *ElementTagType `json:"description,omitempty"` 146 } 147 148 type HvacSystemFunctionDescriptionListDataType struct { 149 HvacSystemFunctionDescriptionData []HvacSystemFunctionDescriptionDataType `json:"hvacSystemFunctionDescriptionData,omitempty"` 150 } 151 152 type HvacSystemFunctionDescriptionListDataSelectorsType struct { 153 SystemFunctionId *HvacSystemFunctionIdType `json:"systemFunctionId,omitempty"` 154 } 155 156 type HvacOperationModeDescriptionDataType struct { 157 OperationModeId *HvacOperationModeIdType `json:"operationModeId,omitempty" eebus:"key"` 158 OperationModeType *HvacOperationModeTypeType `json:"operationModeType,omitempty"` 159 Label *LabelType `json:"label,omitempty"` 160 Description *DescriptionType `json:"description,omitempty"` 161 } 162 163 type HvacOperationModeDescriptionDataElementsType struct { 164 OperationModeId *ElementTagType `json:"operationModeId,omitempty"` 165 OperationModeType *ElementTagType `json:"operationModeType,omitempty"` 166 Label *ElementTagType `json:"label,omitempty"` 167 Description *ElementTagType `json:"description,omitempty"` 168 } 169 170 type HvacOperationModeDescriptionListDataType struct { 171 HvacOperationModeDescriptionData []HvacOperationModeDescriptionDataType `json:"hvacOperationModeDescriptionData,omitempty"` 172 } 173 174 type HvacOperationModeDescriptionListDataSelectorsType struct { 175 OperationModeId *HvacOperationModeIdType `json:"operationModeId,omitempty"` 176 } 177 178 type HvacOverrunDataType struct { 179 OverrunId *HvacOverrunIdType `json:"overrunId,omitempty" eebus:"key"` 180 OverrunStatus *HvacOverrunStatusType `json:"overrunStatus,omitempty"` 181 TimeTableId *TimeTableIdType `json:"timeTableId,omitempty"` 182 IsOverrunStatusChangeable *bool `json:"isOverrunStatusChangeable,omitempty"` 183 } 184 185 type HvacOverrunDataElementsType struct { 186 OverrunId *ElementTagType `json:"overrunId,omitempty"` 187 OverrunStatus *ElementTagType `json:"overrunStatus,omitempty"` 188 TimeTableId *ElementTagType `json:"timeTableId,omitempty"` 189 IsOverrunStatusChangeable *ElementTagType `json:"isOverrunStatusChangeable,omitempty"` 190 } 191 192 type HvacOverrunListDataType struct { 193 HvacOverrunData []HvacOverrunDataType `json:"hvacOverrunData,omitempty"` 194 } 195 196 type HvacOverrunListDataSelectorsType struct { 197 OverrunId *HvacOverrunIdType `json:"overrunId,omitempty"` 198 } 199 200 type HvacOverrunDescriptionDataType struct { 201 OverrunId *HvacOverrunIdType `json:"overrunId,omitempty" eebus:"key"` 202 OverrunType *HvacOverrunTypeType `json:"overrunType,omitempty"` 203 AffectedSystemFunctionId []HvacSystemFunctionIdType `json:"affectedSystemFunctionId,omitempty"` 204 Label *LabelType `json:"label,omitempty"` 205 Description *DescriptionType `json:"description,omitempty"` 206 } 207 208 type HvacOverrunDescriptionDataElementsType struct { 209 OverrunId *ElementTagType `json:"overrunId,omitempty"` 210 OverrunType *ElementTagType `json:"overrunType,omitempty"` 211 AffectedSystemFunctionId *ElementTagType `json:"affectedSystemFunctionId,omitempty"` 212 Label *ElementTagType `json:"label,omitempty"` 213 Description *ElementTagType `json:"description,omitempty"` 214 } 215 216 type HvacOverrunDescriptionListDataType struct { 217 HvacOverrunDescriptionData []HvacOverrunDescriptionDataType `json:"hvacOverrunDescriptionData,omitempty"` 218 } 219 220 type HvacOverrunDescriptionListDataSelectorsType struct { 221 OverrunId *HvacOverrunIdType `json:"overrunId,omitempty"` 222 }