plantstar-shared 2.0.3.0.2.20__tar.gz → 2.0.3.0.2.22__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/PKG-INFO +5 -5
  2. plantstar_shared-2.0.3.0.2.22/plantstar_shared/HmiKeyConstants.py +12 -0
  3. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/api_types.py +9 -0
  4. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared.egg-info/PKG-INFO +5 -5
  5. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared.egg-info/SOURCES.txt +1 -0
  6. plantstar_shared-2.0.3.0.2.22/plantstar_shared.egg-info/requires.txt +6 -0
  7. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/setup.py +5 -5
  8. plantstar_shared-2.0.3.0.2.20/plantstar_shared.egg-info/requires.txt +0 -6
  9. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/README.md +0 -0
  10. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/DataCollectionModuleProcessNames.py +0 -0
  11. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/HuskyInterfacePacketTypes.py +0 -0
  12. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/MockRawDataProcessor.py +0 -0
  13. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/RawDataProcessorInterfaceActions.py +0 -0
  14. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/SysconType.py +0 -0
  15. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/__init__.py +0 -0
  16. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/add_size_onto_string_and_return.py +0 -0
  17. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/convert_bytes_to_object.py +0 -0
  18. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/convert_object_to_bytes.py +0 -0
  19. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/errors.py +0 -0
  20. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/global_definitions.py +0 -0
  21. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/is_valid_signed_string.py +0 -0
  22. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/obtain_raw_data_processor_function_for_action_name.py +0 -0
  23. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/syscon_image_field.py +0 -0
  24. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/syscon_json.py +0 -0
  25. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared/tcp_socket_utils.py +0 -0
  26. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared.egg-info/dependency_links.txt +0 -0
  27. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/plantstar_shared.egg-info/top_level.txt +0 -0
  28. {plantstar_shared-2.0.3.0.2.20 → plantstar_shared-2.0.3.0.2.22}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plantstar-shared
3
- Version: 2.0.3.0.2.20
3
+ Version: 2.0.3.0.2.22
4
4
  Summary: Shared code used in plantstar_apu and plantstar_dcm
5
5
  Home-page: https://github.com/SYSCON-International/plantstar_shared
6
6
  Author: SYSCON International
@@ -9,11 +9,11 @@ Classifier: Programming Language :: Python :: 3
9
9
  Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Operating System :: OS Independent
11
11
  Description-Content-Type: text/markdown
12
- Requires-Dist: Django>=4.0.4
12
+ Requires-Dist: Django>=4.1.5
13
13
  Requires-Dist: msgpack>=1.0.4
14
- Requires-Dist: psycopg2>=2.9.3
14
+ Requires-Dist: psycopg2>=2.9.9
15
15
  Requires-Dist: python-dateutil>=2.8.2
16
- Requires-Dist: pytz>=2022.1
17
- Requires-Dist: requests>=2.27.1
16
+ Requires-Dist: pytz>=2023.4
17
+ Requires-Dist: requests>=2.31.0
18
18
 
19
19
  # plantstar_shared
@@ -0,0 +1,12 @@
1
+ class HmiKeyConstants:
2
+ APU_IP_ADDRESS = "apu_ip_address"
3
+ HMI_HOSTNAME = "hmi_hostname"
4
+ HMI_HOMEPAGE = "hmi_homepage"
5
+ HMI_IP_ADDRESS_TYPE = "hmi_ip_address_type"
6
+ HMI_IP_ADDRESS = "hmi_ip_address"
7
+ HMI_NETMASK = "hmi_netmask"
8
+ HMI_DEFAULT_GATEWAY = "hmi_default_gateway"
9
+ HMI_DNS = "hmi_dns"
10
+ HMI_LAN_TYPE = "hmi_lan_type"
11
+ HMI_WIRELESS_SSID = "hmi_wireless_ssid"
12
+ HMI_WIRELESS_PASSPHRASE = "hmi_wireless_passphrase"
@@ -97,7 +97,16 @@ class DataCollectionModuleApiTypes(SysconType):
97
97
  class ApuApiTypes(SysconType):
98
98
  SET_IS_INITIALIZING_STATUS = ("data_collection_module_manager/set_is_initializing_status", "data_collection_module_manager/set_is_initializing_status", True)
99
99
  SET_IS_COLDBOOTING_STATUS = ("data_collection_module_manager/set_is_coldbooting_status", "data_collection_module_manager/set_is_coldbooting_status", True)
