-
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 dacd925
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 | ||
DeviceCategoryGridConnectionHub DeviceCategoryType = 1 | ||
// Energy Management System (EMS) (device managing the electrical energy consumption/production of connected devices in the building) | ||
DeviceCategoryEnergyManagementSystem DeviceCategory = 2 | ||
DeviceCategoryEnergyManagementSystem DeviceCategoryType = 2 | ||
// E-mobility related device (e.g., charging station) | ||
DeviceCategoryEMobility DeviceCategory = 3 | ||
DeviceCategoryEMobility DeviceCategoryType = 3 | ||
// HVAC related device/system (e.g., heat pump) | ||
DeviceCategoryHVAC DeviceCategory = 4 | ||
DeviceCategoryHVAC DeviceCategoryType = 4 | ||
// Inverter (PV/battery/hybrid inverter) | ||
DeviceCategoryInverter DeviceCategory = 5 | ||
DeviceCategoryInverter DeviceCategoryType = 5 | ||
// Domestic appliance (e.g., washing machine, dryer, fridge, etc.) | ||
DeviceCategoryDomesticAppliance DeviceCategory = 6 | ||
DeviceCategoryDomesticAppliance DeviceCategoryType = 6 | ||
// Metering device (e.g., smart meter or sub-meter with its own communications technology) | ||
DeviceCategoryMetering DeviceCategory = 7 | ||
DeviceCategoryMetering 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