|
24 | 24 | FRBCTimerStatus, |
25 | 25 | FRBCUsageForecast, |
26 | 26 | ) |
27 | | -from s2python.pebc import PEBCPowerConstraints, PEBCEnergyConstraint, PEBCInstruction |
28 | | -from s2python.ppbc import PPBCScheduleInstruction |
| 27 | +from s2python.pebc import ( |
| 28 | + PEBCPowerConstraints, |
| 29 | + PEBCEnergyConstraint, |
| 30 | + PEBCInstruction, |
| 31 | +) |
| 32 | +from s2python.ppbc import ( |
| 33 | + PPBCScheduleInstruction, |
| 34 | + PPBCEndInterruptionInstruction, |
| 35 | + PPBCPowerProfileDefinition, |
| 36 | + PPBCPowerProfileStatus, |
| 37 | + PPBCStartInterruptionInstruction |
| 38 | +) |
| 39 | +from s2python.ombc import ( |
| 40 | + OMBCInstruction, |
| 41 | + OMBCStatus, |
| 42 | + OMBCSystemDescription, |
| 43 | + OMBCTimerStatus |
| 44 | +) |
| 45 | +from s2python.ddbc import ( |
| 46 | + DDBCActuatorStatus, |
| 47 | + DDBCAverageDemandRateForecast, |
| 48 | + DDBCInstruction, |
| 49 | + DDBCSystemDescription, |
| 50 | + DDBCTimerStatus, |
| 51 | +) |
29 | 52 |
|
30 | 53 | from s2python.message import S2Message |
31 | 54 | from s2python.validate_values_mixin import S2MessageComponent |
|
40 | 63 |
|
41 | 64 | # May be generated with development_utilities/generate_s2_message_type_to_class.py |
42 | 65 | TYPE_TO_MESSAGE_CLASS: Dict[str, Type[S2Message]] = { |
43 | | - "FRBC.ActuatorStatus": FRBCActuatorStatus, |
44 | | - "FRBC.FillLevelTargetProfile": FRBCFillLevelTargetProfile, |
45 | | - "FRBC.Instruction": FRBCInstruction, |
46 | | - "FRBC.LeakageBehaviour": FRBCLeakageBehaviour, |
47 | | - "FRBC.StorageStatus": FRBCStorageStatus, |
48 | | - "FRBC.SystemDescription": FRBCSystemDescription, |
49 | | - "FRBC.TimerStatus": FRBCTimerStatus, |
50 | | - "FRBC.UsageForecast": FRBCUsageForecast, |
51 | | - "PPBC.ScheduleInstruction": PPBCScheduleInstruction, |
52 | | - "PEBC.PowerConstraints": PEBCPowerConstraints, |
53 | | - "PEBC.Instruction": PEBCInstruction, |
54 | | - "PEBC.EnergyConstraint": PEBCEnergyConstraint, |
55 | | - "Handshake": Handshake, |
56 | | - "HandshakeResponse": HandshakeResponse, |
57 | | - "InstructionStatusUpdate": InstructionStatusUpdate, |
58 | | - "PowerForecast": PowerForecast, |
59 | | - "PowerMeasurement": PowerMeasurement, |
60 | | - "ReceptionStatus": ReceptionStatus, |
61 | | - "ResourceManagerDetails": ResourceManagerDetails, |
62 | | - "RevokeObject": RevokeObject, |
63 | | - "SelectControlType": SelectControlType, |
64 | | - "SessionRequest": SessionRequest, |
| 66 | + 'DDBC.ActuatorStatus': DDBCActuatorStatus, |
| 67 | + 'DDBC.AverageDemandRateForecast': DDBCAverageDemandRateForecast, |
| 68 | + 'DDBC.Instruction': DDBCInstruction, |
| 69 | + 'DDBC.SystemDescription': DDBCSystemDescription, |
| 70 | + 'DDBC.TimerStatus': DDBCTimerStatus, |
| 71 | + 'FRBC.ActuatorStatus': FRBCActuatorStatus, |
| 72 | + 'FRBC.FillLevelTargetProfile': FRBCFillLevelTargetProfile, |
| 73 | + 'FRBC.Instruction': FRBCInstruction, |
| 74 | + 'FRBC.LeakageBehaviour': FRBCLeakageBehaviour, |
| 75 | + 'FRBC.StorageStatus': FRBCStorageStatus, |
| 76 | + 'FRBC.SystemDescription': FRBCSystemDescription, |
| 77 | + 'FRBC.TimerStatus': FRBCTimerStatus, |
| 78 | + 'FRBC.UsageForecast': FRBCUsageForecast, |
| 79 | + 'Handshake': Handshake, |
| 80 | + 'HandshakeResponse': HandshakeResponse, |
| 81 | + 'InstructionStatusUpdate': InstructionStatusUpdate, |
| 82 | + 'OMBC.Instruction': OMBCInstruction, |
| 83 | + 'OMBC.Status': OMBCStatus, |
| 84 | + 'OMBC.SystemDescription': OMBCSystemDescription, |
| 85 | + 'OMBC.TimerStatus': OMBCTimerStatus, |
| 86 | + 'PEBC.EnergyConstraint': PEBCEnergyConstraint, |
| 87 | + 'PEBC.Instruction': PEBCInstruction, |
| 88 | + 'PEBC.PowerConstraints': PEBCPowerConstraints, |
| 89 | + 'PPBC.EndInterruptionInstruction': PPBCEndInterruptionInstruction, |
| 90 | + 'PPBC.PowerProfileDefinition': PPBCPowerProfileDefinition, |
| 91 | + 'PPBC.PowerProfileStatus': PPBCPowerProfileStatus, |
| 92 | + 'PPBC.ScheduleInstruction': PPBCScheduleInstruction, |
| 93 | + 'PPBC.StartInterruptionInstruction': PPBCStartInterruptionInstruction, |
| 94 | + 'PowerForecast': PowerForecast, |
| 95 | + 'PowerMeasurement': PowerMeasurement, |
| 96 | + 'ReceptionStatus': ReceptionStatus, |
| 97 | + 'ResourceManagerDetails': ResourceManagerDetails, |
| 98 | + 'RevokeObject': RevokeObject, |
| 99 | + 'SelectControlType': SelectControlType, |
| 100 | + 'SessionRequest': SessionRequest, |
65 | 101 | } |
66 | 102 |
|
67 | 103 |
|
|
0 commit comments