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.
- PySimultan2/CHANGELOG.md +9 -0
- PySimultan2/__about__.py +1 -1
- PySimultan2/data_model.py +12 -5
- PySimultan2/default_types.py +39 -8
- PySimultan2/files.py +1 -1
- PySimultan2/object_mapper.py +31 -3
- PySimultan2/resources/BruTile.dll +0 -0
- PySimultan2/resources/ComponentBuilder.dll +0 -0
- PySimultan2/resources/ComponentBuilder.xml +93 -15
- PySimultan2/resources/HelixToolkit.Core.Wpf.dll +0 -0
- PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll +0 -0
- PySimultan2/resources/HelixToolkit.SharpDX.Core.dll +0 -0
- PySimultan2/resources/HelixToolkit.dll +0 -0
- PySimultan2/resources/Python.Runtime.dll +0 -0
- PySimultan2/resources/SIMULTAN.Lang.dll +0 -0
- PySimultan2/resources/SIMULTAN.Lang.xml +62 -1
- PySimultan2/resources/SIMULTAN.UI.dll +0 -0
- PySimultan2/resources/SIMULTAN.UI.xml +57 -0
- PySimultan2/resources/SIMULTAN.dll +0 -0
- PySimultan2/resources/SIMULTAN.xml +73 -3
- PySimultan2/resources/System.Reflection.MetadataLoadContext.dll +0 -0
- PySimultan2/resources/defaultsettings.xml +0 -0
- PySimultan2/simultan_object.py +6 -1
- PySimultan2/taxonomy_maps.py +45 -27
- PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +616 -0
- PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +2538 -0
- PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +499 -0
- PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +2219 -0
- PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +682 -0
- PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +1654 -0
- PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +442 -0
- PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +193 -0
- PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +367 -0
- PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +116 -0
- PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +212 -0
- PySimultan2/typings/SIMULTAN/Data/__init__.pyi +232 -0
- PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +916 -0
- PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +15 -0
- PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +268 -0
- PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +32 -0
- PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +116 -0
- PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +433 -0
- PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +435 -0
- PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +103 -0
- PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +122 -0
- PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +1335 -0
- PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +48 -0
- PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +562 -0
- PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +11 -0
- PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +21 -0
- PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +11 -0
- PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +112 -0
- PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +5 -0
- PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +13 -0
- PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +54 -0
- PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +46 -0
- PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +22 -0
- PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +32 -0
- PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +43 -0
- PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +216 -0
- PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +66 -0
- PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +48 -0
- PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +11 -0
- PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +59 -0
- PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +133 -0
- PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +570 -0
- PySimultan2/typings/System/Buffers/Binary/__init__.pyi +248 -0
- PySimultan2/typings/System/Buffers/Text/__init__.pyi +91 -0
- PySimultan2/typings/System/Buffers/__init__.pyi +192 -0
- PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +137 -0
- PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +47 -0
- PySimultan2/typings/System/Collections/Generic/__init__.pyi +1293 -0
- PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +166 -0
- PySimultan2/typings/System/Collections/Specialized/__init__.pyi +82 -0
- PySimultan2/typings/System/Collections/__init__.pyi +403 -0
- PySimultan2/typings/System/ComponentModel/__init__.pyi +582 -0
- PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +30 -0
- PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +315 -0
- PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +297 -0
- PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +9 -0
- PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +641 -0
- PySimultan2/typings/System/Diagnostics/__init__.pyi +1101 -0
- PySimultan2/typings/System/Globalization/__init__.pyi +1675 -0
- PySimultan2/typings/System/IO/Enumeration/__init__.pyi +125 -0
- PySimultan2/typings/System/IO/__init__.pyi +2747 -0
- PySimultan2/typings/System/Linq/Expressions/__init__.pyi +1815 -0
- PySimultan2/typings/System/Net/__init__.pyi +81 -0
- PySimultan2/typings/System/Numerics/__init__.pyi +2853 -0
- PySimultan2/typings/System/Reflection/Emit/__init__.pyi +1945 -0
- PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +24 -0
- PySimultan2/typings/System/Reflection/__init__.pyi +2724 -0
- PySimultan2/typings/System/Resources/__init__.pyi +205 -0
- PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +1926 -0
- PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +49 -0
- PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +34 -0
- PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +758 -0
- PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +461 -0
- PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +48 -0
- PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +2632 -0
- PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +4757 -0
- PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +844 -0
- PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +5642 -0
- PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +4504 -0
- PySimultan2/typings/System/Runtime/Loader/__init__.pyi +63 -0
- PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +7 -0
- PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +269 -0
- PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +200 -0
- PySimultan2/typings/System/Runtime/__init__.pyi +141 -0
- PySimultan2/typings/System/Security/Cryptography/__init__.pyi +39 -0
- PySimultan2/typings/System/Security/Permissions/__init__.pyi +163 -0
- PySimultan2/typings/System/Security/Principal/__init__.pyi +45 -0
- PySimultan2/typings/System/Security/__init__.pyi +347 -0
- PySimultan2/typings/System/Text/Unicode/__init__.pyi +62 -0
- PySimultan2/typings/System/Text/__init__.pyi +1590 -0
- PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +76 -0
- PySimultan2/typings/System/Threading/Tasks/__init__.pyi +1403 -0
- PySimultan2/typings/System/Threading/__init__.pyi +1788 -0
- PySimultan2/typings/System/Xml/Schema/__init__.pyi +1255 -0
- PySimultan2/typings/System/Xml/Serialization/__init__.pyi +16 -0
- PySimultan2/typings/System/Xml/XPath/__init__.pyi +474 -0
- PySimultan2/typings/System/Xml/__init__.pyi +2410 -0
- PySimultan2/typings/System/__init__.pyi +17821 -0
- PySimultan2/utils.py +10 -5
- {pysimultan-0.5.9.6.dist-info → pysimultan-0.6.0.1.dist-info}/METADATA +5 -1
- pysimultan-0.6.0.1.dist-info/RECORD +174 -0
- PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
- PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -11
- PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
- PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +0 -15
- PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
- PySimultan2/resources/SIMULTAN.Plugins.xml +0 -396
- pysimultan-0.5.9.6.dist-info/RECORD +0 -81
- {pysimultan-0.5.9.6.dist-info → pysimultan-0.6.0.1.dist-info}/WHEEL +0 -0
- {pysimultan-0.5.9.6.dist-info → pysimultan-0.6.0.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -0,0 +1,435 @@
|
|
1
|
+
import typing, abc
|
2
|
+
from System import Guid, ValueTuple_2, Predicate_1, MulticastDelegate, IAsyncResult, AsyncCallback
|
3
|
+
from System.IO import FileInfo, DirectoryInfo
|
4
|
+
from SIMULTAN.Projects.ManagedFiles import ManagedFileCollection, ManagedFile
|
5
|
+
from System.Collections.Generic import IEnumerable_1, List_1, IReadOnlyList_1, Dictionary_2
|
6
|
+
from System.ComponentModel import ISynchronizeInvoke
|
7
|
+
from SIMULTAN.Utils import IDispatcherTimerFactory
|
8
|
+
from SIMULTAN.Data.Assets import AssetManager, MultiLinkManager, ResourceFileEntry, ResourceLocationError, ResourceEntry, ResourceDirectoryEntry, LinkedResourceFileEntry, ContainedResourceFileEntry
|
9
|
+
from SIMULTAN.Exchange import ComponentGeometryExchange
|
10
|
+
from SIMULTAN.Data.Components import SimComponentCollection, ParameterFactory, SimUserComponentListCollection, SimCalculation, SimComponent, SimBaseParameter
|
11
|
+
from SIMULTAN.DataMapping import SimDataMappingToolCollection
|
12
|
+
from SIMULTAN.Data.Geometry import SimGeometryModelCollection, SimGeometryRelationCollection
|
13
|
+
from SIMULTAN.Data import SimIdGenerator, IReferenceLocation
|
14
|
+
from SIMULTAN.Data.FlowNetworks import SimNetworkFactory
|
15
|
+
from SIMULTAN.Data.SimNetworks import SimNetwork
|
16
|
+
from SIMULTAN.Data.SitePlanner import SitePlannerManager
|
17
|
+
from SIMULTAN.Data.Taxonomy import SimTaxonomyCollection
|
18
|
+
from SIMULTAN.Data.Users import SimUsersManager, SimUser
|
19
|
+
from SIMULTAN.Data.MultiValues import SimMultiValueCollection, SimMultiValue
|
20
|
+
from SIMULTAN.Data.ValueMappings import SimValueMappingCollection
|
21
|
+
from System.Collections.ObjectModel import ObservableCollection_1
|
22
|
+
from System.Reflection import MethodInfo
|
23
|
+
|
24
|
+
class CompactProject(HierarchicalProject):
|
25
|
+
def __init__(self, id: Guid, _project_file: FileInfo, _all_managers: ExtendedProjectData, _files: ManagedFileCollection, _non_managed_files: IEnumerable_1[FileInfo], _contained_dirs: IEnumerable_1[DirectoryInfo], _associated_files: IEnumerable_1[FileInfo], _unpack_folder: DirectoryInfo) -> None: ...
|
26
|
+
@property
|
27
|
+
def AllProjectDataManagers(self) -> ExtendedProjectData: ...
|
28
|
+
@AllProjectDataManagers.setter
|
29
|
+
def AllProjectDataManagers(self, value: ExtendedProjectData) -> ExtendedProjectData: ...
|
30
|
+
@property
|
31
|
+
def AssociatedFilesCount(self) -> int: ...
|
32
|
+
@property
|
33
|
+
def AuthenticationSkipped(self) -> bool: ...
|
34
|
+
@AuthenticationSkipped.setter
|
35
|
+
def AuthenticationSkipped(self, value: bool) -> bool: ...
|
36
|
+
@property
|
37
|
+
def Children(self) -> HierarchicalProject.ChildProjectCollection: ...
|
38
|
+
@property
|
39
|
+
def ContainedDirectoriesCopy(self) -> List_1[DirectoryInfo]: ...
|
40
|
+
@property
|
41
|
+
def ContainsUnsavedChanges(self) -> bool: ...
|
42
|
+
@ContainsUnsavedChanges.setter
|
43
|
+
def ContainsUnsavedChanges(self, value: bool) -> bool: ...
|
44
|
+
@property
|
45
|
+
def GlobalID(self) -> Guid: ...
|
46
|
+
@property
|
47
|
+
def IsAuthenticated(self) -> bool: ...
|
48
|
+
@property
|
49
|
+
def IsLoaded(self) -> bool: ...
|
50
|
+
@property
|
51
|
+
def IsOpened(self) -> bool: ...
|
52
|
+
@property
|
53
|
+
def IsReadyForAuthentication(self) -> bool: ...
|
54
|
+
@property
|
55
|
+
def ManagedFiles(self) -> ManagedFileCollection: ...
|
56
|
+
@ManagedFiles.setter
|
57
|
+
def ManagedFiles(self, value: ManagedFileCollection) -> ManagedFileCollection: ...
|
58
|
+
@property
|
59
|
+
def Name(self) -> str: ...
|
60
|
+
@property
|
61
|
+
def NonManagedFiles(self) -> IReadOnlyList_1[FileInfo]: ...
|
62
|
+
@property
|
63
|
+
def ParentProjects(self) -> IReadOnlyList_1[HierarchicalProject]: ...
|
64
|
+
@property
|
65
|
+
def ProjectFile(self) -> FileInfo: ...
|
66
|
+
@property
|
67
|
+
def ProjectUnpackFolder(self) -> DirectoryInfo: ...
|
68
|
+
@ProjectUnpackFolder.setter
|
69
|
+
def ProjectUnpackFolder(self, value: DirectoryInfo) -> DirectoryInfo: ...
|
70
|
+
def UpdateBackupFile(self) -> None: ...
|
71
|
+
|
72
|
+
|
73
|
+
class ExtendedProjectData(ProjectData):
|
74
|
+
@typing.overload
|
75
|
+
def __init__(self) -> None: ...
|
76
|
+
@typing.overload
|
77
|
+
def __init__(self, synchronizationContext: ISynchronizeInvoke, dispatcherTimer: IDispatcherTimerFactory) -> None: ...
|
78
|
+
@property
|
79
|
+
def AssetManager(self) -> AssetManager: ...
|
80
|
+
@property
|
81
|
+
def ComponentGeometryExchange(self) -> ComponentGeometryExchange: ...
|
82
|
+
@property
|
83
|
+
def Components(self) -> SimComponentCollection: ...
|
84
|
+
@property
|
85
|
+
def DataMappingTools(self) -> SimDataMappingToolCollection: ...
|
86
|
+
@property
|
87
|
+
def DispatcherTimerFactory(self) -> IDispatcherTimerFactory: ...
|
88
|
+
@DispatcherTimerFactory.setter
|
89
|
+
def DispatcherTimerFactory(self, value: IDispatcherTimerFactory) -> IDispatcherTimerFactory: ...
|
90
|
+
@property
|
91
|
+
def GeometryModels(self) -> SimGeometryModelCollection: ...
|
92
|
+
@property
|
93
|
+
def GeometryRelations(self) -> SimGeometryRelationCollection: ...
|
94
|
+
@property
|
95
|
+
def IdGenerator(self) -> SimIdGenerator: ...
|
96
|
+
@property
|
97
|
+
def ImportLogFile(self) -> FileInfo: ...
|
98
|
+
@ImportLogFile.setter
|
99
|
+
def ImportLogFile(self, value: FileInfo) -> FileInfo: ...
|
100
|
+
@property
|
101
|
+
def MultiLinkManager(self) -> MultiLinkManager: ...
|
102
|
+
@property
|
103
|
+
def NetworkManager(self) -> SimNetworkFactory: ...
|
104
|
+
@property
|
105
|
+
def Owner(self) -> IReferenceLocation: ...
|
106
|
+
@Owner.setter
|
107
|
+
def Owner(self, value: IReferenceLocation) -> IReferenceLocation: ...
|
108
|
+
@property
|
109
|
+
def ParameterLibraryManager(self) -> ParameterFactory: ...
|
110
|
+
@property
|
111
|
+
def Project(self) -> HierarchicalProject: ...
|
112
|
+
@Project.setter
|
113
|
+
def Project(self, value: HierarchicalProject) -> HierarchicalProject: ...
|
114
|
+
@property
|
115
|
+
def SimNetworks(self) -> SimNetwork.SimNetworkCollection: ...
|
116
|
+
@property
|
117
|
+
def SitePlannerManager(self) -> SitePlannerManager: ...
|
118
|
+
@property
|
119
|
+
def SynchronizationContext(self) -> ISynchronizeInvoke: ...
|
120
|
+
@SynchronizationContext.setter
|
121
|
+
def SynchronizationContext(self, value: ISynchronizeInvoke) -> ISynchronizeInvoke: ...
|
122
|
+
@property
|
123
|
+
def Taxonomies(self) -> SimTaxonomyCollection: ...
|
124
|
+
@property
|
125
|
+
def UserComponentLists(self) -> SimUserComponentListCollection: ...
|
126
|
+
@property
|
127
|
+
def UsersManager(self) -> SimUsersManager: ...
|
128
|
+
@property
|
129
|
+
def ValueManager(self) -> SimMultiValueCollection: ...
|
130
|
+
@property
|
131
|
+
def ValueMappings(self) -> SimValueMappingCollection: ...
|
132
|
+
def Reset(self) -> None: ...
|
133
|
+
|
134
|
+
|
135
|
+
class HierarchicalProject(IReferenceLocation, abc.ABC):
|
136
|
+
@property
|
137
|
+
def AllProjectDataManagers(self) -> ExtendedProjectData: ...
|
138
|
+
@AllProjectDataManagers.setter
|
139
|
+
def AllProjectDataManagers(self, value: ExtendedProjectData) -> ExtendedProjectData: ...
|
140
|
+
@property
|
141
|
+
def AssociatedFilesCount(self) -> int: ...
|
142
|
+
@property
|
143
|
+
def AuthenticationSkipped(self) -> bool: ...
|
144
|
+
@AuthenticationSkipped.setter
|
145
|
+
def AuthenticationSkipped(self, value: bool) -> bool: ...
|
146
|
+
@property
|
147
|
+
def Children(self) -> HierarchicalProject.ChildProjectCollection: ...
|
148
|
+
@property
|
149
|
+
def ContainedDirectoriesCopy(self) -> List_1[DirectoryInfo]: ...
|
150
|
+
@property
|
151
|
+
def ContainsUnsavedChanges(self) -> bool: ...
|
152
|
+
@ContainsUnsavedChanges.setter
|
153
|
+
def ContainsUnsavedChanges(self, value: bool) -> bool: ...
|
154
|
+
@property
|
155
|
+
def GlobalID(self) -> Guid: ...
|
156
|
+
@property
|
157
|
+
def IsAuthenticated(self) -> bool: ...
|
158
|
+
@IsAuthenticated.setter
|
159
|
+
def IsAuthenticated(self, value: bool) -> bool: ...
|
160
|
+
@property
|
161
|
+
def IsLoaded(self) -> bool: ...
|
162
|
+
@IsLoaded.setter
|
163
|
+
def IsLoaded(self, value: bool) -> bool: ...
|
164
|
+
@property
|
165
|
+
def IsOpened(self) -> bool: ...
|
166
|
+
@IsOpened.setter
|
167
|
+
def IsOpened(self, value: bool) -> bool: ...
|
168
|
+
@property
|
169
|
+
def IsReadyForAuthentication(self) -> bool: ...
|
170
|
+
@IsReadyForAuthentication.setter
|
171
|
+
def IsReadyForAuthentication(self, value: bool) -> bool: ...
|
172
|
+
@property
|
173
|
+
def ManagedFiles(self) -> ManagedFileCollection: ...
|
174
|
+
@ManagedFiles.setter
|
175
|
+
def ManagedFiles(self, value: ManagedFileCollection) -> ManagedFileCollection: ...
|
176
|
+
@property
|
177
|
+
def Name(self) -> str: ...
|
178
|
+
@property
|
179
|
+
def NonManagedFiles(self) -> IReadOnlyList_1[FileInfo]: ...
|
180
|
+
@property
|
181
|
+
def ParentProjects(self) -> IReadOnlyList_1[HierarchicalProject]: ...
|
182
|
+
@property
|
183
|
+
def ProjectUnpackFolder(self) -> DirectoryInfo: ...
|
184
|
+
@ProjectUnpackFolder.setter
|
185
|
+
def ProjectUnpackFolder(self, value: DirectoryInfo) -> DirectoryInfo: ...
|
186
|
+
def AddEmptyGeoMapResource(self, _target: DirectoryInfo, _initial_file_name: str, nameCollisionFormat: str) -> ResourceFileEntry: ...
|
187
|
+
def AddEmptyGeometryResource(self, _target: DirectoryInfo, _initial_file_name: str, nameCollisionFormat: str, dispatcherTimer: IDispatcherTimerFactory) -> ResourceFileEntry: ...
|
188
|
+
def AddEmptyGeometryResourceWithoutCollisionCheck(self, _target: DirectoryInfo, file_name: str) -> ResourceFileEntry: ...
|
189
|
+
def AddEmptyResource(self, file: FileInfo) -> ResourceFileEntry: ...
|
190
|
+
def AddEmptySitePlannerResource(self, _target: DirectoryInfo, _initial_file_name: str, nameCollisionFormat: str) -> ResourceFileEntry: ...
|
191
|
+
def AddResourceFile(self, file: FileInfo, projectDataManager: ExtendedProjectData) -> None: ...
|
192
|
+
def AddUndifferentiated(self, _files: IEnumerable_1[FileInfo]) -> None: ...
|
193
|
+
def CanLinkAsResource(self, _file: FileInfo) -> ResourceLocationError: ...
|
194
|
+
def CanMoveResourceEntry(self, _resource: ResourceEntry, _target: ResourceDirectoryEntry, nameCollisionFormat: str) -> ValueTuple_2[bool, str]: ...
|
195
|
+
def CanRenameResourceEntry(self, _resource: ResourceEntry, _name: str, nameCollisionFormat: str, _name_is_full_name: bool = ...) -> ValueTuple_2[bool, str]: ...
|
196
|
+
def ContainedToLinked(self, _original: ContainedResourceFileEntry, _target_folder: DirectoryInfo, copyNameFormat: str) -> LinkedResourceFileEntry: ...
|
197
|
+
def CopyResource(self, source: ResourceEntry, _target: ResourceDirectoryEntry, nameCollisionFormat: str, newOwner: SimUser = ...) -> None: ...
|
198
|
+
def CopyResourceAsContainedFileEntry(self, file: FileInfo, targetDir: DirectoryInfo, copyNameFormat: str) -> ResourceEntry: ...
|
199
|
+
def CreateResourceDirIn(self, _dir_name: str, _target_dir: DirectoryInfo, collisionNameFormat: str) -> ResourceEntry: ...
|
200
|
+
def DeleteResource(self, _resource_to_delete: ResourceEntry) -> ValueTuple_2[bool, bool]: ...
|
201
|
+
def DisableProjectUnpackFolderWatcher(self) -> None: ...
|
202
|
+
def EnableProjectUnpackFolderWatcher(self) -> None: ...
|
203
|
+
def FindProjects(self, predicate: Predicate_1[HierarchicalProject]) -> IEnumerable_1[HierarchicalProject]: ...
|
204
|
+
def GetAssociatedFiles(self) -> None: ...
|
205
|
+
def GetCorresponding(self, _resource: ResourceEntry) -> ManagedFile: ...
|
206
|
+
def LinkedToContained(self, _original: LinkedResourceFileEntry, nameFormat: str) -> ContainedResourceFileEntry: ...
|
207
|
+
def LinkResourceFile(self, _file: FileInfo, _target_dir: DirectoryInfo, _allow_duplicates: bool) -> ValueTuple_2[ResourceEntry, bool]: ...
|
208
|
+
@staticmethod
|
209
|
+
def LoadDefaultTaxonomies(projectData: ExtendedProjectData) -> bool: ...
|
210
|
+
def MoveResourceEntry(self, _resource: ResourceEntry, _target: ResourceDirectoryEntry, nameCollisionFormat: str, _check_admissibility: bool) -> None: ...
|
211
|
+
def OnFileImportTimeout(self, file: FileInfo) -> None: ...
|
212
|
+
def OnProjectAuthenticated(self, _successfully: bool) -> None: ...
|
213
|
+
def OnProjectClosed(self) -> None: ...
|
214
|
+
def OnProjectLoaded(self) -> None: ...
|
215
|
+
def OnProjectOpened(self) -> None: ...
|
216
|
+
def OnProjectReadyForAuthentication(self) -> None: ...
|
217
|
+
def OnProjectUnloaded(self) -> None: ...
|
218
|
+
def OnProjectUpToDateChanged(self, isUpToDate: bool) -> None: ...
|
219
|
+
def PassNonManagedAndAllDirs(self, _non_managed_files: IEnumerable_1[FileInfo], _contained_dirs: IEnumerable_1[DirectoryInfo]) -> None: ...
|
220
|
+
def RenameResourceEntry(self, _resource: ResourceEntry, _name: str, nameCollisionFormat: str) -> None: ...
|
221
|
+
def ReplaceLinkedResource(self, _resource: ResourceEntry, _new_file: FileInfo, _allow_duplicates: bool) -> bool: ...
|
222
|
+
def ReplaceManagedFiles(self, _old_files: IEnumerable_1[FileInfo], _new_files: IEnumerable_1[FileInfo]) -> None: ...
|
223
|
+
def ResetNonManaged(self) -> None: ...
|
224
|
+
# Skipped IsInProject due to it being static, abstract and generic.
|
225
|
+
|
226
|
+
IsInProject : IsInProject_MethodGroup
|
227
|
+
class IsInProject_MethodGroup:
|
228
|
+
@typing.overload
|
229
|
+
def __call__(self, _calculation: SimCalculation) -> bool:...
|
230
|
+
@typing.overload
|
231
|
+
def __call__(self, _component: SimComponent) -> bool:...
|
232
|
+
@typing.overload
|
233
|
+
def __call__(self, multiValue: SimMultiValue) -> bool:...
|
234
|
+
@typing.overload
|
235
|
+
def __call__(self, _parameter: SimBaseParameter) -> bool:...
|
236
|
+
@typing.overload
|
237
|
+
def __call__(self, resource: ResourceEntry) -> bool:...
|
238
|
+
|
239
|
+
|
240
|
+
class ChildProjectCollection(ObservableCollection_1[HierarchicalProject]):
|
241
|
+
def __init__(self, owner: HierarchicalProject) -> None: ...
|
242
|
+
@property
|
243
|
+
def Count(self) -> int: ...
|
244
|
+
@property
|
245
|
+
def Item(self) -> HierarchicalProject: ...
|
246
|
+
@Item.setter
|
247
|
+
def Item(self, value: HierarchicalProject) -> HierarchicalProject: ...
|
248
|
+
|
249
|
+
|
250
|
+
class FileImportTimeoutEventHandler(MulticastDelegate):
|
251
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
252
|
+
@property
|
253
|
+
def Method(self) -> MethodInfo: ...
|
254
|
+
@property
|
255
|
+
def Target(self) -> typing.Any: ...
|
256
|
+
def BeginInvoke(self, sender: typing.Any, file: FileInfo, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
257
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
258
|
+
def Invoke(self, sender: typing.Any, file: FileInfo) -> None: ...
|
259
|
+
|
260
|
+
|
261
|
+
class ProjectAuthenticatedEventHandler(MulticastDelegate):
|
262
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
263
|
+
@property
|
264
|
+
def Method(self) -> MethodInfo: ...
|
265
|
+
@property
|
266
|
+
def Target(self) -> typing.Any: ...
|
267
|
+
def BeginInvoke(self, sender: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
268
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
269
|
+
def Invoke(self, sender: typing.Any) -> None: ...
|
270
|
+
|
271
|
+
|
272
|
+
class ProjectClosedEventHandler(MulticastDelegate):
|
273
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
274
|
+
@property
|
275
|
+
def Method(self) -> MethodInfo: ...
|
276
|
+
@property
|
277
|
+
def Target(self) -> typing.Any: ...
|
278
|
+
def BeginInvoke(self, sender: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
279
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
280
|
+
def Invoke(self, sender: typing.Any) -> None: ...
|
281
|
+
|
282
|
+
|
283
|
+
class ProjectLoadedEventHandler(MulticastDelegate):
|
284
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
285
|
+
@property
|
286
|
+
def Method(self) -> MethodInfo: ...
|
287
|
+
@property
|
288
|
+
def Target(self) -> typing.Any: ...
|
289
|
+
def BeginInvoke(self, sender: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
290
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
291
|
+
def Invoke(self, sender: typing.Any) -> None: ...
|
292
|
+
|
293
|
+
|
294
|
+
class ProjectOpenedEventHandler(MulticastDelegate):
|
295
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
296
|
+
@property
|
297
|
+
def Method(self) -> MethodInfo: ...
|
298
|
+
@property
|
299
|
+
def Target(self) -> typing.Any: ...
|
300
|
+
def BeginInvoke(self, sender: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
301
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
302
|
+
def Invoke(self, sender: typing.Any) -> None: ...
|
303
|
+
|
304
|
+
|
305
|
+
class ProjectReadyForAuthenticationEventHandler(MulticastDelegate):
|
306
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
307
|
+
@property
|
308
|
+
def Method(self) -> MethodInfo: ...
|
309
|
+
@property
|
310
|
+
def Target(self) -> typing.Any: ...
|
311
|
+
def BeginInvoke(self, sender: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
312
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
313
|
+
def Invoke(self, sender: typing.Any) -> None: ...
|
314
|
+
|
315
|
+
|
316
|
+
class ProjectUnloadedEventHandler(MulticastDelegate):
|
317
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
318
|
+
@property
|
319
|
+
def Method(self) -> MethodInfo: ...
|
320
|
+
@property
|
321
|
+
def Target(self) -> typing.Any: ...
|
322
|
+
def BeginInvoke(self, sender: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
323
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
324
|
+
def Invoke(self, sender: typing.Any) -> None: ...
|
325
|
+
|
326
|
+
|
327
|
+
class ProjectUpToDateChangedEventHandler(MulticastDelegate):
|
328
|
+
def __init__(self, object: typing.Any, method: int) -> None: ...
|
329
|
+
@property
|
330
|
+
def Method(self) -> MethodInfo: ...
|
331
|
+
@property
|
332
|
+
def Target(self) -> typing.Any: ...
|
333
|
+
def BeginInvoke(self, sender: typing.Any, isUpToDate: bool, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
|
334
|
+
def EndInvoke(self, result: IAsyncResult) -> None: ...
|
335
|
+
def Invoke(self, sender: typing.Any, isUpToDate: bool) -> None: ...
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
class HierarchicProjectMetaData:
|
340
|
+
@typing.overload
|
341
|
+
def __init__(self) -> None: ...
|
342
|
+
@typing.overload
|
343
|
+
def __init__(self, _project_id: Guid, _children: Dictionary_2[Guid, str]) -> None: ...
|
344
|
+
@typing.overload
|
345
|
+
def __init__(self, original: HierarchicProjectMetaData) -> None: ...
|
346
|
+
@property
|
347
|
+
def ChildProjects(self) -> Dictionary_2[Guid, str]: ...
|
348
|
+
@property
|
349
|
+
def ProjectId(self) -> Guid: ...
|
350
|
+
def AddChildProject(self, _project_id: Guid, _project_folder: DirectoryInfo, _child_project_folder: DirectoryInfo) -> None: ...
|
351
|
+
def RemoveChildProject(self, _project_id: Guid) -> None: ...
|
352
|
+
|
353
|
+
|
354
|
+
class ProjectData(abc.ABC):
|
355
|
+
def __init__(self, synchronizationContext: ISynchronizeInvoke, dispatcherTimer: IDispatcherTimerFactory) -> None: ...
|
356
|
+
@property
|
357
|
+
def AssetManager(self) -> AssetManager: ...
|
358
|
+
@property
|
359
|
+
def ComponentGeometryExchange(self) -> ComponentGeometryExchange: ...
|
360
|
+
@property
|
361
|
+
def Components(self) -> SimComponentCollection: ...
|
362
|
+
@property
|
363
|
+
def DataMappingTools(self) -> SimDataMappingToolCollection: ...
|
364
|
+
@property
|
365
|
+
def DispatcherTimerFactory(self) -> IDispatcherTimerFactory: ...
|
366
|
+
@DispatcherTimerFactory.setter
|
367
|
+
def DispatcherTimerFactory(self, value: IDispatcherTimerFactory) -> IDispatcherTimerFactory: ...
|
368
|
+
@property
|
369
|
+
def GeometryModels(self) -> SimGeometryModelCollection: ...
|
370
|
+
@property
|
371
|
+
def GeometryRelations(self) -> SimGeometryRelationCollection: ...
|
372
|
+
@property
|
373
|
+
def IdGenerator(self) -> SimIdGenerator: ...
|
374
|
+
@property
|
375
|
+
def ImportLogFile(self) -> FileInfo: ...
|
376
|
+
@ImportLogFile.setter
|
377
|
+
def ImportLogFile(self, value: FileInfo) -> FileInfo: ...
|
378
|
+
@property
|
379
|
+
def MultiLinkManager(self) -> MultiLinkManager: ...
|
380
|
+
@property
|
381
|
+
def NetworkManager(self) -> SimNetworkFactory: ...
|
382
|
+
@property
|
383
|
+
def Owner(self) -> IReferenceLocation: ...
|
384
|
+
@Owner.setter
|
385
|
+
def Owner(self, value: IReferenceLocation) -> IReferenceLocation: ...
|
386
|
+
@property
|
387
|
+
def ParameterLibraryManager(self) -> ParameterFactory: ...
|
388
|
+
@property
|
389
|
+
def SimNetworks(self) -> SimNetwork.SimNetworkCollection: ...
|
390
|
+
@property
|
391
|
+
def SitePlannerManager(self) -> SitePlannerManager: ...
|
392
|
+
@property
|
393
|
+
def SynchronizationContext(self) -> ISynchronizeInvoke: ...
|
394
|
+
@SynchronizationContext.setter
|
395
|
+
def SynchronizationContext(self, value: ISynchronizeInvoke) -> ISynchronizeInvoke: ...
|
396
|
+
@property
|
397
|
+
def Taxonomies(self) -> SimTaxonomyCollection: ...
|
398
|
+
@property
|
399
|
+
def UserComponentLists(self) -> SimUserComponentListCollection: ...
|
400
|
+
@property
|
401
|
+
def UsersManager(self) -> SimUsersManager: ...
|
402
|
+
@property
|
403
|
+
def ValueManager(self) -> SimMultiValueCollection: ...
|
404
|
+
@property
|
405
|
+
def ValueMappings(self) -> SimValueMappingCollection: ...
|
406
|
+
def Clear(self) -> None: ...
|
407
|
+
def RestoreDefaultTaxonomyReferences(self, taxonomyFileVersion: int = ...) -> None: ...
|
408
|
+
def SetCallingLocation(self, caller: IReferenceLocation) -> None: ...
|
409
|
+
|
410
|
+
|
411
|
+
class ResourceReference:
|
412
|
+
@typing.overload
|
413
|
+
def __init__(self, projectId: Guid, res: ResourceFileEntry) -> None: ...
|
414
|
+
@typing.overload
|
415
|
+
def __init__(self, projectId: Guid, resourceIndex: int) -> None: ...
|
416
|
+
@typing.overload
|
417
|
+
def __init__(self, projectId: Guid, resourceIndex: int, assetManager: AssetManager) -> None: ...
|
418
|
+
@property
|
419
|
+
def Exists(self) -> bool: ...
|
420
|
+
@property
|
421
|
+
def ProjectId(self) -> Guid: ...
|
422
|
+
@ProjectId.setter
|
423
|
+
def ProjectId(self, value: Guid) -> Guid: ...
|
424
|
+
@property
|
425
|
+
def ResourceFile(self) -> ResourceFileEntry: ...
|
426
|
+
@ResourceFile.setter
|
427
|
+
def ResourceFile(self, value: ResourceFileEntry) -> ResourceFileEntry: ...
|
428
|
+
@property
|
429
|
+
def ResourceIndex(self) -> int: ...
|
430
|
+
@ResourceIndex.setter
|
431
|
+
def ResourceIndex(self, value: int) -> int: ...
|
432
|
+
def Equals(self, obj: typing.Any) -> bool: ...
|
433
|
+
def GetHashCode(self) -> int: ...
|
434
|
+
def LazyLoad(self, assetManager: AssetManager) -> None: ...
|
435
|
+
|
@@ -0,0 +1,103 @@
|
|
1
|
+
import typing, abc
|
2
|
+
from SIMULTAN.Serializer.DXF import DXFSkipSectionParserElement, DXFParserInfo, DXFStreamReader, DXFStreamWriter, DXFSectionParserElement_1, DXFParserResultSet, DXFEntityParserElementBase_1
|
3
|
+
from System.IO import FileInfo
|
4
|
+
from System.Collections.Generic import IEnumerable_1
|
5
|
+
from SIMULTAN.Data.Components import SimComponent, SimSlot, SimBaseParameter
|
6
|
+
from SIMULTAN.Data.FlowNetworks import SimFlowNetwork
|
7
|
+
from SIMULTAN.Projects import ProjectData
|
8
|
+
from System import ValueTuple_2
|
9
|
+
from SIMULTAN.Data.ValueMappings import SimPrefilter, SimColorMap, SimValueMapping
|
10
|
+
|
11
|
+
class ComponentDxfIO(abc.ABC):
|
12
|
+
ImportantSection : DXFSkipSectionParserElement
|
13
|
+
@staticmethod
|
14
|
+
def WriteLibrary(file: FileInfo, components: IEnumerable_1[SimComponent], networks: IEnumerable_1[SimFlowNetwork]) -> None: ...
|
15
|
+
# Skipped Read due to it being static, abstract and generic.
|
16
|
+
|
17
|
+
Read : Read_MethodGroup
|
18
|
+
class Read_MethodGroup:
|
19
|
+
@typing.overload
|
20
|
+
def __call__(self, file: FileInfo, parserInfo: DXFParserInfo) -> None:...
|
21
|
+
@typing.overload
|
22
|
+
def __call__(self, reader: DXFStreamReader, parserInfo: DXFParserInfo) -> None:...
|
23
|
+
|
24
|
+
# Skipped ReadLibrary due to it being static, abstract and generic.
|
25
|
+
|
26
|
+
ReadLibrary : ReadLibrary_MethodGroup
|
27
|
+
class ReadLibrary_MethodGroup:
|
28
|
+
@typing.overload
|
29
|
+
def __call__(self, file: FileInfo, parserInfo: DXFParserInfo) -> None:...
|
30
|
+
@typing.overload
|
31
|
+
def __call__(self, reader: DXFStreamReader, parserInfo: DXFParserInfo) -> None:...
|
32
|
+
|
33
|
+
# Skipped ReadPublic due to it being static, abstract and generic.
|
34
|
+
|
35
|
+
ReadPublic : ReadPublic_MethodGroup
|
36
|
+
class ReadPublic_MethodGroup:
|
37
|
+
@typing.overload
|
38
|
+
def __call__(self, file: FileInfo, parserInfo: DXFParserInfo) -> None:...
|
39
|
+
@typing.overload
|
40
|
+
def __call__(self, reader: DXFStreamReader, parserInfo: DXFParserInfo) -> None:...
|
41
|
+
|
42
|
+
# Skipped Write due to it being static, abstract and generic.
|
43
|
+
|
44
|
+
Write : Write_MethodGroup
|
45
|
+
class Write_MethodGroup:
|
46
|
+
@typing.overload
|
47
|
+
def __call__(self, file: FileInfo, projectData: ProjectData) -> None:...
|
48
|
+
@typing.overload
|
49
|
+
def __call__(self, writer: DXFStreamWriter, projectData: ProjectData) -> None:...
|
50
|
+
|
51
|
+
# Skipped WritePublic due to it being static, abstract and generic.
|
52
|
+
|
53
|
+
WritePublic : WritePublic_MethodGroup
|
54
|
+
class WritePublic_MethodGroup:
|
55
|
+
@typing.overload
|
56
|
+
def __call__(self, file: FileInfo, projectData: ProjectData) -> None:...
|
57
|
+
@typing.overload
|
58
|
+
def __call__(self, writer: DXFStreamWriter, projectData: ProjectData) -> None:...
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
class ComponentDxfIOComponents(abc.ABC):
|
63
|
+
ComponentSectionEntityElement : DXFSectionParserElement_1[ValueTuple_2[SimSlot, SimComponent]]
|
64
|
+
@staticmethod
|
65
|
+
def ParseBaseParameter(data: DXFParserResultSet, info: DXFParserInfo) -> SimBaseParameter: ...
|
66
|
+
|
67
|
+
class ParameterType(typing.SupportsInt):
|
68
|
+
@typing.overload
|
69
|
+
def __init__(self, value : int) -> None: ...
|
70
|
+
@typing.overload
|
71
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
72
|
+
def __int__(self) -> int: ...
|
73
|
+
|
74
|
+
# Values:
|
75
|
+
Double : ComponentDxfIOComponents.ParameterType # 0
|
76
|
+
Integer : ComponentDxfIOComponents.ParameterType # 1
|
77
|
+
Boolean : ComponentDxfIOComponents.ParameterType # 2
|
78
|
+
String : ComponentDxfIOComponents.ParameterType # 3
|
79
|
+
Enum : ComponentDxfIOComponents.ParameterType # 4
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
class ComponentDxfIONetworks(abc.ABC):
|
84
|
+
pass
|
85
|
+
|
86
|
+
|
87
|
+
class ComponentDxfIOResources(abc.ABC):
|
88
|
+
pass
|
89
|
+
|
90
|
+
|
91
|
+
class ComponentDxfIOSimNetworks(abc.ABC):
|
92
|
+
pass
|
93
|
+
|
94
|
+
|
95
|
+
class ComponentDxfIOValueMappings(abc.ABC):
|
96
|
+
AveragePrefilterEntityElement : DXFEntityParserElementBase_1[SimPrefilter]
|
97
|
+
DefaultPrefilterEntityElement : DXFEntityParserElementBase_1[SimPrefilter]
|
98
|
+
LinearGradientColorMapEntityElement : DXFEntityParserElementBase_1[SimColorMap]
|
99
|
+
MaximumPrefilterEntityElement : DXFEntityParserElementBase_1[SimPrefilter]
|
100
|
+
MinimumPrefilterEntityElement : DXFEntityParserElementBase_1[SimPrefilter]
|
101
|
+
ThresholdColorMapEntityElement : DXFEntityParserElementBase_1[SimColorMap]
|
102
|
+
ValueMappingEntityElement : DXFEntityParserElementBase_1[SimValueMapping]
|
103
|
+
|
@@ -0,0 +1,122 @@
|
|
1
|
+
import typing, abc
|
2
|
+
from SIMULTAN.Data.MultiValues import SimMultiValueBigTable, SimMultiValueCollection, SimMultiValueBigTableHeader
|
3
|
+
from System.Collections.Generic import List_1
|
4
|
+
from System import Exception, Array_1
|
5
|
+
from System.Collections import IDictionary
|
6
|
+
from System.Reflection import MethodBase
|
7
|
+
from System.IO import FileInfo
|
8
|
+
from System.ComponentModel import ISynchronizeInvoke
|
9
|
+
from System.Text import Encoding
|
10
|
+
|
11
|
+
class BigTableToCSVExporter(abc.ABC):
|
12
|
+
@staticmethod
|
13
|
+
def ExportToCSV(table: SimMultiValueBigTable, filePathAndName: str, delimiter: str, decimalSeparator: str, rowHeaderHeader: str, columnHeaders: bool, rowHeaders: bool, columnUnits: bool, rowUnits: bool) -> None: ...
|
14
|
+
|
15
|
+
|
16
|
+
class CSVExporter:
|
17
|
+
def __init__(self, nrColumns: int, csvDelimiter: str = ...) -> None: ...
|
18
|
+
CSV_LINEDELIMITER : str
|
19
|
+
@property
|
20
|
+
def CSV_DELIMITER(self) -> str: ...
|
21
|
+
@CSV_DELIMITER.setter
|
22
|
+
def CSV_DELIMITER(self, value: str) -> str: ...
|
23
|
+
def AddMultipleRecords(self, records: List_1[List_1[str]]) -> None: ...
|
24
|
+
def AddRecord(self, record: List_1[str]) -> None: ...
|
25
|
+
def WriteFile(self, filePath: str) -> None: ...
|
26
|
+
|
27
|
+
|
28
|
+
class CSVImportException(Exception):
|
29
|
+
def __init__(self, reason: CSVImportExceptionReason, data: Array_1[typing.Any]) -> None: ...
|
30
|
+
@property
|
31
|
+
def Data(self) -> IDictionary: ...
|
32
|
+
@property
|
33
|
+
def HelpLink(self) -> str: ...
|
34
|
+
@HelpLink.setter
|
35
|
+
def HelpLink(self, value: str) -> str: ...
|
36
|
+
@property
|
37
|
+
def HResult(self) -> int: ...
|
38
|
+
@HResult.setter
|
39
|
+
def HResult(self, value: int) -> int: ...
|
40
|
+
@property
|
41
|
+
def InnerException(self) -> Exception: ...
|
42
|
+
@property
|
43
|
+
def Message(self) -> str: ...
|
44
|
+
@property
|
45
|
+
def Reason(self) -> CSVImportExceptionReason: ...
|
46
|
+
@property
|
47
|
+
def ReasonData(self) -> Array_1[typing.Any]: ...
|
48
|
+
@property
|
49
|
+
def Source(self) -> str: ...
|
50
|
+
@Source.setter
|
51
|
+
def Source(self, value: str) -> str: ...
|
52
|
+
@property
|
53
|
+
def StackTrace(self) -> str: ...
|
54
|
+
@property
|
55
|
+
def TargetSite(self) -> MethodBase: ...
|
56
|
+
|
57
|
+
|
58
|
+
class CSVImportExceptionReason(typing.SupportsInt):
|
59
|
+
@typing.overload
|
60
|
+
def __init__(self, value : int) -> None: ...
|
61
|
+
@typing.overload
|
62
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
63
|
+
def __int__(self) -> int: ...
|
64
|
+
|
65
|
+
# Values:
|
66
|
+
EmptyFile : CSVImportExceptionReason # 0
|
67
|
+
NotEnoughRows : CSVImportExceptionReason # 1
|
68
|
+
NotEnoughColumns : CSVImportExceptionReason # 2
|
69
|
+
ColumnCountMismatch : CSVImportExceptionReason # 3
|
70
|
+
ParseError : CSVImportExceptionReason # 4
|
71
|
+
|
72
|
+
|
73
|
+
class CSVToValueFieldImporter(abc.ABC):
|
74
|
+
@staticmethod
|
75
|
+
def ConvertCsvToMultiValueBigTableComponents(file: FileInfo, settings: CSVToValueFieldImporterSettings, rowHeaderFormat: str, rowHeaderUnit: str, columnHeaderFormat: str, columnHeaderUnit: str) -> MultiValueBigTableComponents: ...
|
76
|
+
@staticmethod
|
77
|
+
def Import(collection: SimMultiValueCollection, file: FileInfo, settings: CSVToValueFieldImporterSettings, unitRows: str, unitColumns: str, rowHeaderFormat: str, rowHeaderUnit: str, columnHeaderFormat: str, columnHeaderUnit: str, dispatcher: ISynchronizeInvoke = ...) -> SimMultiValueBigTable: ...
|
78
|
+
|
79
|
+
|
80
|
+
class CSVToValueFieldImporterSettings:
|
81
|
+
def __init__(self) -> None: ...
|
82
|
+
@property
|
83
|
+
def DecimalSeparator(self) -> str: ...
|
84
|
+
@DecimalSeparator.setter
|
85
|
+
def DecimalSeparator(self, value: str) -> str: ...
|
86
|
+
@property
|
87
|
+
def Delimiter(self) -> str: ...
|
88
|
+
@Delimiter.setter
|
89
|
+
def Delimiter(self, value: str) -> str: ...
|
90
|
+
@property
|
91
|
+
def HasColumnHeaders(self) -> bool: ...
|
92
|
+
@HasColumnHeaders.setter
|
93
|
+
def HasColumnHeaders(self, value: bool) -> bool: ...
|
94
|
+
@property
|
95
|
+
def HasColumnUnits(self) -> bool: ...
|
96
|
+
@HasColumnUnits.setter
|
97
|
+
def HasColumnUnits(self, value: bool) -> bool: ...
|
98
|
+
@property
|
99
|
+
def HasRowHeaders(self) -> bool: ...
|
100
|
+
@HasRowHeaders.setter
|
101
|
+
def HasRowHeaders(self, value: bool) -> bool: ...
|
102
|
+
@property
|
103
|
+
def HasRowUnits(self) -> bool: ...
|
104
|
+
@HasRowUnits.setter
|
105
|
+
def HasRowUnits(self, value: bool) -> bool: ...
|
106
|
+
@property
|
107
|
+
def Name(self) -> str: ...
|
108
|
+
@Name.setter
|
109
|
+
def Name(self, value: str) -> str: ...
|
110
|
+
|
111
|
+
|
112
|
+
class FileHelper(abc.ABC):
|
113
|
+
@staticmethod
|
114
|
+
def GetEncoding(filename: str) -> Encoding: ...
|
115
|
+
|
116
|
+
|
117
|
+
class MultiValueBigTableComponents:
|
118
|
+
def __init__(self, columnHeaders: List_1[SimMultiValueBigTableHeader], rowHeaders: List_1[SimMultiValueBigTableHeader], values: List_1[List_1[typing.Any]]) -> None: ...
|
119
|
+
ColumnHeaders : List_1[SimMultiValueBigTableHeader]
|
120
|
+
RowHeaders : List_1[SimMultiValueBigTableHeader]
|
121
|
+
Values : List_1[List_1[typing.Any]]
|
122
|
+
|