-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b07853
commit ec6c987
Showing
4 changed files
with
29 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
package api | ||
|
||
type DeviceCategory uint | ||
type DeviceCategoryType uint | ||
|
||
const ( | ||
// Grid Connection Point Hub (GCPH) (e.g. a control unit from the public grid operator) | ||
DeviceCategoryGridConnectionHub DeviceCategory = 1 | ||
DeviceCategoryTypeGridConnectionHub DeviceCategoryType = 1 | ||
// Energy Management System (EMS) (device managing the electrical energy consumption/production of connected devices in the building) | ||
DeviceCategoryEnergyManagementSystem DeviceCategory = 2 | ||
DeviceCategoryTypeEnergyManagementSystem DeviceCategoryType = 2 | ||
// E-mobility related device (e.g., charging station) | ||
DeviceCategoryEMobility DeviceCategory = 3 | ||
DeviceCategoryTypeEMobility DeviceCategoryType = 3 | ||
// HVAC related device/system (e.g., heat pump) | ||
DeviceCategoryHVAC DeviceCategory = 4 | ||
DeviceCategoryTypeHVAC DeviceCategoryType = 4 | ||
// Inverter (PV/battery/hybrid inverter) | ||
DeviceCategoryInverter DeviceCategory = 5 | ||
DeviceCategoryTypeInverter DeviceCategoryType = 5 | ||
// Domestic appliance (e.g., washing machine, dryer, fridge, etc.) | ||
DeviceCategoryDomesticAppliance DeviceCategory = 6 | ||
DeviceCategoryTypeDomesticAppliance DeviceCategoryType = 6 | ||
// Metering device (e.g., smart meter or sub-meter with its own communications technology) | ||
DeviceCategoryMetering DeviceCategory = 7 | ||
DeviceCategoryTypeMetering DeviceCategoryType = 7 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters