PySimultan 0.5.9.7__py3-none-any.whl → 0.6.0.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. PySimultan2/CHANGELOG.md +4 -0
  2. PySimultan2/__about__.py +1 -1
  3. PySimultan2/data_model.py +3 -3
  4. PySimultan2/default_types.py +39 -8
  5. PySimultan2/files.py +1 -1
  6. PySimultan2/object_mapper.py +2 -0
  7. PySimultan2/resources/BruTile.dll +0 -0
  8. PySimultan2/resources/ComponentBuilder.dll +0 -0
  9. PySimultan2/resources/ComponentBuilder.xml +93 -15
  10. PySimultan2/resources/HelixToolkit.Core.Wpf.dll +0 -0
  11. PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll +0 -0
  12. PySimultan2/resources/HelixToolkit.SharpDX.Core.dll +0 -0
  13. PySimultan2/resources/HelixToolkit.dll +0 -0
  14. PySimultan2/resources/Python.Runtime.dll +0 -0
  15. PySimultan2/resources/SIMULTAN.Lang.dll +0 -0
  16. PySimultan2/resources/SIMULTAN.Lang.xml +62 -1
  17. PySimultan2/resources/SIMULTAN.UI.dll +0 -0
  18. PySimultan2/resources/SIMULTAN.UI.xml +57 -0
  19. PySimultan2/resources/SIMULTAN.dll +0 -0
  20. PySimultan2/resources/SIMULTAN.xml +73 -3
  21. PySimultan2/resources/System.Reflection.MetadataLoadContext.dll +0 -0
  22. PySimultan2/resources/defaultsettings.xml +0 -0
  23. PySimultan2/simultan_object.py +6 -1
  24. PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +616 -0
  25. PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +2538 -0
  26. PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +499 -0
  27. PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +2219 -0
  28. PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +682 -0
  29. PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +1654 -0
  30. PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +442 -0
  31. PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +193 -0
  32. PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +367 -0
  33. PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +116 -0
  34. PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +212 -0
  35. PySimultan2/typings/SIMULTAN/Data/__init__.pyi +232 -0
  36. PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +916 -0
  37. PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +15 -0
  38. PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +268 -0
  39. PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +32 -0
  40. PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +116 -0
  41. PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +433 -0
  42. PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +435 -0
  43. PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +103 -0
  44. PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +122 -0
  45. PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +1335 -0
  46. PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +48 -0
  47. PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +562 -0
  48. PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +11 -0
  49. PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +21 -0
  50. PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +11 -0
  51. PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +112 -0
  52. PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +5 -0
  53. PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +13 -0
  54. PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +54 -0
  55. PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +46 -0
  56. PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +22 -0
  57. PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +32 -0
  58. PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +43 -0
  59. PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +216 -0
  60. PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +66 -0
  61. PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +48 -0
  62. PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +11 -0
  63. PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +59 -0
  64. PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +133 -0
  65. PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +570 -0
  66. PySimultan2/typings/System/Buffers/Binary/__init__.pyi +248 -0
  67. PySimultan2/typings/System/Buffers/Text/__init__.pyi +91 -0
  68. PySimultan2/typings/System/Buffers/__init__.pyi +192 -0
  69. PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +137 -0
  70. PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +47 -0
  71. PySimultan2/typings/System/Collections/Generic/__init__.pyi +1293 -0
  72. PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +166 -0
  73. PySimultan2/typings/System/Collections/Specialized/__init__.pyi +82 -0
  74. PySimultan2/typings/System/Collections/__init__.pyi +403 -0
  75. PySimultan2/typings/System/ComponentModel/__init__.pyi +582 -0
  76. PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +30 -0
  77. PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +315 -0
  78. PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +297 -0
  79. PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +9 -0
  80. PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +641 -0
  81. PySimultan2/typings/System/Diagnostics/__init__.pyi +1101 -0
  82. PySimultan2/typings/System/Globalization/__init__.pyi +1675 -0
  83. PySimultan2/typings/System/IO/Enumeration/__init__.pyi +125 -0
  84. PySimultan2/typings/System/IO/__init__.pyi +2747 -0
  85. PySimultan2/typings/System/Linq/Expressions/__init__.pyi +1815 -0
  86. PySimultan2/typings/System/Net/__init__.pyi +81 -0
  87. PySimultan2/typings/System/Numerics/__init__.pyi +2853 -0
  88. PySimultan2/typings/System/Reflection/Emit/__init__.pyi +1945 -0
  89. PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +24 -0
  90. PySimultan2/typings/System/Reflection/__init__.pyi +2724 -0
  91. PySimultan2/typings/System/Resources/__init__.pyi +205 -0
  92. PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +1926 -0
  93. PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +49 -0
  94. PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +34 -0
  95. PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +758 -0
  96. PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +461 -0
  97. PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +48 -0
  98. PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +2632 -0
  99. PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +4757 -0
  100. PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +844 -0
  101. PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +5642 -0
  102. PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +4504 -0
  103. PySimultan2/typings/System/Runtime/Loader/__init__.pyi +63 -0
  104. PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +7 -0
  105. PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +269 -0
  106. PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +200 -0
  107. PySimultan2/typings/System/Runtime/__init__.pyi +141 -0
  108. PySimultan2/typings/System/Security/Cryptography/__init__.pyi +39 -0
  109. PySimultan2/typings/System/Security/Permissions/__init__.pyi +163 -0
  110. PySimultan2/typings/System/Security/Principal/__init__.pyi +45 -0
  111. PySimultan2/typings/System/Security/__init__.pyi +347 -0
  112. PySimultan2/typings/System/Text/Unicode/__init__.pyi +62 -0
  113. PySimultan2/typings/System/Text/__init__.pyi +1590 -0
  114. PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +76 -0
  115. PySimultan2/typings/System/Threading/Tasks/__init__.pyi +1403 -0
  116. PySimultan2/typings/System/Threading/__init__.pyi +1788 -0
  117. PySimultan2/typings/System/Xml/Schema/__init__.pyi +1255 -0
  118. PySimultan2/typings/System/Xml/Serialization/__init__.pyi +16 -0
  119. PySimultan2/typings/System/Xml/XPath/__init__.pyi +474 -0
  120. PySimultan2/typings/System/Xml/__init__.pyi +2410 -0
  121. PySimultan2/typings/System/__init__.pyi +17821 -0
  122. PySimultan2/utils.py +9 -4
  123. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/METADATA +1 -1
  124. pysimultan-0.6.0.1.dist-info/RECORD +174 -0
  125. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
  126. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -11
  127. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
  128. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +0 -15
  129. PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
  130. PySimultan2/resources/SIMULTAN.Plugins.xml +0 -396
  131. pysimultan-0.5.9.7.dist-info/RECORD +0 -81
  132. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/WHEEL +0 -0
  133. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -0,0 +1,232 @@