100
+ REGISTER_HMI = ("data_collection_module_manager/register_hmi", "data_collection_module_manager/register_hmi", True)
101
+ REGISTER_DCM = ("data_collection_module_manager/register_dcm", "data_collection_module_manager/register_dcm", True)
100
102
 
101
103
 
102
104
  class CosmosApiTypes(SysconType):
103
105
  SEND_DATA_DICTIONARY = ("send_data_dictionary", "send_data_dictionary", True)
106
+
107
+
108
+ class HmiApiTypes(SysconType):
109
+ GET_HMI_SYSTEM_INFORMATION = ("get_hmi_system_information", "get_hmi_system_information", True)
110
+ SET_HMI_SYSTEM_INFORMATION = ("set_hmi_system_information", "set_hmi_system_information", True)
111
+ REBOOT_HMI = ("reboot_hmi", "reboot_hmi", True)
112
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plantstar-shared
3
- Version: 2.0.3.0.2.20
3
+ Version: 2.0.3.0.2.22
4
4
  Summary: Shared code used in plantstar_apu and plantstar_dcm
5
5
  Home-page: https://github.com/SYSCON-International/plantstar_shared
6
6
  Author: SYSCON International
@@ -9,11 +9,11 @@ Classifier: Programming Language :: Python :: 3
9
9
  Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Operating System :: OS Independent
11
11
  Description-Content-Type: text/markdown
12
- Requires-Dist: Django>=4.0.4
12
+ Requires-Dist: Django>=4.1.5
13
13
  Requires-Dist: msgpack>=1.0.4
14
- Requires-Dist: psycopg2>=2.9.3
14
+ Requires-Dist: psycopg2>=2.9.9
15
15
  Requires-Dist: python-dateutil>=2.8.2
16
- Requires-Dist: pytz>=2022.1
17
- Requires-Dist: requests>=2.27.1
16
+ Requires-Dist: pytz>=2023.4
17
+ Requires-Dist: requests>=2.31.0
18
18
 
19
19
  # plantstar_shared
@@ -1,6 +1,7 @@
1
1
  README.md
2
2
  setup.py
3
3
  plantstar_shared/DataCollectionModuleProcessNames.py
4
+ plantstar_shared/HmiKeyConstants.py
4
5
  plantstar_shared/HuskyInterfacePacketTypes.py
5
6
  plantstar_shared/MockRawDataProcessor.py
6
7
  plantstar_shared/RawDataProcessorInterfaceActions.py
@@ -0,0 +1,6 @@
1
+ Django>=4.1.5
2
+ msgpack>=1.0.4
3
+ psycopg2>=2.9.9
4
+ python-dateutil>=2.8.2
5
+ pytz>=2023.4
6
+ requests>=2.31.0
@@ -7,7 +7,7 @@ setuptools.setup(
7
7
  name="plantstar-shared",
8
8
  # MAJOR_MILESTONE_VERSION.MINOR_MILESTONE_VERSION.MAJOR_VERSION.MINOR_VERSION.HOTFIX_VERSION.SUBVERSION
9
9
  # The main version should stay as v2.0.3.0.x until we have passed that in the plantstar_apu/plantstar_dcm projects
10
- version="2.0.3.0.2.20",
10
+ version="2.0.3.0.2.22",
11
11
  author="SYSCON International",
12
12
  author_email="dev@syscon-intl.com",
13
13
  description="Shared code used in plantstar_apu and plantstar_dcm",
@@ -22,11 +22,11 @@ setuptools.setup(
22
22
  ],
23
23
  install_requires=[
24
24
  # Make sure to update the requirements.txt to match any changes made to this section
25
- "Django>=4.0.4",
25
+ "Django>=4.1.5",
26
26
  "msgpack>=1.0.4",
27
- "psycopg2>=2.9.3",
27
+ "psycopg2>=2.9.9",
28
28
  "python-dateutil>=2.8.2",
29
- "pytz>=2022.1",
30
- "requests>=2.27.1",
29
+ "pytz>=2023.4",
30
+ "requests>=2.31.0",
31
31
  ]
32
32
  )
@@ -1,6 +0,0 @@
1
- Django>=4.0.4
2
- msgpack>=1.0.4
3
- psycopg2>=2.9.3
4
- python-dateutil>=2.8.2
5
- pytz>=2022.1
6
- requests>=2.27.1