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

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 (107) hide show
  1. PySimultan2/CHANGELOG.md +3 -0
  2. PySimultan2/__about__.py +1 -1
  3. PySimultan2/default_types.py +7 -0
  4. PySimultan2/files.py +19 -0
  5. {pysimultan-0.6.0.1.dist-info → pysimultan-0.6.0.3.dist-info}/METADATA +1 -1
  6. pysimultan-0.6.0.3.dist-info/RECORD +76 -0
  7. PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +0 -616
  8. PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +0 -2538
  9. PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +0 -499
  10. PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +0 -2219
  11. PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +0 -682
  12. PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +0 -1654
  13. PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +0 -442
  14. PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +0 -193
  15. PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +0 -367
  16. PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +0 -116
  17. PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +0 -212
  18. PySimultan2/typings/SIMULTAN/Data/__init__.pyi +0 -232
  19. PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +0 -916
  20. PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +0 -15
  21. PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +0 -268
  22. PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +0 -32
  23. PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +0 -116
  24. PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +0 -433
  25. PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +0 -435
  26. PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +0 -103
  27. PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +0 -122
  28. PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +0 -1335
  29. PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +0 -48
  30. PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +0 -562
  31. PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +0 -11
  32. PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +0 -21
  33. PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +0 -11
  34. PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +0 -112
  35. PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +0 -5
  36. PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +0 -13
  37. PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +0 -54
  38. PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +0 -46
  39. PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +0 -22
  40. PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +0 -32
  41. PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +0 -43
  42. PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +0 -216
  43. PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +0 -66
  44. PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +0 -48
  45. PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +0 -11
  46. PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +0 -59
  47. PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +0 -133
  48. PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +0 -570
  49. PySimultan2/typings/System/Buffers/Binary/__init__.pyi +0 -248
  50. PySimultan2/typings/System/Buffers/Text/__init__.pyi +0 -91
  51. PySimultan2/typings/System/Buffers/__init__.pyi +0 -192
  52. PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +0 -137
  53. PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +0 -47
  54. PySimultan2/typings/System/Collections/Generic/__init__.pyi +0 -1293
  55. PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +0 -166
  56. PySimultan2/typings/System/Collections/Specialized/__init__.pyi +0 -82
  57. PySimultan2/typings/System/Collections/__init__.pyi +0 -403
  58. PySimultan2/typings/System/ComponentModel/__init__.pyi +0 -582
  59. PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +0 -30
  60. PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +0 -315
  61. PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +0 -297
  62. PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +0 -9
  63. PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +0 -641
  64. PySimultan2/typings/System/Diagnostics/__init__.pyi +0 -1101
  65. PySimultan2/typings/System/Globalization/__init__.pyi +0 -1675
  66. PySimultan2/typings/System/IO/Enumeration/__init__.pyi +0 -125
  67. PySimultan2/typings/System/IO/__init__.pyi +0 -2747
  68. PySimultan2/typings/System/Linq/Expressions/__init__.pyi +0 -1815
  69. PySimultan2/typings/System/Net/__init__.pyi +0 -81
  70. PySimultan2/typings/System/Numerics/__init__.pyi +0 -2853
  71. PySimultan2/typings/System/Reflection/Emit/__init__.pyi +0 -1945
  72. PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +0 -24
  73. PySimultan2/typings/System/Reflection/__init__.pyi +0 -2724
  74. PySimultan2/typings/System/Resources/__init__.pyi +0 -205
  75. PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +0 -1926
  76. PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +0 -49
  77. PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +0 -34
  78. PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +0 -758
  79. PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +0 -461
  80. PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +0 -48
  81. PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +0 -2632
  82. PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +0 -4757
  83. PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +0 -844
  84. PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +0 -5642
  85. PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +0 -4504
  86. PySimultan2/typings/System/Runtime/Loader/__init__.pyi +0 -63
  87. PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +0 -7
  88. PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +0 -269
  89. PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +0 -200
  90. PySimultan2/typings/System/Runtime/__init__.pyi +0 -141
  91. PySimultan2/typings/System/Security/Cryptography/__init__.pyi +0 -39
  92. PySimultan2/typings/System/Security/Permissions/__init__.pyi +0 -163
  93. PySimultan2/typings/System/Security/Principal/__init__.pyi +0 -45
  94. PySimultan2/typings/System/Security/__init__.pyi +0 -347
  95. PySimultan2/typings/System/Text/Unicode/__init__.pyi +0 -62
  96. PySimultan2/typings/System/Text/__init__.pyi +0 -1590
  97. PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +0 -76
  98. PySimultan2/typings/System/Threading/Tasks/__init__.pyi +0 -1403
  99. PySimultan2/typings/System/Threading/__init__.pyi +0 -1788
  100. PySimultan2/typings/System/Xml/Schema/__init__.pyi +0 -1255
  101. PySimultan2/typings/System/Xml/Serialization/__init__.pyi +0 -16
  102. PySimultan2/typings/System/Xml/XPath/__init__.pyi +0 -474
  103. PySimultan2/typings/System/Xml/__init__.pyi +0 -2410
  104. PySimultan2/typings/System/__init__.pyi +0 -17821
  105. pysimultan-0.6.0.1.dist-info/RECORD +0 -174
  106. {pysimultan-0.6.0.1.dist-info → pysimultan-0.6.0.3.dist-info}/WHEEL +0 -0
  107. {pysimultan-0.6.0.1.dist-info → pysimultan-0.6.0.3.dist-info}/licenses/LICENSE.txt +0 -0
@@ -1,367 +0,0 @@
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
-
@@ -1,116 +0,0 @@
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
-
@@ -1,212 +0,0 @@
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
-