1
+ import typing, abc
2
+ from System import Guid, IEquatable_1, DateTime
3
+ from SIMULTAN.Projects import ProjectData
4
+ from System.Collections.ObjectModel import ObservableCollection_1
5
+ from System.ComponentModel import INotifyPropertyChanged
6
+
7
+ class DummyReferenceLocation(IReferenceLocation):
8
+ def __init__(self, globalId: Guid) -> None: ...
9
+ @property
10
+ def GlobalID(self) -> Guid: ...
11
+
12
+
13
+ class GeometricReference(IEquatable_1[GeometricReference]):
14
+ def __init__(self, fileId: int, geometryId: int) -> None: ...
15
+ @classmethod
16
+ @property
17
+ def Empty(cls) -> GeometricReference: ...
18
+ @property
19
+ def FileId(self) -> int: ...
20
+ @FileId.setter
21
+ def FileId(self, value: int) -> int: ...
22
+ @property
23
+ def GeometryId(self) -> int: ...
24
+ @GeometryId.setter
25
+ def GeometryId(self, value: int) -> int: ...
26
+ def GetHashCode(self) -> int: ...
27
+ def __eq__(self, lhs: GeometricReference, rhs: GeometricReference) -> bool: ...
28
+ def __ne__(self, lhs: GeometricReference, rhs: GeometricReference) -> bool: ...
29
+ # Skipped Equals due to it being static, abstract and generic.
30
+
31
+ Equals : Equals_MethodGroup
32
+ class Equals_MethodGroup:
33
+ @typing.overload
34
+ def __call__(self, other: GeometricReference) -> bool:...
35
+ @typing.overload
36
+ def __call__(self, obj: typing.Any) -> bool:...
37
+
38
+
39
+
40
+ class ILocated(typing.Protocol):
41
+ @property
42
+ def CalledFromLocation(self) -> IReferenceLocation: ...
43
+ @abc.abstractmethod
44
+ def SetCallingLocation(self, _calling_location: IReferenceLocation) -> None: ...
45
+
46
+
47
+ class IReference(typing.Protocol):
48
+ @property
49
+ def GlobalID(self) -> Guid: ...
50
+ @property
51
+ def LocalID(self) -> int: ...
52
+
53
+
54
+ class IReferenceLocation(typing.Protocol):
55
+ @property
56
+ def GlobalID(self) -> Guid: ...
57
+
58
+
59
+ class ISimManagedCollection(ILocated, typing.Protocol):
60
+ @property
61
+ def HasChanges(self) -> bool: ...
62
+ @property
63
+ def LastChange(self) -> DateTime: ...
64
+ @property
65
+ def ProjectData(self) -> ProjectData: ...
66
+ @abc.abstractmethod
67
+ def NotifyChanged(self) -> None: ...
68
+
69
+
70
+ class SimId(IEquatable_1[SimId]):
71
+ @typing.overload
72
+ def __init__(self, globalId: Guid, localId: int) -> None: ...
73
+ @typing.overload
74
+ def __init__(self, localId: int) -> None: ...
75
+ @typing.overload
76
+ def __init__(self, location: IReferenceLocation, localId: int) -> None: ...
77
+ @classmethod
78
+ @property
79
+ def Empty(cls) -> SimId: ...
80
+ @property
81
+ def GlobalId(self) -> Guid: ...
82
+ @property
83
+ def LocalId(self) -> int: ...
84
+ @property
85
+ def Location(self) -> IReferenceLocation: ...
86
+ def GetHashCode(self) -> int: ...
87
+ def __eq__(self, lhs: SimId, rhs: SimId) -> bool: ...
88
+ def __ne__(self, lhs: SimId, rhs: SimId) -> bool: ...
89
+ def ToString(self) -> str: ...
90
+ # Skipped Equals due to it being static, abstract and generic.
91
+
92
+ Equals : Equals_MethodGroup
93
+ class Equals_MethodGroup:
94
+ @typing.overload
95
+ def __call__(self, other: SimId) -> bool:...
96
+ @typing.overload
97
+ def __call__(self, obj: typing.Any) -> bool:...
98
+
99
+
100
+
101
+ class SimIdGenerator:
102
+ def __init__(self) -> None: ...
103
+ def NextId(self, simObject: SimObjectNew, globalLocation: IReferenceLocation) -> SimId: ...
104
+ def Remove(self, simObject: SimObjectNew) -> None: ...
105
+ def Reserve(self, simObject: SimObjectNew, id: SimId) -> None: ...
106
+ def Reset(self) -> None: ...
107
+ # Skipped GetById due to it being static, abstract and generic.
108
+
109
+ GetById : GetById_MethodGroup
110
+ class GetById_MethodGroup:
111
+ def __getitem__(self, t:typing.Type[GetById_1_T1]) -> GetById_1[GetById_1_T1]: ...
112
+
113
+ GetById_1_T1 = typing.TypeVar('GetById_1_T1')
114
+ class GetById_1(typing.Generic[GetById_1_T1]):
115
+ GetById_1_T = SimIdGenerator.GetById_MethodGroup.GetById_1_T1
116
+ def __call__(self, id: SimId) -> GetById_1_T:...
117
+
118
+
119
+
120
+
121
+ class SimManagedCollection_GenericClasses(abc.ABCMeta):
122
+ Generic_SimManagedCollection_GenericClasses_SimManagedCollection_1_ItemT = typing.TypeVar('Generic_SimManagedCollection_GenericClasses_SimManagedCollection_1_ItemT')
123
+ def __getitem__(self, types : typing.Type[Generic_SimManagedCollection_GenericClasses_SimManagedCollection_1_ItemT]) -> typing.Type[SimManagedCollection_1[Generic_SimManagedCollection_GenericClasses_SimManagedCollection_1_ItemT]]: ...
124
+
125
+ SimManagedCollection : SimManagedCollection_GenericClasses
126
+
127
+ SimManagedCollection_1_ItemT = typing.TypeVar('SimManagedCollection_1_ItemT')
128
+ class SimManagedCollection_1(typing.Generic[SimManagedCollection_1_ItemT], ObservableCollection_1[SimManagedCollection_1_ItemT], ISimManagedCollection, abc.ABC):
129
+ def __init__(self, owner: ProjectData) -> None: ...
130
+ @property
131
+ def CalledFromLocation(self) -> IReferenceLocation: ...
132
+ @CalledFromLocation.setter
133
+ def CalledFromLocation(self, value: IReferenceLocation) -> IReferenceLocation: ...
134
+ @property
135
+ def Count(self) -> int: ...
136
+ @property
137
+ def HasChanges(self) -> bool: ...
138
+ @HasChanges.setter
139
+ def HasChanges(self, value: bool) -> bool: ...
140
+ @property
141
+ def Item(self) -> SimManagedCollection_1_ItemT: ...
142
+ @Item.setter
143
+ def Item(self, value: SimManagedCollection_1_ItemT) -> SimManagedCollection_1_ItemT: ...
144
+ @property
145
+ def LastChange(self) -> DateTime: ...
146
+ @LastChange.setter
147
+ def LastChange(self, value: DateTime) -> DateTime: ...
148
+ @property
149
+ def ProjectData(self) -> ProjectData: ...
150
+ def NotifyChanged(self) -> None: ...
151
+ def ResetChanges(self) -> None: ...
152
+ def SetCallingLocation(self, callingLocation: IReferenceLocation) -> None: ...
153
+
154
+
155
+ class SimNamedObject_GenericClasses(abc.ABCMeta):
156
+ Generic_SimNamedObject_GenericClasses_SimNamedObject_1_TFactory = typing.TypeVar('Generic_SimNamedObject_GenericClasses_SimNamedObject_1_TFactory')
157
+ def __getitem__(self, types : typing.Type[Generic_SimNamedObject_GenericClasses_SimNamedObject_1_TFactory]) -> typing.Type[SimNamedObject_1[Generic_SimNamedObject_GenericClasses_SimNamedObject_1_TFactory]]: ...
158
+
159
+ SimNamedObject : SimNamedObject_GenericClasses
160
+
161
+ SimNamedObject_1_TFactory = typing.TypeVar('SimNamedObject_1_TFactory')
162
+ class SimNamedObject_1(typing.Generic[SimNamedObject_1_TFactory], SimObjectNew_1[SimNamedObject_1_TFactory]):
163
+ @typing.overload
164
+ def __init__(self) -> None: ...
165
+ @typing.overload
166
+ def __init__(self, id: SimId) -> None: ...
167
+ @property
168
+ def Description(self) -> str: ...
169
+ @Description.setter
170
+ def Description(self, value: str) -> str: ...
171
+ @property
172
+ def Factory(self) -> SimNamedObject_1_TFactory: ...
173
+ @Factory.setter
174
+ def Factory(self, value: SimNamedObject_1_TFactory) -> SimNamedObject_1_TFactory: ...
175
+ @property
176
+ def GlobalID(self) -> Guid: ...
177
+ @property
178
+ def Id(self) -> SimId: ...
179
+ @Id.setter
180
+ def Id(self, value: SimId) -> SimId: ...
181
+ @property
182
+ def LocalID(self) -> int: ...
183
+ @property
184
+ def Name(self) -> str: ...
185
+ @Name.setter
186
+ def Name(self, value: str) -> str: ...
187
+
188
+
189
+ class SimObjectNew_GenericClasses(abc.ABCMeta):
190
+ Generic_SimObjectNew_GenericClasses_SimObjectNew_1_TFactory = typing.TypeVar('Generic_SimObjectNew_GenericClasses_SimObjectNew_1_TFactory')
191
+ def __getitem__(self, types : typing.Type[Generic_SimObjectNew_GenericClasses_SimObjectNew_1_TFactory]) -> typing.Type[SimObjectNew_1[Generic_SimObjectNew_GenericClasses_SimObjectNew_1_TFactory]]: ...
192
+
193
+ class SimObjectNew(SimObjectNew_0, metaclass =SimObjectNew_GenericClasses): ...
194
+
195
+ class SimObjectNew_0(INotifyPropertyChanged, IReference, abc.ABC):
196
+ @property
197
+ def Description(self) -> str: ...
198
+ @Description.setter
199
+ def Description(self, value: str) -> str: ...
200
+ @property
201
+ def GlobalID(self) -> Guid: ...
202
+ @property
203
+ def Id(self) -> SimId: ...
204
+ @Id.setter
205
+ def Id(self, value: SimId) -> SimId: ...
206
+ @property
207
+ def LocalID(self) -> int: ...
208
+
209
+
210
+ SimObjectNew_1_TFactory = typing.TypeVar('SimObjectNew_1_TFactory')
211
+ class SimObjectNew_1(typing.Generic[SimObjectNew_1_TFactory], SimObjectNew_0):
212
+ @typing.overload
213
+ def __init__(self) -> None: ...
214
+ @typing.overload
215
+ def __init__(self, id: SimId) -> None: ...
216
+ @property
217
+ def Description(self) -> str: ...
218
+ @Description.setter
219
+ def Description(self, value: str) -> str: ...
220
+ @property
221
+ def Factory(self) -> SimObjectNew_1_TFactory: ...
222
+ @Factory.setter
223
+ def Factory(self, value: SimObjectNew_1_TFactory) -> SimObjectNew_1_TFactory: ...
224
+ @property
225
+ def GlobalID(self) -> Guid: ...
226
+ @property
227
+ def Id(self) -> SimId: ...
228
+ @Id.setter
229
+ def Id(self, value: SimId) -> SimId: ...
230
+ @property
231
+ def LocalID(self) -> int: ...
232
+