-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathKaifa.h
51 lines (45 loc) · 832 Bytes
/
Kaifa.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#pragma once
enum class Kaifa {
List1 = 0x01,
List1PhaseShort = 0x09,
List3PhaseShort = 0x0D,
List1PhaseLong = 0x0E,
List3PhaseLong = 0x12
};
enum class Kaifa_List1 {
ListSize,
ActiveImportPower
};
enum class Kaifa_ListCommon {
ListSize,
ListVersionIdentifier,
MeterID,
MeterType,
ActiveImportPower,
ActiveExportPower,
ReactiveImportPower,
ReactiveExportPower,
EndOfList
};
enum class Kaifa_List3Phase {
CurrentL1 = Kaifa_ListCommon::EndOfList,
CurrentL2,
CurrentL3,
VoltageL1,
VoltageL2,
VoltageL3,
MeterClock,
EndOfList
};
enum class Kaifa_List1Phase {
CurrentL1 = Kaifa_ListCommon::EndOfList,
VoltageL1,
MeterClock,
EndOfList
};
enum class Kaifa_ListCumulative {
ActiveImportEnergy,
ActiveExportEnergy,
ReactiveImportEnergy,
ReactiveExportEnergy
};