PySimultan 0.6.0.7__py3-none-any.whl → 0.6.1__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.
- PySimultan2/CHANGELOG.md +3 -0
- PySimultan2/__about__.py +1 -1
- PySimultan2/data_model.py +116 -5
- PySimultan2/default_types.py +17 -0
- PySimultan2/files.py +112 -11
- PySimultan2/utils.py +5 -4
- {pysimultan-0.6.0.7.dist-info → pysimultan-0.6.1.dist-info}/METADATA +1 -1
- pysimultan-0.6.1.dist-info/RECORD +76 -0
- PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +0 -616
- PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +0 -2538
- PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +0 -499
- PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +0 -2219
- PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +0 -682
- PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +0 -1654
- PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +0 -442
- PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +0 -193
- PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +0 -367
- PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +0 -116
- PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +0 -212
- PySimultan2/typings/SIMULTAN/Data/__init__.pyi +0 -232
- PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +0 -916
- PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +0 -15
- PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +0 -268
- PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +0 -32
- PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +0 -116
- PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +0 -433
- PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +0 -435
- PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +0 -103
- PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +0 -122
- PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +0 -1335
- PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +0 -48
- PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +0 -562
- PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +0 -11
- PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +0 -21
- PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +0 -11
- PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +0 -112
- PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +0 -5
- PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +0 -13
- PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +0 -54
- PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +0 -46
- PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +0 -22
- PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +0 -32
- PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +0 -43
- PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +0 -216
- PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +0 -66
- PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +0 -48
- PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +0 -11
- PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +0 -59
- PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +0 -133
- PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +0 -570
- PySimultan2/typings/System/Buffers/Binary/__init__.pyi +0 -248
- PySimultan2/typings/System/Buffers/Text/__init__.pyi +0 -91
- PySimultan2/typings/System/Buffers/__init__.pyi +0 -192
- PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +0 -137
- PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +0 -47
- PySimultan2/typings/System/Collections/Generic/__init__.pyi +0 -1293
- PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +0 -166
- PySimultan2/typings/System/Collections/Specialized/__init__.pyi +0 -82
- PySimultan2/typings/System/Collections/__init__.pyi +0 -403
- PySimultan2/typings/System/ComponentModel/__init__.pyi +0 -582
- PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +0 -30
- PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +0 -315
- PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +0 -297
- PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +0 -9
- PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +0 -641
- PySimultan2/typings/System/Diagnostics/__init__.pyi +0 -1101
- PySimultan2/typings/System/Globalization/__init__.pyi +0 -1675
- PySimultan2/typings/System/IO/Enumeration/__init__.pyi +0 -125
- PySimultan2/typings/System/IO/__init__.pyi +0 -2747
- PySimultan2/typings/System/Linq/Expressions/__init__.pyi +0 -1815
- PySimultan2/typings/System/Net/__init__.pyi +0 -81
- PySimultan2/typings/System/Numerics/__init__.pyi +0 -2853
- PySimultan2/typings/System/Reflection/Emit/__init__.pyi +0 -1945
- PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +0 -24
- PySimultan2/typings/System/Reflection/__init__.pyi +0 -2724
- PySimultan2/typings/System/Resources/__init__.pyi +0 -205
- PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +0 -1926
- PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +0 -49
- PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +0 -34
- PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +0 -758
- PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +0 -461
- PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +0 -48
- PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +0 -2632
- PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +0 -4757
- PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +0 -844
- PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +0 -5642
- PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +0 -4504
- PySimultan2/typings/System/Runtime/Loader/__init__.pyi +0 -63
- PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +0 -7
- PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +0 -269
- PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +0 -200
- PySimultan2/typings/System/Runtime/__init__.pyi +0 -141
- PySimultan2/typings/System/Security/Cryptography/__init__.pyi +0 -39
- PySimultan2/typings/System/Security/Permissions/__init__.pyi +0 -163
- PySimultan2/typings/System/Security/Principal/__init__.pyi +0 -45
- PySimultan2/typings/System/Security/__init__.pyi +0 -347
- PySimultan2/typings/System/Text/Unicode/__init__.pyi +0 -62
- PySimultan2/typings/System/Text/__init__.pyi +0 -1590
- PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +0 -76
- PySimultan2/typings/System/Threading/Tasks/__init__.pyi +0 -1403
- PySimultan2/typings/System/Threading/__init__.pyi +0 -1788
- PySimultan2/typings/System/Xml/Schema/__init__.pyi +0 -1255
- PySimultan2/typings/System/Xml/Serialization/__init__.pyi +0 -16
- PySimultan2/typings/System/Xml/XPath/__init__.pyi +0 -474
- PySimultan2/typings/System/Xml/__init__.pyi +0 -2410
- PySimultan2/typings/System/__init__.pyi +0 -17821
- pysimultan-0.6.0.7.dist-info/RECORD +0 -174
- {pysimultan-0.6.0.7.dist-info → pysimultan-0.6.1.dist-info}/WHEEL +0 -0
- {pysimultan-0.6.0.7.dist-info → pysimultan-0.6.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -1,442 +0,0 @@
|
|
1
|
-
import typing
|
2
|
-
from SIMULTAN.Data import SimNamedObject_1, ISimManagedCollection, SimId, GeometricReference, SimManagedCollection_1, IReferenceLocation
|
3
|
-
from SIMULTAN.Data.SimMath import SimColor, SimPoint
|
4
|
-
from System import Guid, MulticastDelegate, IAsyncResult, AsyncCallback, ValueTuple_2, DateTime, IDisposable
|
5
|
-
from System.Reflection import MethodInfo
|
6
|
-
from System.Collections.ObjectModel import ObservableCollection_1
|
7
|
-
from System.ComponentModel import INotifyPropertyChanged
|
8
|
-
from SIMULTAN.Data.Components import SimComponentInstance, SimComponent
|
9
|
-
from System.Collections.Generic import Dictionary_2, List_1, IEnumerable_1
|
10
|
-
from SIMULTAN.Projects import ProjectData
|
11
|
-
|
12
|
-
class BaseSimNetworkElement(SimNamedObject_1[ISimManagedCollection], ISimNetworkElement):
|
13
|
-
def __init__(self) -> None: ...
|
14
|
-
@property
|
15
|
-
def Color(self) -> SimColor: ...
|
16
|
-
@Color.setter
|
17
|
-
def Color(self, value: SimColor) -> SimColor: ...
|
18
|
-
@property
|
19
|
-
def Description(self) -> str: ...
|
20
|
-
@Description.setter
|
21
|
-
def Description(self, value: str) -> str: ...
|
22
|
-
@property
|
23
|
-
def Factory(self) -> ISimManagedCollection: ...
|
24
|
-
@Factory.setter
|
25
|
-
def Factory(self, value: ISimManagedCollection) -> ISimManagedCollection: ...
|
26
|
-
@property
|
27
|
-
def GlobalID(self) -> Guid: ...
|
28
|
-
@property
|
29
|
-
def Height(self) -> float: ...
|
30
|
-
@Height.setter
|
31
|
-
def Height(self, value: float) -> float: ...
|
32
|
-
@property
|
33
|
-
def Id(self) -> SimId: ...
|
34
|
-
@Id.setter
|
35
|
-
def Id(self, value: SimId) -> SimId: ...
|
36
|
-
@property
|
37
|
-
def IsConnected(self) -> bool: ...
|
38
|
-
@property
|
39
|
-
def LocalID(self) -> int: ...
|
40
|
-
@property
|
41
|
-
def Name(self) -> str: ...
|
42
|
-
@Name.setter
|
43
|
-
def Name(self, value: str) -> str: ...
|
44
|
-
@property
|
45
|
-
def ParentNetwork(self) -> SimNetwork: ...
|
46
|
-
@ParentNetwork.setter
|
47
|
-
def ParentNetwork(self, value: SimNetwork) -> SimNetwork: ...
|
48
|
-
@property
|
49
|
-
def Ports(self) -> SimNetworkPort.SimNetworkPortCollection: ...
|
50
|
-
@Ports.setter
|
51
|
-
def Ports(self, value: SimNetworkPort.SimNetworkPortCollection) -> SimNetworkPort.SimNetworkPortCollection: ...
|
52
|
-
@property
|
53
|
-
def Position(self) -> SimPoint: ...
|
54
|
-
@Position.setter
|
55
|
-
def Position(self, value: SimPoint) -> SimPoint: ...
|
56
|
-
@property
|
57
|
-
def RepresentationReference(self) -> GeometricReference: ...
|
58
|
-
@RepresentationReference.setter
|
59
|
-
def RepresentationReference(self, value: GeometricReference) -> GeometricReference: ...
|
60
|
-
@property
|
61
|
-
def Width(self) -> float: ...
|
62
|
-
@Width.setter
|
63
|
-
def Width(self, value: float) -> float: ...
|
64
|
-
def NotifyIsDeleted(self) -> None: ...
|
65
|
-
def OnIsBeingDeleted(self) -> None: ...
|
66
|
-
|
67
|
-
class IsBeingDeletedEventHandler(MulticastDelegate):
|
68
|
-
def __init__(self, object: typing.Any, method: int) -> None: ...
|
69
|
-
@property
|
70
|
-
def Method(self) -> MethodInfo: ...
|
71
|
-
@property
|
72
|
-
def Target(self) -> typing.Any: ...
|
73
|
-
def BeginInvoke(self, sender: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
74
|
-
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
75
|
-
def Invoke(self, sender: typing.Any) -> None: ...
|
76
|
-
|
77
|
-
|
78
|
-
class IsDeletedEventHandler(MulticastDelegate):
|
79
|
-
def __init__(self, object: typing.Any, method: int) -> None: ...
|
80
|
-
@property
|
81
|
-
def Method(self) -> MethodInfo: ...
|
82
|
-
@property
|
83
|
-
def Target(self) -> typing.Any: ...
|
84
|
-
def BeginInvoke(self, sender: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
85
|
-
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
86
|
-
def Invoke(self, sender: typing.Any) -> None: ...
|
87
|
-
|
88
|
-
|
89
|
-
class SimNetworkElementCollection(ObservableCollection_1[BaseSimNetworkElement]):
|
90
|
-
def __init__(self, parentNetwork: SimNetwork) -> None: ...
|
91
|
-
@property
|
92
|
-
def Count(self) -> int: ...
|
93
|
-
@property
|
94
|
-
def Item(self) -> BaseSimNetworkElement: ...
|
95
|
-
@Item.setter
|
96
|
-
def Item(self, value: BaseSimNetworkElement) -> BaseSimNetworkElement: ...
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
class IElementWithComponent(INotifyPropertyChanged, typing.Protocol):
|
101
|
-
@property
|
102
|
-
def ComponentInstance(self) -> SimComponentInstance: ...
|
103
|
-
@ComponentInstance.setter
|
104
|
-
def ComponentInstance(self, value: SimComponentInstance) -> SimComponentInstance: ...
|
105
|
-
@property
|
106
|
-
def Id(self) -> SimId: ...
|
107
|
-
@property
|
108
|
-
def ParentNetwork(self) -> SimNetwork: ...
|
109
|
-
|
110
|
-
|
111
|
-
class INetwork(typing.Protocol):
|
112
|
-
@property
|
113
|
-
def HasParent(self) -> bool: ...
|
114
|
-
|
115
|
-
|
116
|
-
class ISimNetworkElement(typing.Protocol):
|
117
|
-
pass
|
118
|
-
|
119
|
-
|
120
|
-
class PortType(typing.SupportsInt):
|
121
|
-
@typing.overload
|
122
|
-
def __init__(self, value : int) -> None: ...
|
123
|
-
@typing.overload
|
124
|
-
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
125
|
-
def __int__(self) -> int: ...
|
126
|
-
|
127
|
-
# Values:
|
128
|
-
Input : PortType # 0
|
129
|
-
Output : PortType # 1
|
130
|
-
|
131
|
-
|
132
|
-
class SimNetwork(BaseSimNetworkElement, INetwork):
|
133
|
-
@typing.overload
|
134
|
-
def __init__(self, name: str) -> None: ...
|
135
|
-
@typing.overload
|
136
|
-
def __init__(self, name: str, position: SimPoint) -> None: ...
|
137
|
-
@property
|
138
|
-
def Color(self) -> SimColor: ...
|
139
|
-
@Color.setter
|
140
|
-
def Color(self, value: SimColor) -> SimColor: ...
|
141
|
-
@property
|
142
|
-
def ContainedConnectors(self) -> SimNetworkConnector.SimNetworkConnectorCollection: ...
|
143
|
-
@property
|
144
|
-
def ContainedElements(self) -> BaseSimNetworkElement.SimNetworkElementCollection: ...
|
145
|
-
@property
|
146
|
-
def Description(self) -> str: ...
|
147
|
-
@Description.setter
|
148
|
-
def Description(self, value: str) -> str: ...
|
149
|
-
@property
|
150
|
-
def Factory(self) -> ISimManagedCollection: ...
|
151
|
-
@Factory.setter
|
152
|
-
def Factory(self, value: ISimManagedCollection) -> ISimManagedCollection: ...
|
153
|
-
@property
|
154
|
-
def GlobalID(self) -> Guid: ...
|
155
|
-
@property
|
156
|
-
def HasParent(self) -> bool: ...
|
157
|
-
@property
|
158
|
-
def Height(self) -> float: ...
|
159
|
-
@Height.setter
|
160
|
-
def Height(self, value: float) -> float: ...
|
161
|
-
@property
|
162
|
-
def Id(self) -> SimId: ...
|
163
|
-
@Id.setter
|
164
|
-
def Id(self, value: SimId) -> SimId: ...
|
165
|
-
@property
|
166
|
-
def IndexOfGeometricRepFile(self) -> int: ...
|
167
|
-
@IndexOfGeometricRepFile.setter
|
168
|
-
def IndexOfGeometricRepFile(self, value: int) -> int: ...
|
169
|
-
@property
|
170
|
-
def IsConnected(self) -> bool: ...
|
171
|
-
@property
|
172
|
-
def LocalID(self) -> int: ...
|
173
|
-
@property
|
174
|
-
def Name(self) -> str: ...
|
175
|
-
@Name.setter
|
176
|
-
def Name(self, value: str) -> str: ...
|
177
|
-
@property
|
178
|
-
def ParentNetwork(self) -> SimNetwork: ...
|
179
|
-
@ParentNetwork.setter
|
180
|
-
def ParentNetwork(self, value: SimNetwork) -> SimNetwork: ...
|
181
|
-
@property
|
182
|
-
def Ports(self) -> SimNetworkPort.SimNetworkPortCollection: ...
|
183
|
-
@Ports.setter
|
184
|
-
def Ports(self, value: SimNetworkPort.SimNetworkPortCollection) -> SimNetworkPort.SimNetworkPortCollection: ...
|
185
|
-
@property
|
186
|
-
def Position(self) -> SimPoint: ...
|
187
|
-
@Position.setter
|
188
|
-
def Position(self, value: SimPoint) -> SimPoint: ...
|
189
|
-
@property
|
190
|
-
def RepresentationReference(self) -> GeometricReference: ...
|
191
|
-
@RepresentationReference.setter
|
192
|
-
def RepresentationReference(self, value: GeometricReference) -> GeometricReference: ...
|
193
|
-
@property
|
194
|
-
def Size(self) -> float: ...
|
195
|
-
@Size.setter
|
196
|
-
def Size(self, value: float) -> float: ...
|
197
|
-
@property
|
198
|
-
def Width(self) -> float: ...
|
199
|
-
@Width.setter
|
200
|
-
def Width(self, value: float) -> float: ...
|
201
|
-
def Clone(self, name: str, factory: SimNetwork.SimNetworkCollection, parentNetwork: SimNetwork, portPairs: Dictionary_2[SimId, SimId]) -> ValueTuple_2[SimNetwork, Dictionary_2[SimId, SimId]]: ...
|
202
|
-
def ConvertBlockToSubnetwork(self, block: SimNetworkBlock) -> SimNetwork: ...
|
203
|
-
def GetAllBlocks(self) -> List_1[SimNetworkBlock]: ...
|
204
|
-
def GetAllPorts(self) -> List_1[SimNetworkPort]: ...
|
205
|
-
|
206
|
-
class AssociationChangedEventHandler(MulticastDelegate):
|
207
|
-
def __init__(self, object: typing.Any, method: int) -> None: ...
|
208
|
-
@property
|
209
|
-
def Method(self) -> MethodInfo: ...
|
210
|
-
@property
|
211
|
-
def Target(self) -> typing.Any: ...
|
212
|
-
def BeginInvoke(self, sender: typing.Any, elements: IEnumerable_1[BaseSimNetworkElement], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
213
|
-
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
214
|
-
def Invoke(self, sender: typing.Any, elements: IEnumerable_1[BaseSimNetworkElement]) -> None: ...
|
215
|
-
|
216
|
-
|
217
|
-
class SimNetworkCollection(SimManagedCollection_1[SimNetwork]):
|
218
|
-
def __init__(self, owner: ProjectData) -> None: ...
|
219
|
-
@property
|
220
|
-
def CalledFromLocation(self) -> IReferenceLocation: ...
|
221
|
-
@property
|
222
|
-
def Count(self) -> int: ...
|
223
|
-
@property
|
224
|
-
def HasChanges(self) -> bool: ...
|
225
|
-
@property
|
226
|
-
def IsLoading(self) -> bool: ...
|
227
|
-
@IsLoading.setter
|
228
|
-
def IsLoading(self, value: bool) -> bool: ...
|
229
|
-
@property
|
230
|
-
def Item(self) -> SimNetwork: ...
|
231
|
-
@Item.setter
|
232
|
-
def Item(self, value: SimNetwork) -> SimNetwork: ...
|
233
|
-
@property
|
234
|
-
def LastChange(self) -> DateTime: ...
|
235
|
-
@property
|
236
|
-
def ProjectData(self) -> ProjectData: ...
|
237
|
-
def DisconnectAllInstances(self, resource_id: int) -> None: ...
|
238
|
-
def EndLoading(self) -> None: ...
|
239
|
-
def GetElementsWithComponents(self) -> List_1[IElementWithComponent]: ...
|
240
|
-
def RemoveItemSoft(self, item: SimNetwork) -> None: ...
|
241
|
-
def StartLoading(self) -> None: ...
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
class SimNetworkBlock(BaseSimNetworkElement, IElementWithComponent):
|
246
|
-
@typing.overload
|
247
|
-
def __init__(self, name: str, position: SimPoint) -> None: ...
|
248
|
-
@typing.overload
|
249
|
-
def __init__(self, name: str, position: SimPoint, id: SimId, ports: IEnumerable_1[SimNetworkPort], color: SimColor) -> None: ...
|
250
|
-
@property
|
251
|
-
def Color(self) -> SimColor: ...
|
252
|
-
@Color.setter
|
253
|
-
def Color(self, value: SimColor) -> SimColor: ...
|
254
|
-
@property
|
255
|
-
def ComponentInstance(self) -> SimComponentInstance: ...
|
256
|
-
@ComponentInstance.setter
|
257
|
-
def ComponentInstance(self, value: SimComponentInstance) -> SimComponentInstance: ...
|
258
|
-
@property
|
259
|
-
def Description(self) -> str: ...
|
260
|
-
@Description.setter
|
261
|
-
def Description(self, value: str) -> str: ...
|
262
|
-
@property
|
263
|
-
def Factory(self) -> ISimManagedCollection: ...
|
264
|
-
@Factory.setter
|
265
|
-
def Factory(self, value: ISimManagedCollection) -> ISimManagedCollection: ...
|
266
|
-
@property
|
267
|
-
def GlobalID(self) -> Guid: ...
|
268
|
-
@property
|
269
|
-
def Height(self) -> float: ...
|
270
|
-
@Height.setter
|
271
|
-
def Height(self, value: float) -> float: ...
|
272
|
-
@property
|
273
|
-
def Id(self) -> SimId: ...
|
274
|
-
@Id.setter
|
275
|
-
def Id(self, value: SimId) -> SimId: ...
|
276
|
-
@property
|
277
|
-
def IsConnected(self) -> bool: ...
|
278
|
-
@property
|
279
|
-
def IsStatic(self) -> bool: ...
|
280
|
-
@property
|
281
|
-
def LocalID(self) -> int: ...
|
282
|
-
@property
|
283
|
-
def Name(self) -> str: ...
|
284
|
-
@Name.setter
|
285
|
-
def Name(self, value: str) -> str: ...
|
286
|
-
@property
|
287
|
-
def ParentNetwork(self) -> SimNetwork: ...
|
288
|
-
@ParentNetwork.setter
|
289
|
-
def ParentNetwork(self, value: SimNetwork) -> SimNetwork: ...
|
290
|
-
@property
|
291
|
-
def Ports(self) -> SimNetworkPort.SimNetworkPortCollection: ...
|
292
|
-
@Ports.setter
|
293
|
-
def Ports(self, value: SimNetworkPort.SimNetworkPortCollection) -> SimNetworkPort.SimNetworkPortCollection: ...
|
294
|
-
@property
|
295
|
-
def Position(self) -> SimPoint: ...
|
296
|
-
@Position.setter
|
297
|
-
def Position(self, value: SimPoint) -> SimPoint: ...
|
298
|
-
@property
|
299
|
-
def RepresentationReference(self) -> GeometricReference: ...
|
300
|
-
@RepresentationReference.setter
|
301
|
-
def RepresentationReference(self, value: GeometricReference) -> GeometricReference: ...
|
302
|
-
@property
|
303
|
-
def Width(self) -> float: ...
|
304
|
-
@Width.setter
|
305
|
-
def Width(self, value: float) -> float: ...
|
306
|
-
def AddRelativPositionToPortComp(self, portComponent: SimComponent, port: SimNetworkPort) -> None: ...
|
307
|
-
def AssignComponent(self, component: SimComponent, syncBlockToComp: bool) -> None: ...
|
308
|
-
def AttachEvents(self) -> None: ...
|
309
|
-
def Clone(self, parent: SimNetwork) -> ValueTuple_2[SimNetworkBlock, Dictionary_2[SimId, SimId]]: ...
|
310
|
-
def ConvertToStatic(self) -> None: ...
|
311
|
-
def RemoveComponentInstance(self, sendAssociatedEvent: bool = ...) -> None: ...
|
312
|
-
|
313
|
-
|
314
|
-
class SimNetworkConnector(SimNamedObject_1[ISimManagedCollection], ISimNetworkElement):
|
315
|
-
def __init__(self, port1: SimNetworkPort, port2: SimNetworkPort) -> None: ...
|
316
|
-
@property
|
317
|
-
def Color(self) -> SimColor: ...
|
318
|
-
@Color.setter
|
319
|
-
def Color(self, value: SimColor) -> SimColor: ...
|
320
|
-
@property
|
321
|
-
def Description(self) -> str: ...
|
322
|
-
@Description.setter
|
323
|
-
def Description(self, value: str) -> str: ...
|
324
|
-
@property
|
325
|
-
def Factory(self) -> ISimManagedCollection: ...
|
326
|
-
@Factory.setter
|
327
|
-
def Factory(self, value: ISimManagedCollection) -> ISimManagedCollection: ...
|
328
|
-
@property
|
329
|
-
def GlobalID(self) -> Guid: ...
|
330
|
-
@property
|
331
|
-
def Id(self) -> SimId: ...
|
332
|
-
@Id.setter
|
333
|
-
def Id(self, value: SimId) -> SimId: ...
|
334
|
-
@property
|
335
|
-
def LocalID(self) -> int: ...
|
336
|
-
@property
|
337
|
-
def Name(self) -> str: ...
|
338
|
-
@Name.setter
|
339
|
-
def Name(self, value: str) -> str: ...
|
340
|
-
@property
|
341
|
-
def ParentNetwork(self) -> SimNetwork: ...
|
342
|
-
@ParentNetwork.setter
|
343
|
-
def ParentNetwork(self, value: SimNetwork) -> SimNetwork: ...
|
344
|
-
@property
|
345
|
-
def Points(self) -> ObservableCollection_1[SimPoint]: ...
|
346
|
-
@Points.setter
|
347
|
-
def Points(self, value: ObservableCollection_1[SimPoint]) -> ObservableCollection_1[SimPoint]: ...
|
348
|
-
@property
|
349
|
-
def RepresentationReference(self) -> GeometricReference: ...
|
350
|
-
@RepresentationReference.setter
|
351
|
-
def RepresentationReference(self, value: GeometricReference) -> GeometricReference: ...
|
352
|
-
@property
|
353
|
-
def Source(self) -> SimNetworkPort: ...
|
354
|
-
@Source.setter
|
355
|
-
def Source(self, value: SimNetworkPort) -> SimNetworkPort: ...
|
356
|
-
@property
|
357
|
-
def Target(self) -> SimNetworkPort: ...
|
358
|
-
@Target.setter
|
359
|
-
def Target(self, value: SimNetworkPort) -> SimNetworkPort: ...
|
360
|
-
|
361
|
-
class SimNetworkConnectorCollection(ObservableCollection_1[SimNetworkConnector]):
|
362
|
-
def __init__(self, parentNetwork: SimNetwork) -> None: ...
|
363
|
-
@property
|
364
|
-
def Count(self) -> int: ...
|
365
|
-
@property
|
366
|
-
def Item(self) -> SimNetworkConnector: ...
|
367
|
-
@Item.setter
|
368
|
-
def Item(self, value: SimNetworkConnector) -> SimNetworkConnector: ...
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
class SimNetworkPort(SimNamedObject_1[ISimManagedCollection], IElementWithComponent, IDisposable, ISimNetworkElement):
|
373
|
-
@typing.overload
|
374
|
-
def __init__(self, basePort: SimNetworkPort) -> None: ...
|
375
|
-
@typing.overload
|
376
|
-
def __init__(self, portType: PortType, name: str = ..., position: SimPoint = ...) -> None: ...
|
377
|
-
@property
|
378
|
-
def Color(self) -> SimColor: ...
|
379
|
-
@Color.setter
|
380
|
-
def Color(self, value: SimColor) -> SimColor: ...
|
381
|
-
@property
|
382
|
-
def ComponentInstance(self) -> SimComponentInstance: ...
|
383
|
-
@ComponentInstance.setter
|
384
|
-
def ComponentInstance(self, value: SimComponentInstance) -> SimComponentInstance: ...
|
385
|
-
@property
|
386
|
-
def ConnectedPorts(self) -> List_1[SimNetworkPort]: ...
|
387
|
-
@property
|
388
|
-
def Connectors(self) -> List_1[SimNetworkConnector]: ...
|
389
|
-
@property
|
390
|
-
def Description(self) -> str: ...
|
391
|
-
@Description.setter
|
392
|
-
def Description(self, value: str) -> str: ...
|
393
|
-
@property
|
394
|
-
def Factory(self) -> ISimManagedCollection: ...
|
395
|
-
@Factory.setter
|
396
|
-
def Factory(self, value: ISimManagedCollection) -> ISimManagedCollection: ...
|
397
|
-
@property
|
398
|
-
def GlobalID(self) -> Guid: ...
|
399
|
-
@property
|
400
|
-
def Id(self) -> SimId: ...
|
401
|
-
@Id.setter
|
402
|
-
def Id(self, value: SimId) -> SimId: ...
|
403
|
-
@property
|
404
|
-
def IsConnected(self) -> bool: ...
|
405
|
-
@property
|
406
|
-
def LocalID(self) -> int: ...
|
407
|
-
@property
|
408
|
-
def Name(self) -> str: ...
|
409
|
-
@Name.setter
|
410
|
-
def Name(self, value: str) -> str: ...
|
411
|
-
@property
|
412
|
-
def ParentNetwork(self) -> SimNetwork: ...
|
413
|
-
@property
|
414
|
-
def ParentNetworkElement(self) -> BaseSimNetworkElement: ...
|
415
|
-
@ParentNetworkElement.setter
|
416
|
-
def ParentNetworkElement(self, value: BaseSimNetworkElement) -> BaseSimNetworkElement: ...
|
417
|
-
@property
|
418
|
-
def PortType(self) -> PortType: ...
|
419
|
-
@PortType.setter
|
420
|
-
def PortType(self, value: PortType) -> PortType: ...
|
421
|
-
@property
|
422
|
-
def Position(self) -> SimPoint: ...
|
423
|
-
@Position.setter
|
424
|
-
def Position(self, value: SimPoint) -> SimPoint: ...
|
425
|
-
@property
|
426
|
-
def RepresentationReference(self) -> GeometricReference: ...
|
427
|
-
@RepresentationReference.setter
|
428
|
-
def RepresentationReference(self, value: GeometricReference) -> GeometricReference: ...
|
429
|
-
def ConnectTo(self, port: SimNetworkPort) -> None: ...
|
430
|
-
def Dispose(self) -> None: ...
|
431
|
-
def RemoveConnections(self) -> None: ...
|
432
|
-
|
433
|
-
class SimNetworkPortCollection(ObservableCollection_1[SimNetworkPort]):
|
434
|
-
def __init__(self, parentElement: BaseSimNetworkElement) -> None: ...
|
435
|
-
@property
|
436
|
-
def Count(self) -> int: ...
|
437
|
-
@property
|
438
|
-
def Item(self) -> SimNetworkPort: ...
|
439
|
-
@Item.setter
|
440
|
-
def Item(self, value: SimNetworkPort) -> SimNetworkPort: ...
|
441
|
-
|
442
|
-
|
@@ -1,193 +0,0 @@
|
|
1
|
-
import typing
|
2
|
-
from System.ComponentModel import INotifyPropertyChanged
|
3
|
-
from SIMULTAN.Data.Assets import ResourceFileEntry
|
4
|
-
from System.Collections.ObjectModel import ObservableCollection_1
|
5
|
-
from SIMULTAN.Projects import ResourceReference, ProjectData
|
6
|
-
from SIMULTAN.Data.SimMath import SimPoint, SimPoint3D, SimColor
|
7
|
-
from SIMULTAN.Data import ILocated, IReferenceLocation
|
8
|
-
from System.IO import FileInfo
|
9
|
-
from SIMULTAN.Utils.ElevationProvider import IBulkElevationProvider
|
10
|
-
from SIMULTAN.Data.ValueMappings import SimValueMapping
|
11
|
-
from System import MulticastDelegate, IAsyncResult, AsyncCallback
|
12
|
-
from System.Reflection import MethodInfo
|
13
|
-
|
14
|
-
class GeoMap(INotifyPropertyChanged):
|
15
|
-
def __init__(self, geoMapFile: ResourceFileEntry) -> None: ...
|
16
|
-
@property
|
17
|
-
def GeoMapFile(self) -> ResourceFileEntry: ...
|
18
|
-
@GeoMapFile.setter
|
19
|
-
def GeoMapFile(self, value: ResourceFileEntry) -> ResourceFileEntry: ...
|
20
|
-
@property
|
21
|
-
def GeoReferences(self) -> ObservableCollection_1[ImageGeoReference]: ...
|
22
|
-
@GeoReferences.setter
|
23
|
-
def GeoReferences(self, value: ObservableCollection_1[ImageGeoReference]) -> ObservableCollection_1[ImageGeoReference]: ...
|
24
|
-
@property
|
25
|
-
def MapImageRes(self) -> ResourceReference: ...
|
26
|
-
@MapImageRes.setter
|
27
|
-
def MapImageRes(self, value: ResourceReference) -> ResourceReference: ...
|
28
|
-
|
29
|
-
|
30
|
-
class ImageGeoReference(INotifyPropertyChanged):
|
31
|
-
@typing.overload
|
32
|
-
def __init__(self) -> None: ...
|
33
|
-
@typing.overload
|
34
|
-
def __init__(self, imagePosition: SimPoint, geoReference: SimPoint3D) -> None: ...
|
35
|
-
@property
|
36
|
-
def ImagePosition(self) -> SimPoint: ...
|
37
|
-
@ImagePosition.setter
|
38
|
-
def ImagePosition(self, value: SimPoint) -> SimPoint: ...
|
39
|
-
@property
|
40
|
-
def ReferencePoint(self) -> SimPoint3D: ...
|
41
|
-
@ReferencePoint.setter
|
42
|
-
def ReferencePoint(self, value: SimPoint3D) -> SimPoint3D: ...
|
43
|
-
|
44
|
-
|
45
|
-
class SitePlannerBuilding(INotifyPropertyChanged):
|
46
|
-
def __init__(self, ID: int, geometryModelRes: ResourceReference) -> None: ...
|
47
|
-
@property
|
48
|
-
def CustomColor(self) -> SimColor: ...
|
49
|
-
@CustomColor.setter
|
50
|
-
def CustomColor(self, value: SimColor) -> SimColor: ...
|
51
|
-
@property
|
52
|
-
def GeometryModelRes(self) -> ResourceReference: ...
|
53
|
-
@GeometryModelRes.setter
|
54
|
-
def GeometryModelRes(self, value: ResourceReference) -> ResourceReference: ...
|
55
|
-
@property
|
56
|
-
def ID(self) -> int: ...
|
57
|
-
@ID.setter
|
58
|
-
def ID(self, value: int) -> int: ...
|
59
|
-
@property
|
60
|
-
def Project(self) -> SitePlannerProject: ...
|
61
|
-
@Project.setter
|
62
|
-
def Project(self, value: SitePlannerProject) -> SitePlannerProject: ...
|
63
|
-
|
64
|
-
|
65
|
-
class SitePlannerBuildingCollection(ObservableCollection_1[SitePlannerBuilding]):
|
66
|
-
def __init__(self, owner: SitePlannerProject) -> None: ...
|
67
|
-
@property
|
68
|
-
def Count(self) -> int: ...
|
69
|
-
@property
|
70
|
-
def Item(self) -> SitePlannerBuilding: ...
|
71
|
-
@Item.setter
|
72
|
-
def Item(self, value: SitePlannerBuilding) -> SitePlannerBuilding: ...
|
73
|
-
|
74
|
-
|
75
|
-
class SitePlannerManager(ILocated):
|
76
|
-
def __init__(self, projectData: ProjectData) -> None: ...
|
77
|
-
@property
|
78
|
-
def CalledFromLocation(self) -> IReferenceLocation: ...
|
79
|
-
@CalledFromLocation.setter
|
80
|
-
def CalledFromLocation(self, value: IReferenceLocation) -> IReferenceLocation: ...
|
81
|
-
@property
|
82
|
-
def GeoMaps(self) -> ObservableCollection_1[GeoMap]: ...
|
83
|
-
@GeoMaps.setter
|
84
|
-
def GeoMaps(self, value: ObservableCollection_1[GeoMap]) -> ObservableCollection_1[GeoMap]: ...
|
85
|
-
@property
|
86
|
-
def ProjectData(self) -> ProjectData: ...
|
87
|
-
@property
|
88
|
-
def SitePlannerProjects(self) -> SitePlannerProjectsCollection: ...
|
89
|
-
def ClearRecord(self) -> None: ...
|
90
|
-
def CloseSitePlannerMap(self, map: GeoMap) -> None: ...
|
91
|
-
def CloseSitePlannerProject(self, proj: SitePlannerProject) -> None: ...
|
92
|
-
def GenerateUniqueBuildingID(self) -> int: ...
|
93
|
-
def GetGeoMapByFile(self, file: FileInfo) -> GeoMap: ...
|
94
|
-
def GetSitePlannerProjectByFile(self, file: FileInfo) -> SitePlannerProject: ...
|
95
|
-
def IsMapFileOpen(self, file: FileInfo) -> bool: ...
|
96
|
-
def IsSitePlannerFileOpen(self, file: FileInfo) -> bool: ...
|
97
|
-
def OpenSitePlannerMap(self, map: GeoMap) -> None: ...
|
98
|
-
def OpenSitePlannerProject(self, proj: SitePlannerProject) -> None: ...
|
99
|
-
def SetCallingLocation(self, caller: IReferenceLocation) -> None: ...
|
100
|
-
# Skipped IsFileOpen due to it being static, abstract and generic.
|
101
|
-
|
102
|
-
IsFileOpen : IsFileOpen_MethodGroup
|
103
|
-
class IsFileOpen_MethodGroup:
|
104
|
-
@typing.overload
|
105
|
-
def __call__(self, file: FileInfo) -> bool:...
|
106
|
-
@typing.overload
|
107
|
-
def __call__(self, file: ResourceFileEntry) -> bool:...
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
class SitePlannerMap(INotifyPropertyChanged):
|
112
|
-
def __init__(self, geoMapRes: ResourceReference) -> None: ...
|
113
|
-
@property
|
114
|
-
def ElevationProvider(self) -> IBulkElevationProvider: ...
|
115
|
-
@ElevationProvider.setter
|
116
|
-
def ElevationProvider(self, value: IBulkElevationProvider) -> IBulkElevationProvider: ...
|
117
|
-
@property
|
118
|
-
def ElevationProviderTypeName(self) -> str: ...
|
119
|
-
@ElevationProviderTypeName.setter
|
120
|
-
def ElevationProviderTypeName(self, value: str) -> str: ...
|
121
|
-
@property
|
122
|
-
def GeoMapRes(self) -> ResourceReference: ...
|
123
|
-
@GeoMapRes.setter
|
124
|
-
def GeoMapRes(self, value: ResourceReference) -> ResourceReference: ...
|
125
|
-
@property
|
126
|
-
def GridCellSize(self) -> int: ...
|
127
|
-
@GridCellSize.setter
|
128
|
-
def GridCellSize(self, value: int) -> int: ...
|
129
|
-
|
130
|
-
|
131
|
-
class SitePlannerProject(INotifyPropertyChanged):
|
132
|
-
def __init__(self, projectFile: ResourceFileEntry) -> None: ...
|
133
|
-
@property
|
134
|
-
def ActiveValueMapping(self) -> SimValueMapping: ...
|
135
|
-
@ActiveValueMapping.setter
|
136
|
-
def ActiveValueMapping(self, value: SimValueMapping) -> SimValueMapping: ...
|
137
|
-
@property
|
138
|
-
def Buildings(self) -> SitePlannerBuildingCollection: ...
|
139
|
-
@Buildings.setter
|
140
|
-
def Buildings(self, value: SitePlannerBuildingCollection) -> SitePlannerBuildingCollection: ...
|
141
|
-
@property
|
142
|
-
def Factory(self) -> SitePlannerManager: ...
|
143
|
-
@Factory.setter
|
144
|
-
def Factory(self, value: SitePlannerManager) -> SitePlannerManager: ...
|
145
|
-
@property
|
146
|
-
def IsValueMappingEnabled(self) -> bool: ...
|
147
|
-
@IsValueMappingEnabled.setter
|
148
|
-
def IsValueMappingEnabled(self, value: bool) -> bool: ...
|
149
|
-
@property
|
150
|
-
def Maps(self) -> ObservableCollection_1[SitePlannerMap]: ...
|
151
|
-
@Maps.setter
|
152
|
-
def Maps(self, value: ObservableCollection_1[SitePlannerMap]) -> ObservableCollection_1[SitePlannerMap]: ...
|
153
|
-
@property
|
154
|
-
def SitePlannerFile(self) -> ResourceFileEntry: ...
|
155
|
-
@SitePlannerFile.setter
|
156
|
-
def SitePlannerFile(self, value: ResourceFileEntry) -> ResourceFileEntry: ...
|
157
|
-
@property
|
158
|
-
def ValueMappings(self) -> ObservableCollection_1[SimValueMapping]: ...
|
159
|
-
def ContainsGeoMap(self, geomap: ResourceFileEntry) -> bool: ...
|
160
|
-
def ContainsGeometryModel(self, simgeo: ResourceFileEntry) -> bool: ...
|
161
|
-
|
162
|
-
|
163
|
-
class SitePlannerProjectClosedEventHandler(MulticastDelegate):
|
164
|
-
def __init__(self, object: typing.Any, method: int) -> None: ...
|
165
|
-
@property
|
166
|
-
def Method(self) -> MethodInfo: ...
|
167
|
-
@property
|
168
|
-
def Target(self) -> typing.Any: ...
|
169
|
-
def BeginInvoke(self, sender: typing.Any, project: SitePlannerProject, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
170
|
-
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
171
|
-
def Invoke(self, sender: typing.Any, project: SitePlannerProject) -> None: ...
|
172
|
-
|
173
|
-
|
174
|
-
class SitePlannerProjectOpenedEventHandler(MulticastDelegate):
|
175
|
-
def __init__(self, object: typing.Any, method: int) -> None: ...
|
176
|
-
@property
|
177
|
-
def Method(self) -> MethodInfo: ...
|
178
|
-
@property
|
179
|
-
def Target(self) -> typing.Any: ...
|
180
|
-
def BeginInvoke(self, sender: typing.Any, project: SitePlannerProject, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
181
|
-
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
182
|
-
def Invoke(self, sender: typing.Any, project: SitePlannerProject) -> None: ...
|
183
|
-
|
184
|
-
|
185
|
-
class SitePlannerProjectsCollection(ObservableCollection_1[SitePlannerProject]):
|
186
|
-
def __init__(self, owner: SitePlannerManager) -> None: ...
|
187
|
-
@property
|
188
|
-
def Count(self) -> int: ...
|
189
|
-
@property
|
190
|
-
def Item(self) -> SitePlannerProject: ...
|
191
|
-
@Item.setter
|
192
|
-
def Item(self, value: SitePlannerProject) -> SitePlannerProject: ...
|
193
|
-
|