Browse Source

Xcom_API.py add more parameters and infos slr

Tobias Müller 4 years ago
parent
commit
880e3d0e97
1 changed files with 24 additions and 1 deletions
  1. 24 1
      Xcom-API/Xcom_API.py

+ 24 - 1
Xcom-API/Xcom_API.py

@@ -98,6 +98,14 @@ class Xcom_API():
     _info_state_of_ground_relay           = 3074
     _info_state_of_neutral_transfer_relay = 3075
     _info_state_of_remote_entry           = 3086
+    _info_battery_voltage_slr             = 11000
+    _info_battery_charge_current_slr      = 11001
+    _info_pv_voltage_slr                  = 11002
+    _info_pv_power_slr                    = 11004
+    _info_operation_mode_slr              = 11016
+    _info_type_of_error_slr               = 11034
+    _info_battery_cycle_phase_slr         = 11038
+    _info_state_variotrack_slr            = 11069
 
     ##################################################################################################################################
     #                                           Protected-Attributes-Parameter-Object_ID                                             #
@@ -115,6 +123,10 @@ class Xcom_API():
     _para_transfer_relay_allowed          = 1128
     _para_limitation_of_the_power_boost   = 1607
     _para_remote_entry_active             = 1545
+    _para_battery_charge_current_slr      = 10002
+    _para_battery_undervoltage_slr        = 10334
+    _para_operating_mode_aux_1_slr        = 10089
+    
 
     ##################################################################################################################################
     #                                               Protected-Attributes-Property_ID                                                 #
@@ -232,7 +244,18 @@ class Xcom_API():
                             1112    :   [_object_type_parameter,_property_id_value_qsp,_format_float],
                             1128    :   [_object_type_parameter,_property_id_value_qsp,_format_bool],
                             1607    :   [_object_type_parameter,_property_id_value_qsp,_format_float],
-                            1545    :   [_object_type_parameter,_property_id_value_qsp,_format_long_enum]}
+                            1545    :   [_object_type_parameter,_property_id_value_qsp,_format_long_enum],
+                            10002   :   [_object_type_parameter,_property_id_value,_format_float],
+                            10334   :   [_object_type_parameter,_property_id_value,_format_float],
+                            10089   :   [_object_type_parameter,_property_id_value,_format_long_enum],
+                            11000   :   [_object_type_info,_property_id_value,_format_float],
+                            11001   :   [_object_type_info,_property_id_value,_format_float],
+                            11002   :   [_object_type_info,_property_id_value,_format_float],
+                            11004   :   [_object_type_info,_property_id_value,_format_float],
+                            11016   :   [_object_type_info,_property_id_value,_format_short_enum],
+                            11034   :   [_object_type_info,_property_id_value,_format_short_enum],
+                            11038   :   [_object_type_info,_property_id_value,_format_short_enum],
+                            11069   :   [_object_type_info,_property_id_value,_format_short_enum]}
 
     ##################################################################################################################################
     #                                                       Constructor-Method                                                       #