PySimultan 0.5.9.6__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 (134) hide show
  1. PySimultan2/CHANGELOG.md +9 -0
  2. PySimultan2/__about__.py +1 -1
  3. PySimultan2/data_model.py +12 -5
  4. PySimultan2/default_types.py +39 -8
  5. PySimultan2/files.py +1 -1
  6. PySimultan2/object_mapper.py +31 -3
  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/taxonomy_maps.py +45 -27
  25. PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +616 -0
  26. PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +2538 -0
  27. PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +499 -0
  28. PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +2219 -0
  29. PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +682 -0
  30. PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +1654 -0
  31. PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +442 -0
  32. PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +193 -0
  33. PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +367 -0
  34. PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +116 -0
  35. PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +212 -0
  36. PySimultan2/typings/SIMULTAN/Data/__init__.pyi +232 -0
  37. PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +916 -0
  38. PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +15 -0
  39. PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +268 -0
  40. PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +32 -0
  41. PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +116 -0
  42. PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +433 -0
  43. PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +435 -0
  44. PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +103 -0
  45. PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +122 -0
  46. PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +1335 -0
  47. PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +48 -0
  48. PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +562 -0
  49. PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +11 -0
  50. PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +21 -0
  51. PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +11 -0
  52. PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +112 -0
  53. PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +5 -0
  54. PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +13 -0
  55. PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +54 -0
  56. PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +46 -0
  57. PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +22 -0
  58. PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +32 -0
  59. PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +43 -0
  60. PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +216 -0
  61. PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +66 -0
  62. PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +48 -0
  63. PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +11 -0
  64. PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +59 -0
  65. PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +133 -0
  66. PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +570 -0
  67. PySimultan2/typings/System/Buffers/Binary/__init__.pyi +248 -0
  68. PySimultan2/typings/System/Buffers/Text/__init__.pyi +91 -0
  69. PySimultan2/typings/System/Buffers/__init__.pyi +192 -0
  70. PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +137 -0
  71. PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +47 -0
  72. PySimultan2/typings/System/Collections/Generic/__init__.pyi +1293 -0
  73. PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +166 -0
  74. PySimultan2/typings/System/Collections/Specialized/__init__.pyi +82 -0
  75. PySimultan2/typings/System/Collections/__init__.pyi +403 -0
  76. PySimultan2/typings/System/ComponentModel/__init__.pyi +582 -0
  77. PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +30 -0
  78. PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +315 -0
  79. PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +297 -0
  80. PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +9 -0
  81. PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +641 -0
  82. PySimultan2/typings/System/Diagnostics/__init__.pyi +1101 -0
  83. PySimultan2/typings/System/Globalization/__init__.pyi +1675 -0
  84. PySimultan2/typings/System/IO/Enumeration/__init__.pyi +125 -0
  85. PySimultan2/typings/System/IO/__init__.pyi +2747 -0
  86. PySimultan2/typings/System/Linq/Expressions/__init__.pyi +1815 -0
  87. PySimultan2/typings/System/Net/__init__.pyi +81 -0
  88. PySimultan2/typings/System/Numerics/__init__.pyi +2853 -0
  89. PySimultan2/typings/System/Reflection/Emit/__init__.pyi +1945 -0
  90. PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +24 -0
  91. PySimultan2/typings/System/Reflection/__init__.pyi +2724 -0
  92. PySimultan2/typings/System/Resources/__init__.pyi +205 -0
  93. PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +1926 -0
  94. PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +49 -0
  95. PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +34 -0
  96. PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +758 -0
  97. PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +461 -0
  98. PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +48 -0
  99. PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +2632 -0
  100. PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +4757 -0
  101. PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +844 -0
  102. PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +5642 -0
  103. PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +4504 -0
  104. PySimultan2/typings/System/Runtime/Loader/__init__.pyi +63 -0
  105. PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +7 -0
  106. PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +269 -0
  107. PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +200 -0
  108. PySimultan2/typings/System/Runtime/__init__.pyi +141 -0
  109. PySimultan2/typings/System/Security/Cryptography/__init__.pyi +39 -0
  110. PySimultan2/typings/System/Security/Permissions/__init__.pyi +163 -0
  111. PySimultan2/typings/System/Security/Principal/__init__.pyi +45 -0
  112. PySimultan2/typings/System/Security/__init__.pyi +347 -0
  113. PySimultan2/typings/System/Text/Unicode/__init__.pyi +62 -0
  114. PySimultan2/typings/System/Text/__init__.pyi +1590 -0
  115. PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +76 -0
  116. PySimultan2/typings/System/Threading/Tasks/__init__.pyi +1403 -0
  117. PySimultan2/typings/System/Threading/__init__.pyi +1788 -0
  118. PySimultan2/typings/System/Xml/Schema/__init__.pyi +1255 -0
  119. PySimultan2/typings/System/Xml/Serialization/__init__.pyi +16 -0
  120. PySimultan2/typings/System/Xml/XPath/__init__.pyi +474 -0
  121. PySimultan2/typings/System/Xml/__init__.pyi +2410 -0
  122. PySimultan2/typings/System/__init__.pyi +17821 -0
  123. PySimultan2/utils.py +10 -5
  124. {pysimultan-0.5.9.6.dist-info → pysimultan-0.6.0.1.dist-info}/METADATA +5 -1
  125. pysimultan-0.6.0.1.dist-info/RECORD +174 -0
  126. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
  127. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -11
  128. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
  129. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +0 -15
  130. PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
  131. PySimultan2/resources/SIMULTAN.Plugins.xml +0 -396
  132. pysimultan-0.5.9.6.dist-info/RECORD +0 -81
  133. {pysimultan-0.5.9.6.dist-info → pysimultan-0.6.0.1.dist-info}/WHEEL +0 -0
  134. {pysimultan-0.5.9.6.dist-info → pysimultan-0.6.0.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -0,0 +1,367 @@
1
+ import typing, abc
2
+ from System import Exception, Guid, DateTime, IComparable, IComparable_1, ICloneable, IEquatable_1
3
+ from System.Collections import IDictionary
4
+ from System.Reflection import MethodBase
5
+ from System.Collections.ObjectModel import ObservableCollection_1, ReadOnlyDictionary_2
6
+ from SIMULTAN.Data import SimId, SimObjectNew_1, SimManagedCollection_1, IReferenceLocation
7
+ from System.Globalization import CultureInfo
8
+ from System.Collections.Generic import IEnumerable_1, Dictionary_2
9
+ from SIMULTAN.Projects import ProjectData
10
+
11
+ class DeleteActionAlreadyRegisteredException(Exception):
12
+ def __init__(self, message: str, innerException: Exception) -> None: ...
13
+ @property
14
+ def Data(self) -> IDictionary: ...
15
+ @property
16
+ def HelpLink(self) -> str: ...
17
+ @HelpLink.setter
18
+ def HelpLink(self, value: str) -> str: ...
19
+ @property
20
+ def HResult(self) -> int: ...
21
+ @HResult.setter
22
+ def HResult(self, value: int) -> int: ...
23
+ @property
24
+ def InnerException(self) -> Exception: ...
25
+ @property
26
+ def Message(self) -> str: ...
27
+ @property
28
+ def Source(self) -> str: ...
29
+ @Source.setter
30
+ def Source(self, value: str) -> str: ...
31
+ @property
32
+ def StackTrace(self) -> str: ...
33
+ @property
34
+ def TargetSite(self) -> MethodBase: ...
35
+
36
+
37
+ class ISimTaxonomyElement(typing.Protocol):
38
+ @property
39
+ def Taxonomy(self) -> SimTaxonomy: ...
40
+ @abc.abstractmethod
41
+ def NotifyLocalizationChanged(self) -> None: ...
42
+
43
+
44
+ class SimChildTaxonomyEntryCollection(ObservableCollection_1[SimTaxonomyEntry]):
45
+ def __init__(self, owner: SimTaxonomyEntry) -> None: ...
46
+ @property
47
+ def Count(self) -> int: ...
48
+ @property
49
+ def Item(self) -> SimTaxonomyEntry: ...
50
+ @Item.setter
51
+ def Item(self, value: SimTaxonomyEntry) -> SimTaxonomyEntry: ...
52
+
53
+
54
+ class SimPlaceholderTaxonomyEntryReference(SimTaxonomyEntryReference):
55
+ def __init__(self, placeholderName: str) -> None: ...
56
+ @property
57
+ def PlaceholderName(self) -> str: ...
58
+ @property
59
+ def Target(self) -> SimTaxonomyEntry: ...
60
+ @property
61
+ def TaxonomyEntryId(self) -> SimId: ...
62
+
63
+
64
+ class SimTaxonomy(SimObjectNew_1[SimTaxonomyCollection], ISimTaxonomyElement):
65
+ @typing.overload
66
+ def __init__(self) -> None: ...
67
+ @typing.overload
68
+ def __init__(self, id: SimId) -> None: ...
69
+ @typing.overload
70
+ def __init__(self, key: str, name: str, description: str, culture: CultureInfo = ...) -> None: ...
71
+ @typing.overload
72
+ def __init__(self, name: str, description: str = ..., culture: CultureInfo = ...) -> None: ...
73
+ @property
74
+ def Description(self) -> str: ...
75
+ @Description.setter
76
+ def Description(self, value: str) -> str: ...
77
+ @property
78
+ def Entries(self) -> SimTaxonomyEntryCollection: ...
79
+ @property
80
+ def Factory(self) -> SimTaxonomyCollection: ...
81
+ @Factory.setter
82
+ def Factory(self, value: SimTaxonomyCollection) -> SimTaxonomyCollection: ...
83
+ @property
84
+ def GlobalID(self) -> Guid: ...
85
+ @property
86
+ def Id(self) -> SimId: ...
87
+ @Id.setter
88
+ def Id(self, value: SimId) -> SimId: ...
89
+ @property
90
+ def IsDeletable(self) -> bool: ...
91
+ @IsDeletable.setter
92
+ def IsDeletable(self, value: bool) -> bool: ...
93
+ @property
94
+ def IsReadonly(self) -> bool: ...
95
+ @IsReadonly.setter
96
+ def IsReadonly(self, value: bool) -> bool: ...
97
+ @property
98
+ def Key(self) -> str: ...
99
+ @Key.setter
100
+ def Key(self, value: str) -> str: ...
101
+ @property
102
+ def Languages(self) -> SimTaxonomyLanguageCollection: ...
103
+ @property
104
+ def LocalID(self) -> int: ...
105
+ @property
106
+ def Localization(self) -> SimTaxonomyLocalization: ...
107
+ @property
108
+ def Taxonomy(self) -> SimTaxonomy: ...
109
+ def GetAllEntriesFlat(self) -> IEnumerable_1[SimTaxonomyEntry]: ...
110
+ def GetTaxonomyEntryByKey(self, key: str) -> SimTaxonomyEntry: ...
111
+ def IsIdentical(self, other: SimTaxonomy) -> bool: ...
112
+ def IsKeyInUse(self, key: str) -> bool: ...
113
+ def NotifyLocalizationChanged(self) -> None: ...
114
+
115
+
116
+ class SimTaxonomyCollection(SimManagedCollection_1[SimTaxonomy]):
117
+ def __init__(self, owner: ProjectData) -> None: ...
118
+ @property
119
+ def CalledFromLocation(self) -> IReferenceLocation: ...
120
+ @property
121
+ def Count(self) -> int: ...
122
+ @property
123
+ def HasChanges(self) -> bool: ...
124
+ @property
125
+ def IsClosing(self) -> bool: ...
126
+ @IsClosing.setter
127
+ def IsClosing(self, value: bool) -> bool: ...
128
+ @property
129
+ def IsLoading(self) -> bool: ...
130
+ @IsLoading.setter
131
+ def IsLoading(self, value: bool) -> bool: ...
132
+ @property
133
+ def IsMergeInProgress(self) -> bool: ...
134
+ @IsMergeInProgress.setter
135
+ def IsMergeInProgress(self, value: bool) -> bool: ...
136
+ @property
137
+ def Item(self) -> SimTaxonomy: ...
138
+ @Item.setter
139
+ def Item(self, value: SimTaxonomy) -> SimTaxonomy: ...
140
+ @property
141
+ def LastChange(self) -> DateTime: ...
142
+ @property
143
+ def ProjectData(self) -> ProjectData: ...
144
+ def FindEntry(self, taxonomyKey: str, entryKey: str, isReadonly: bool = ...) -> SimTaxonomyEntry: ...
145
+ def Merge(self, other: SimTaxonomyCollection) -> Dictionary_2[SimTaxonomy, SimTaxonomy]: ...
146
+ def MergeWithDefaults(self, defaults: SimTaxonomyCollection) -> bool: ...
147
+ def StartLoading(self) -> None: ...
148
+ def StopLoading(self) -> None: ...
149
+ # Skipped GetTaxonomyByKeyOrName due to it being static, abstract and generic.
150
+
151
+ GetTaxonomyByKeyOrName : GetTaxonomyByKeyOrName_MethodGroup
152
+ class GetTaxonomyByKeyOrName_MethodGroup:
153
+ @typing.overload
154
+ def __call__(self, key: str, name: str = ..., culture: CultureInfo = ...) -> SimTaxonomy:...
155
+ @typing.overload
156
+ def __call__(self, taxonomies: IEnumerable_1[SimTaxonomy], key: str, name: str = ..., culture: CultureInfo = ...) -> SimTaxonomy:...
157
+
158
+
159
+
160
+ class SimTaxonomyEntry(SimObjectNew_1[SimTaxonomyCollection], IComparable, IComparable_1[SimTaxonomyEntry], ISimTaxonomyElement):
161
+ @typing.overload
162
+ def __init__(self, id: SimId, key: str) -> None: ...
163
+ @typing.overload
164
+ def __init__(self, id: SimId, key: str, name: str, description: str = ..., culture: CultureInfo = ...) -> None: ...
165
+ @typing.overload
166
+ def __init__(self, key: str) -> None: ...
167
+ @typing.overload
168
+ def __init__(self, key: str, name: str, description: str = ..., culture: CultureInfo = ...) -> None: ...
169
+ @property
170
+ def Children(self) -> SimChildTaxonomyEntryCollection: ...
171
+ @property
172
+ def Description(self) -> str: ...
173
+ @Description.setter
174
+ def Description(self, value: str) -> str: ...
175
+ @property
176
+ def Factory(self) -> SimTaxonomyCollection: ...
177
+ @Factory.setter
178
+ def Factory(self, value: SimTaxonomyCollection) -> SimTaxonomyCollection: ...
179
+ @property
180
+ def GlobalID(self) -> Guid: ...
181
+ @property
182
+ def Id(self) -> SimId: ...
183
+ @Id.setter
184
+ def Id(self, value: SimId) -> SimId: ...
185
+ @property
186
+ def Key(self) -> str: ...
187
+ @Key.setter
188
+ def Key(self, value: str) -> str: ...
189
+ @property
190
+ def LocalID(self) -> int: ...
191
+ @property
192
+ def Localization(self) -> SimTaxonomyLocalization: ...
193
+ @property
194
+ def Parent(self) -> SimTaxonomyEntry: ...
195
+ @Parent.setter
196
+ def Parent(self, value: SimTaxonomyEntry) -> SimTaxonomyEntry: ...
197
+ @property
198
+ def Taxonomy(self) -> SimTaxonomy: ...
199
+ @Taxonomy.setter
200
+ def Taxonomy(self, value: SimTaxonomy) -> SimTaxonomy: ...
201
+ def Matches(self, taxonomyKey: str, entryKey: str) -> bool: ...
202
+ def NotifyLocalizationChanged(self) -> None: ...
203
+ def OnIsBeingDeleted(self) -> None: ...
204
+ # Skipped CompareTo due to it being static, abstract and generic.
205
+
206
+ CompareTo : CompareTo_MethodGroup
207
+ class CompareTo_MethodGroup:
208
+ @typing.overload
209
+ def __call__(self, other: SimTaxonomyEntry) -> int:...
210
+ @typing.overload
211
+ def __call__(self, obj: typing.Any) -> int:...
212
+
213
+
214
+
215
+ class SimTaxonomyEntryCollection(ObservableCollection_1[SimTaxonomyEntry]):
216
+ def __init__(self, owner: SimTaxonomy) -> None: ...
217
+ @property
218
+ def Count(self) -> int: ...
219
+ @property
220
+ def Item(self) -> SimTaxonomyEntry: ...
221
+ @Item.setter
222
+ def Item(self, value: SimTaxonomyEntry) -> SimTaxonomyEntry: ...
223
+
224
+
225
+ class SimTaxonomyEntryOrString:
226
+ @typing.overload
227
+ def __init__(self, original: SimTaxonomyEntryOrString) -> None: ...
228
+ @typing.overload
229
+ def __init__(self, taxonomyEntry: SimTaxonomyEntry) -> None: ...
230
+ @typing.overload
231
+ def __init__(self, taxonomyEntry: SimTaxonomyEntryReference) -> None: ...
232
+ @typing.overload
233
+ def __init__(self, text: str) -> None: ...
234
+ @property
235
+ def HasTaxonomyEntry(self) -> bool: ...
236
+ @property
237
+ def HasTaxonomyEntryReference(self) -> bool: ...
238
+ @property
239
+ def TaxonomyEntryReference(self) -> SimTaxonomyEntryReference: ...
240
+ @property
241
+ def Text(self) -> str: ...
242
+ @property
243
+ def TextOrKey(self) -> str: ...
244
+ def GetHashCode(self) -> int: ...
245
+ # Skipped Equals due to it being static, abstract and generic.
246
+
247
+ Equals : Equals_MethodGroup
248
+ class Equals_MethodGroup:
249
+ @typing.overload
250
+ def __call__(self, other: SimTaxonomyEntryOrString) -> bool:...
251
+ @typing.overload
252
+ def __call__(self, obj: typing.Any) -> bool:...
253
+
254
+
255
+
256
+ class SimTaxonomyEntryReference(ICloneable, IEquatable_1[SimTaxonomyEntryReference], IComparable_1[SimTaxonomyEntryReference]):
257
+ @typing.overload
258
+ def __init__(self, other: SimTaxonomyEntryReference) -> None: ...
259
+ @typing.overload
260
+ def __init__(self, target: SimTaxonomyEntry) -> None: ...
261
+ @property
262
+ def Target(self) -> SimTaxonomyEntry: ...
263
+ @property
264
+ def TaxonomyEntryId(self) -> SimId: ...
265
+ def Clone(self) -> typing.Any: ...
266
+ def CompareTo(self, other: SimTaxonomyEntryReference) -> int: ...
267
+ def GetHashCode(self) -> int: ...
268
+ def Matches(self, taxonomyKey: str, entryKey: str) -> bool: ...
269
+ def __eq__(self, a: SimTaxonomyEntryReference, b: SimTaxonomyEntryReference) -> bool: ...
270
+ def __ne__(self, a: SimTaxonomyEntryReference, b: SimTaxonomyEntryReference) -> bool: ...
271
+ # Skipped Equals due to it being static, abstract and generic.
272
+
273
+ Equals : Equals_MethodGroup
274
+ class Equals_MethodGroup:
275
+ @typing.overload
276
+ def __call__(self, other: SimTaxonomyEntryReference) -> bool:...
277
+ @typing.overload
278
+ def __call__(self, obj: typing.Any) -> bool:...
279
+
280
+
281
+
282
+ class SimTaxonomyEntryReferenceCollection(ObservableCollection_1[SimTaxonomyEntryReference]):
283
+ @typing.overload
284
+ def __init__(self) -> None: ...
285
+ @typing.overload
286
+ def __init__(self, collection: IEnumerable_1[SimTaxonomyEntryReference]) -> None: ...
287
+ @property
288
+ def Count(self) -> int: ...
289
+ @property
290
+ def Item(self) -> SimTaxonomyEntryReference: ...
291
+ @Item.setter
292
+ def Item(self, value: SimTaxonomyEntryReference) -> SimTaxonomyEntryReference: ...
293
+ def RestoreDefaultTaxonomyReferences(self, projectData: ProjectData) -> None: ...
294
+
295
+
296
+ class SimTaxonomyLanguageCollection(ObservableCollection_1[CultureInfo]):
297
+ def __init__(self, owner: SimTaxonomy) -> None: ...
298
+ @property
299
+ def Count(self) -> int: ...
300
+ @property
301
+ def Item(self) -> CultureInfo: ...
302
+ @Item.setter
303
+ def Item(self, value: CultureInfo) -> CultureInfo: ...
304
+
305
+
306
+ class SimTaxonomyLocalization:
307
+ def __init__(self, owner: ISimTaxonomyElement) -> None: ...
308
+ @property
309
+ def Entries(self) -> ReadOnlyDictionary_2[CultureInfo, SimTaxonomyLocalizationEntry]: ...
310
+ def IsIdenticalTo(self, other: SimTaxonomyLocalization) -> bool: ...
311
+ def Localize(self, culture: CultureInfo = ...) -> SimTaxonomyLocalizationEntry: ...
312
+ # Skipped SetLanguage due to it being static, abstract and generic.
313
+
314
+ SetLanguage : SetLanguage_MethodGroup
315
+ class SetLanguage_MethodGroup:
316
+ @typing.overload
317
+ def __call__(self, entry: SimTaxonomyLocalizationEntry) -> None:...
318
+ @typing.overload
319
+ def __call__(self, culture: CultureInfo, name: str, description: str) -> None:...
320
+
321
+
322
+
323
+ class SimTaxonomyLocalizationEntry:
324
+ def __init__(self, culture: CultureInfo, name: str = ..., description: str = ...) -> None: ...
325
+ @property
326
+ def Culture(self) -> CultureInfo: ...
327
+ @property
328
+ def Description(self) -> str: ...
329
+ @property
330
+ def IsValid(self) -> bool: ...
331
+ @property
332
+ def Name(self) -> str: ...
333
+ def Equals(self, obj: typing.Any) -> bool: ...
334
+ def GetHashCode(self) -> int: ...
335
+ def ToString(self) -> str: ...
336
+
337
+
338
+ class TaxonomyEntryNotFoundException(Exception):
339
+ @typing.overload
340
+ def __init__(self) -> None: ...
341
+ @typing.overload
342
+ def __init__(self, message: str) -> None: ...
343
+ @typing.overload
344
+ def __init__(self, message: str, innerException: Exception) -> None: ...
345
+ @property
346
+ def Data(self) -> IDictionary: ...
347
+ @property
348
+ def HelpLink(self) -> str: ...
349
+ @HelpLink.setter
350
+ def HelpLink(self, value: str) -> str: ...
351
+ @property
352
+ def HResult(self) -> int: ...
353
+ @HResult.setter
354
+ def HResult(self, value: int) -> int: ...
355
+ @property
356
+ def InnerException(self) -> Exception: ...
357
+ @property
358
+ def Message(self) -> str: ...
359
+ @property
360
+ def Source(self) -> str: ...
361
+ @Source.setter
362
+ def Source(self, value: str) -> str: ...
363
+ @property
364
+ def StackTrace(self) -> str: ...
365
+ @property
366
+ def TargetSite(self) -> MethodBase: ...
367
+
@@ -0,0 +1,116 @@
1
+ import typing, abc
2
+ from System.IO import FileInfo
3
+ from System.ComponentModel import INotifyPropertyChanged
4
+ from System import Guid, Array_1, ValueTuple_2
5
+ from System.Security import SecureString
6
+ from System.Collections.ObjectModel import ObservableCollection_1
7
+
8
+ class IAuthenticationService(typing.Protocol):
9
+ @abc.abstractmethod
10
+ def Authenticate(self, userManager: SimUsersManager, projectFile: FileInfo) -> SimUser: ...
11
+
12
+
13
+ class SimUser(INotifyPropertyChanged):
14
+ def __init__(self, id: Guid, name: str, passwordHash: Array_1[int], encryptedEncryptionKey: Array_1[int], role: SimUserRole) -> None: ...
15
+ @classmethod
16
+ @property
17
+ def DefaultUser(cls) -> SimUser: ...
18
+ @classmethod
19
+ @property
20
+ def DefaultUserPassword(cls) -> SecureString: ...
21
+ @property
22
+ def EncryptedEncryptionKey(self) -> Array_1[int]: ...
23
+ @EncryptedEncryptionKey.setter
24
+ def EncryptedEncryptionKey(self, value: Array_1[int]) -> Array_1[int]: ...
25
+ @property
26
+ def Id(self) -> Guid: ...
27
+ @Id.setter
28
+ def Id(self, value: Guid) -> Guid: ...
29
+ @property
30
+ def Name(self) -> str: ...
31
+ @Name.setter
32
+ def Name(self, value: str) -> str: ...
33
+ @property
34
+ def PasswordHash(self) -> Array_1[int]: ...
35
+ @PasswordHash.setter
36
+ def PasswordHash(self, value: Array_1[int]) -> Array_1[int]: ...
37
+ @property
38
+ def Role(self) -> SimUserRole: ...
39
+ @Role.setter
40
+ def Role(self, value: SimUserRole) -> SimUserRole: ...
41
+
42
+
43
+ class SimUserRole(typing.SupportsInt):
44
+ @typing.overload
45
+ def __init__(self, value : int) -> None: ...
46
+ @typing.overload
47
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
48
+ def __int__(self) -> int: ...
49
+
50
+ # Values:
51
+ ADMINISTRATOR : SimUserRole # 0
52
+ MODERATOR : SimUserRole # 1
53
+ ENERGY_NETWORK_OPERATOR : SimUserRole # 2
54
+ ENERGY_SUPPLIER : SimUserRole # 3
55
+ BUILDING_DEVELOPER : SimUserRole # 4
56
+ BUILDING_OPERATOR : SimUserRole # 5
57
+ ARCHITECTURE : SimUserRole # 6
58
+ FIRE_SAFETY : SimUserRole # 7
59
+ BUILDING_PHYSICS : SimUserRole # 8
60
+ MEP_HVAC : SimUserRole # 9
61
+ PROCESS_MEASURING_CONTROL : SimUserRole # 10
62
+ BUILDING_CONTRACTOR : SimUserRole # 11
63
+ GUEST : SimUserRole # 12
64
+
65
+
66
+ class SimUsersManager(INotifyPropertyChanged):
67
+ def __init__(self) -> None: ...
68
+ @property
69
+ def CurrentUser(self) -> SimUser: ...
70
+ @CurrentUser.setter
71
+ def CurrentUser(self, value: SimUser) -> SimUser: ...
72
+ @property
73
+ def EncryptionKey(self) -> Array_1[int]: ...
74
+ @EncryptionKey.setter
75
+ def EncryptionKey(self, value: Array_1[int]) -> Array_1[int]: ...
76
+ @property
77
+ def Users(self) -> ObservableCollection_1[SimUser]: ...
78
+ @Users.setter
79
+ def Users(self, value: ObservableCollection_1[SimUser]) -> ObservableCollection_1[SimUser]: ...
80
+ def Clear(self) -> None: ...
81
+ @staticmethod
82
+ def DecryptEncryptionKey(encryptedKey: Array_1[int], password: Array_1[int]) -> Array_1[int]: ...
83
+ def DecryptUserSecret(self, encryptedSecret: str) -> ValueTuple_2[str, bool]: ...
84
+ def EncryptUserSecret(self, secret: str) -> str: ...
85
+ # Skipped Authenticate due to it being static, abstract and generic.
86
+
87
+ Authenticate : Authenticate_MethodGroup
88
+ class Authenticate_MethodGroup:
89
+ @typing.overload
90
+ def __call__(self, name: str, password: SecureString) -> ValueTuple_2[SimUser, Array_1[int]]:...
91
+ @typing.overload
92
+ def __call__(self, user: SimUser, password: SecureString) -> bool:...
93
+ @typing.overload
94
+ def __call__(self, name: str, password: Array_1[int], isHashedPassword: bool = ...) -> SimUser:...
95
+ @typing.overload
96
+ def __call__(self, user: SimUser, password: Array_1[int], isHashedPassword: bool = ...) -> bool:...
97
+
98
+ # Skipped EncryptEncryptionKey due to it being static, abstract and generic.
99
+
100
+ EncryptEncryptionKey : EncryptEncryptionKey_MethodGroup
101
+ class EncryptEncryptionKey_MethodGroup:
102
+ @typing.overload
103
+ def __call__(self, unencryptedKey: Array_1[int], password: Array_1[int]) -> Array_1[int]:...
104
+ @typing.overload
105
+ def __call__(self, unencryptedKey: Array_1[int], password: SecureString) -> Array_1[int]:...
106
+
107
+ # Skipped HashPassword due to it being static, abstract and generic.
108
+
109
+ HashPassword : HashPassword_MethodGroup
110
+ class HashPassword_MethodGroup:
111
+ @typing.overload
112
+ def __call__(self, password: Array_1[int]) -> Array_1[int]:...
113
+ @typing.overload
114
+ def __call__(self, password: SecureString) -> Array_1[int]:...
115
+
116
+
@@ -0,0 +1,212 @@
1
+ import typing, abc
2
+ from SIMULTAN.Data.SimMath import SimColor
3
+ from System.Collections.Generic import IEnumerable_1
4
+ from System.ComponentModel import INotifyPropertyChanged
5
+ from System.Collections.ObjectModel import ObservableCollection_1
6
+ from SIMULTAN.Data import SimNamedObject_1, SimId, SimManagedCollection_1, IReferenceLocation
7
+ from SIMULTAN.Data.MultiValues import SimMultiValueBigTable
8
+ from System import Guid, MulticastDelegate, IAsyncResult, AsyncCallback, DateTime
9
+ from System.Reflection import MethodInfo
10
+ from SIMULTAN.Projects import ProjectData
11
+
12
+ class DefaultColorMappingColors:
13
+ def __init__(self) -> None: ...
14
+ BaseLightingFactor : float
15
+ NotParameterizedColor : SimColor
16
+ OutOfRangeColor : SimColor
17
+
18
+
19
+ class SimAveragePrefilter(SimPrefilter):
20
+ def __init__(self) -> None: ...
21
+ @property
22
+ def Owner(self) -> SimValueMapping: ...
23
+ @Owner.setter
24
+ def Owner(self, value: SimValueMapping) -> SimValueMapping: ...
25
+ def Filter(self, values: IEnumerable_1[float], timelineCurrentIndex: int) -> IEnumerable_1[float]: ...
26
+
27
+
28
+ class SimColorMap(abc.ABC):
29
+ @property
30
+ def Owner(self) -> SimValueMapping: ...
31
+ @Owner.setter
32
+ def Owner(self, value: SimValueMapping) -> SimValueMapping: ...
33
+ @abc.abstractmethod
34
+ def Map(self, value: float) -> SimColor: ...
35
+
36
+
37
+ class SimColorMarker(INotifyPropertyChanged):
38
+ def __init__(self, value: float, color: SimColor) -> None: ...
39
+ @property
40
+ def Color(self) -> SimColor: ...
41
+ @Color.setter
42
+ def Color(self, value: SimColor) -> SimColor: ...
43
+ @property
44
+ def Value(self) -> float: ...
45
+ @Value.setter
46
+ def Value(self, value: float) -> float: ...
47
+
48
+
49
+ class SimColorMarkerCollection(ObservableCollection_1[SimColorMarker]):
50
+ @typing.overload
51
+ def __init__(self, owner: SimColorMap) -> None: ...
52
+ @typing.overload
53
+ def __init__(self, owner: SimColorMap, marker: IEnumerable_1[SimColorMarker]) -> None: ...
54
+ @property
55
+ def Count(self) -> int: ...
56
+ @property
57
+ def Item(self) -> SimColorMarker: ...
58
+ @Item.setter
59
+ def Item(self, value: SimColorMarker) -> SimColorMarker: ...
60
+ @property
61
+ def Owner(self) -> SimColorMap: ...
62
+
63
+
64
+ class SimComponentIndexUsage(typing.SupportsInt):
65
+ @typing.overload
66
+ def __init__(self, value : int) -> None: ...
67
+ @typing.overload
68
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
69
+ def __int__(self) -> int: ...
70
+
71
+ # Values:
72
+ Row : SimComponentIndexUsage # 0
73
+ Column : SimComponentIndexUsage # 1
74
+
75
+
76
+ class SimDefaultPrefilter(SimPrefilter):
77
+ def __init__(self) -> None: ...
78
+ @property
79
+ def Owner(self) -> SimValueMapping: ...
80
+ @Owner.setter
81
+ def Owner(self, value: SimValueMapping) -> SimValueMapping: ...
82
+ def Filter(self, values: IEnumerable_1[float], timelineCurrentIndex: int) -> IEnumerable_1[float]: ...
83
+
84
+
85
+ class SimLinearGradientColorMap(SimColorMap):
86
+ @typing.overload
87
+ def __init__(self) -> None: ...
88
+ @typing.overload
89
+ def __init__(self, marker: IEnumerable_1[SimColorMarker]) -> None: ...
90
+ @property
91
+ def ColorMarkers(self) -> SimColorMarkerCollection: ...
92
+ @property
93
+ def Owner(self) -> SimValueMapping: ...
94
+ @Owner.setter
95
+ def Owner(self, value: SimValueMapping) -> SimValueMapping: ...
96
+ @staticmethod
97
+ def Lerp(a: SimColorMarker, b: SimColorMarker, val: float) -> SimColor: ...
98
+ def Map(self, value: float) -> SimColor: ...
99
+
100
+
101
+ class SimMaximumPrefilter(SimPrefilter):
102
+ def __init__(self) -> None: ...
103
+ @property
104
+ def Owner(self) -> SimValueMapping: ...
105
+ @Owner.setter
106
+ def Owner(self, value: SimValueMapping) -> SimValueMapping: ...
107
+ def Filter(self, values: IEnumerable_1[float], timelineCurrentIndex: int) -> IEnumerable_1[float]: ...
108
+
109
+
110
+ class SimMinimumPrefilter(SimPrefilter):
111
+ def __init__(self) -> None: ...
112
+ @property
113
+ def Owner(self) -> SimValueMapping: ...
114
+ @Owner.setter
115
+ def Owner(self, value: SimValueMapping) -> SimValueMapping: ...
116
+ def Filter(self, values: IEnumerable_1[float], timelineCurrentIndex: int) -> IEnumerable_1[float]: ...
117
+
118
+
119
+ class SimPrefilter(abc.ABC):
120
+ @property
121
+ def Owner(self) -> SimValueMapping: ...
122
+ @Owner.setter
123
+ def Owner(self, value: SimValueMapping) -> SimValueMapping: ...
124
+ @abc.abstractmethod
125
+ def Filter(self, values: IEnumerable_1[float], timelineCurrentIndex: int) -> IEnumerable_1[float]: ...
126
+
127
+
128
+ class SimThresholdColorMap(SimColorMap):
129
+ @typing.overload
130
+ def __init__(self) -> None: ...
131
+ @typing.overload
132
+ def __init__(self, marker: IEnumerable_1[SimColorMarker]) -> None: ...
133
+ @property
134
+ def ColorMarkers(self) -> SimColorMarkerCollection: ...
135
+ @property
136
+ def Owner(self) -> SimValueMapping: ...
137
+ @Owner.setter
138
+ def Owner(self, value: SimValueMapping) -> SimValueMapping: ...
139
+ def Map(self, value: float) -> SimColor: ...
140
+
141
+
142
+ class SimValueMapping(SimNamedObject_1[SimValueMappingCollection]):
143
+ def __init__(self, name: str, table: SimMultiValueBigTable, prefilter: SimPrefilter, colorMap: SimColorMap) -> None: ...
144
+ @property
145
+ def ColorMap(self) -> SimColorMap: ...
146
+ @ColorMap.setter
147
+ def ColorMap(self, value: SimColorMap) -> SimColorMap: ...
148
+ @property
149
+ def ComponentIndexUsage(self) -> SimComponentIndexUsage: ...
150
+ @ComponentIndexUsage.setter
151
+ def ComponentIndexUsage(self, value: SimComponentIndexUsage) -> SimComponentIndexUsage: ...
152
+ @property
153
+ def Description(self) -> str: ...
154
+ @Description.setter
155
+ def Description(self, value: str) -> str: ...
156
+ @property
157
+ def Factory(self) -> SimValueMappingCollection: ...
158
+ @Factory.setter
159
+ def Factory(self, value: SimValueMappingCollection) -> SimValueMappingCollection: ...
160
+ @property
161
+ def GlobalID(self) -> Guid: ...
162
+ @property
163
+ def Id(self) -> SimId: ...
164
+ @Id.setter
165
+ def Id(self, value: SimId) -> SimId: ...
166
+ @property
167
+ def LocalID(self) -> int: ...
168
+ @property
169
+ def Name(self) -> str: ...
170
+ @Name.setter
171
+ def Name(self, value: str) -> str: ...
172
+ @property
173
+ def Prefilter(self) -> SimPrefilter: ...
174
+ @Prefilter.setter
175
+ def Prefilter(self, value: SimPrefilter) -> SimPrefilter: ...
176
+ @property
177
+ def Table(self) -> SimMultiValueBigTable: ...
178
+ @Table.setter
179
+ def Table(self, value: SimMultiValueBigTable) -> SimMultiValueBigTable: ...
180
+ def ApplyMapping(self, objectIndex: int, timelineIndex: int) -> SimColor: ...
181
+
182
+ class ValueMappingChangedEventHandler(MulticastDelegate):
183
+ def __init__(self, object: typing.Any, method: int) -> None: ...
184
+ @property
185
+ def Method(self) -> MethodInfo: ...
186
+ @property
187
+ def Target(self) -> typing.Any: ...
188
+ def BeginInvoke(self, sender: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
189
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
190
+ def Invoke(self, sender: typing.Any) -> None: ...
191
+
192
+
193
+
194
+ class SimValueMappingCollection(SimManagedCollection_1[SimValueMapping]):
195
+ def __init__(self, projectData: ProjectData) -> None: ...
196
+ @property
197
+ def CalledFromLocation(self) -> IReferenceLocation: ...
198
+ @property
199
+ def Count(self) -> int: ...
200
+ @property
201
+ def HasChanges(self) -> bool: ...
202
+ @property
203
+ def Item(self) -> SimValueMapping: ...
204
+ @Item.setter
205
+ def Item(self, value: SimValueMapping) -> SimValueMapping: ...
206
+ @property
207
+ def LastChange(self) -> DateTime: ...
208
+ @property
209
+ def ProjectData(self) -> ProjectData: ...
210
+ def EndLoading(self) -> None: ...
211
+ def StartLoading(self) -> None: ...
212
+