plantstar-shared 2.0.3.0.2.27__tar.gz → 2.0.3.0.2.29__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.27 → plantstar_shared-2.0.3.0.2.29}/PKG-INFO +1 -1
  2. plantstar_shared-2.0.3.0.2.29/plantstar_shared/DataCollectionModuleConstants.py +20 -0
  3. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/api_types.py +2 -0
  4. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/global_definitions.py +5 -0
  5. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared.egg-info/PKG-INFO +1 -1
  6. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared.egg-info/SOURCES.txt +1 -0
  7. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/setup.py +1 -1
  8. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/README.md +0 -0
  9. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/DataCollectionModuleProcessNames.py +0 -0
  10. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/HmiConstants.py +0 -0
  11. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/HuskyInterfacePacketTypes.py +0 -0
  12. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/MockRawDataProcessor.py +0 -0
  13. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/RawDataProcessorInterfaceActions.py +0 -0
  14. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/SysconType.py +0 -0
  15. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/__init__.py +0 -0
  16. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/add_size_onto_string_and_return.py +0 -0
  17. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/convert_bytes_to_object.py +0 -0
  18. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/convert_object_to_bytes.py +0 -0
  19. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/errors.py +0 -0
  20. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/is_valid_signed_string.py +0 -0
  21. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/obtain_raw_data_processor_function_for_action_name.py +0 -0
  22. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/syscon_image_field.py +0 -0
  23. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/syscon_json.py +0 -0
  24. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared/tcp_socket_utils.py +0 -0
  25. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared.egg-info/dependency_links.txt +0 -0
  26. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared.egg-info/requires.txt +0 -0
  27. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/plantstar_shared.egg-info/top_level.txt +0 -0
  28. {plantstar_shared-2.0.3.0.2.27 → plantstar_shared-2.0.3.0.2.29}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plantstar-shared
3
- Version: 2.0.3.0.2.27
3
+ Version: 2.0.3.0.2.29
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
@@ -0,0 +1,20 @@
1
+ class DataCollectionModuleKeyConstants:
2
+ NAME = "name"
3
+ HOSTNAME = "hostname"
4
+ IP = "ip"
5
+ NETMASK = "netmask"
6
+ BROADCAST = "broadcast"
7
+ GATEWAY = "gateway"
8
+ DNS = "dns"
9
+ APU_IP = "apu_ip"
10
+ HOMEPAGE = "homepage"
11
+ RIO_TYPE = "rio_type"
12
+ TOUCH_TYPE = "touch_type"
13
+
14
+ class RioTypes:
15
+ RIO3 = "rtl_rio3"
16
+ RIO4 = "rtl_rio4"
17
+
18
+ class DataCollectionModuleMachineTypes:
19
+ MANO_DCM = "manodcm"
20
+ RPI4_DCM = "rpi4dcm"
@@ -87,6 +87,7 @@ def validate_request(*, api_type, signer_key, data):
87
87
  class DataCollectionModuleApiTypes(SysconType):
88
88
  GET_DATA_COLLECTION_MODULE_SYSTEM_DISK_USAGE = ("get_data_collection_module_system_disk_usage", "get_data_collection_module_system_disk_usage", True)
89
89
  GET_DATA_COLLECTION_MODULE_SYSTEM_INFORMATION = ("get_data_collection_module_system_information", "get_data_collection_module_system_information", True)
90
+ SET_DATA_COLLECTION_MODULE_SYSTEM_INFORMATION = ("set_data_collection_module_system_information", "set_data_collection_module_system_information", True)
90
91
  GET_SYSTEM_ERROR_DICTIONARY_LIST = ("get_system_error_dictionary_list", "get_system_error_dictionary_list", True)
91
92
 
92
93
  GET_DATA_COLLECTION_MODULE_PROCESS_STATUSES = ("get_data_collection_module_process_statuses", "get_data_collection_module_process_statuses", True)
@@ -99,6 +100,7 @@ class ApuApiTypes(SysconType):
99
100
  SET_IS_COLDBOOTING_STATUS = ("data_collection_module_manager/set_is_coldbooting_status", "data_collection_module_manager/set_is_coldbooting_status", True)
100
101
  REGISTER_HMI = ("data_collection_module_manager/register_hmi", "data_collection_module_manager/register_hmi", True)
101
102
  REGISTER_DCM = ("data_collection_module_manager/register_dcm", "data_collection_module_manager/register_dcm", True)
103
+ SEND_TEAMS_MESSAGE = ("base_app/send_teams_message", "base_app/send_teams_message", True)
102
104
 
103
105
 
104
106
  class CosmosApiTypes(SysconType):
@@ -42,3 +42,8 @@ class StatusCodes:
42
42
  @staticmethod
43
43
  def convert_to_json():
44
44
  return convert_to_json(StatusCodes)
45
+
46
+
47
+ class UserTypes:
48
+ DATA_COLLECTION_MODULE_SYSTEM_USER = "DataCollectionModuleSystemUser"
49
+ HUMAN_MACHINE_INTERFACE_SYSTEM_USER = "HumanMachineInterfaceSystemUser"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plantstar-shared
3
- Version: 2.0.3.0.2.27
3
+ Version: 2.0.3.0.2.29
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
@@ -1,5 +1,6 @@
1
1
  README.md
2
2
  setup.py
3
+ plantstar_shared/DataCollectionModuleConstants.py
3
4
  plantstar_shared/DataCollectionModuleProcessNames.py
4
5
  plantstar_shared/HmiConstants.py
5
6
  plantstar_shared/HuskyInterfacePacketTypes.py
@@ -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.27",
10
+ version="2.0.3.0.2.29",
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",