Skip to main content
Namespace: VM.Managed.DAFUL.GearTrain.Force
Assembly: VMDGearTrain.dll
Property of Motor EM Force

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← Object<PropertyEventCore> ← ContainerObject<PropertyEventCore> ← Property ← PropertyMotorEMForce

Implements

IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, ILinkContainer, IOwned, IHasID

Inherited Members

Property.Initialize(Unit.ConvertFactor), Property.PropertyRequestUpdate(object, LinkEventArgs), Property.OnUpdatePropertyImpl(Property, LinkEventArgs), Property.GetUnnamedObjectName(object), Property.FindLocal(string), Property.Draw(Canvas, TMatrix, TMatrix, bool), ContainerObject<PropertyEventCore>.Find(string), ContainerObject<PropertyEventCore>.FindLocal(string), ContainerObject<PropertyEventCore>.GetUnnamedObjectName(object), ContainerObject<PropertyEventCore>.GetNewEntityName(string), ContainerObject<PropertyEventCore>.GetNewEntityName(string, bool, int), ContainerObject<PropertyEventCore>.GetNewEntityName(string, bool, int, int), Object<PropertyEventCore>.GetKey(), Object<PropertyEventCore>.Initialize(Unit.ConvertFactor), Object<PropertyEventCore>.SetIconColor(Canvas), Object<PropertyEventCore>.OnDeserialization(object), Object<PropertyEventCore>.CustomGetObjectData(SerializationInfo, StreamingContext), Object<PropertyEventCore>.RollbackEvent(), Object<PropertyEventCore>.OnDeserializedCore(object), Object<PropertyEventCore>.Key, Object<PropertyEventCore>.UntypedEventCore, Object<PropertyEventCore>.EventCore, Object<PropertyEventCore>.Attributes, ObjectBase.ReplaceEventCore(ObjectEventCore), ObjectBase.SetModifiedCore(ModifiedResult.ModifiedType), ObjectBase.AddPostDeserialize(StreamingContext), ObjectBase.LinkAddedToDocumentCore(IOwned, bool), ObjectBase.SetModified(ModifiedResult.ModifiedType), ObjectBase.SetModified(), ObjectBase.SetModified(ModifiedResult.ModifiedType, IDocument), ObjectBase.DestroyObject(object, LinkEventArgs), ObjectBase.DestroyObject(DestroyEventArgs), ObjectBase.DestroyObject(), ObjectBase.Initialize(Unit.ConvertFactor), ObjectBase.FixUp(ObjectBase), ObjectBase.DoWorkAfterUpdateContents(), ObjectBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), ObjectBase.SetIconColor(Canvas), ObjectBase.RemoveFromCreatedList(), ObjectBase.PostAddToDocument(), ObjectBase.PostRemoveFromDocument(Document), ObjectBase.GetArgumentList(LinkedList<ObjectBase>), ObjectBase.ResetInvalidEntity(), ObjectBase.OnDeserialization(object), ObjectBase.IsSerializableEvent(Delegate), ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext), ObjectBase.CheckAndUpdateLink(HashSet<ObjectBase>), ObjectBase.Verify(VerifiedResult), ObjectBase.ConnectProxy(), ObjectBase.RollbackEvent(), ObjectBase.LinkRequestUpdating(object, LinkEventArgs), ObjectBase.LinkRequestUpdate(object, LinkEventArgs), ObjectBase.LinkRequestDestroying(object, LinkEventArgs), ObjectBase.LinkRequestDestroy(object, LinkEventArgs), ObjectBase.LinkAddedToDocument(object, AddToDocEventArgs), ObjectBase.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), ObjectBase.DisposeManagedResources(), ObjectBase.GetDestroyEventExtraData(), ObjectBase.OnLinkReserved(ILink, object, EventArgs), ObjectBase.CreateEntityWhenUpdateContents(Action), ObjectBase.GetObjectByKey(UIntPtr), ObjectBase.FindObjectOnXmlDeserialize(string), ObjectBase.UpdateContents(XmlReader, ObjectBase, string), ObjectBase.UpdateContents(XmlReader, ObjectBase), ObjectBase.UpdateContents(string, string), ObjectBase.UpdateContents(string), ObjectBase.SetFlagWhenXMLFile(string, bool), ObjectBase.IsEqualArray<T>(T[], T[]), ObjectBase.IsEqualList(List<double>, List<double>), ObjectBase.SetContainer(IOwned, bool), ObjectBase.GetTargetListForUpdate(), ObjectBase.SkipUpdateObjectImpl(), ObjectBase.raise_OnUpdating(object, LinkEventArgs), ObjectBase.raise_OnUpdate(object, LinkEventArgs), ObjectBase.raise_OnDestroying(object, LinkEventArgs), ObjectBase.raise_OnDestroy(object, LinkEventArgs), ObjectBase.raise_Destroying(object, Identifier), ObjectBase.raise_OnAdded(object, AddToDocEventArgs), ObjectBase.raise_OnRemoved(object, RemoveFromDocEventArgs), ObjectBase.raise_OnContentsUpdated(object, EventArgs), ObjectBase.Dispose(bool), ObjectBase.SkipModified, ObjectBase.ClearChildInfoBeforeDeserialize, ObjectBase.KeyImpl, ObjectBase.ID, ObjectBase.TopologyEntityTypeName, ObjectBase.ObjectStateForCircularError, ObjectBase.ObjectState, ObjectBase.IsChildExternable, ObjectBase.IsExternable, ObjectBase.Container, ObjectBase.Owner, ObjectBase.Document, ObjectBase.UntypedEventCore, ObjectBase.KernelKey, ObjectBase.Key, ObjectBase.OnContentsUpdated, ObjectBase.OnRemoved, ObjectBase.OnAdded, ObjectBase.Destroying, ObjectBase.OnDestroy, ObjectBase.OnDestroying, ObjectBase.OnUpdate, ObjectBase.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

PropertyMotorEMForce()

Initializes a new instance of the PropertyMotorEMForce class.

Properties

Depth

Gets or sets the depth.

Property Value

ExpressionValueVariable

Exceptions

Exception Depth is null.

FileFormat

Gets or sets the file format.

Property Value

PropertyMotorEMForce.FileFormatType

ForceUNVFiles

Gets or sets the force unv files.

Property Value

PropertyMotorEMForce.UNVFileWithRPM[]

GeometryUNVFile

Gets or sets the geometry unv file.

Property Value

PropertyMotorEMForce.UNVFile

InitialPositionAngle

Gets or sets the initial position angle.

Property Value

ExpressionValueVariable

Exceptions

Exception Initial position angle is null.

MaxwellForceFile

Gets or sets the Maxwell force file.

Property Value

string

MaxwellGeometryFile

Gets or sets the Maxwell geometry file.

Property Value

string

NumberOfLayer

Gets or sets the number of layer.

Property Value

ExpressionValueVariable

Exceptions

Exception Number of layer is null.

ReferenceFrame

Gets or sets the reference frame.

Property Value

TransformBase

ReferenceOfRotational

Gets or sets the reference Of rotational.

Property Value

ObjectBase

ResultFile

Gets or sets the result file.

Property Value

string

Scale

Gets or sets the scale.

Property Value

Scale

Methods

CheckAMGeometryAndForceFile(Document, string, string, TMatrix)

Parameters

doc Document strGeometryAMFilePath string strForceAMFilePath string transform TMatrix

CheckResultAMFile(string)

Check result AM file

Parameters

strResultAMFilePath string

Returns

bool

CheckUNVFiles(Document, IEnumerable<string>, TMatrix)

Check UNV files

Parameters

document Document The document. filesPath IEnumerable<string> The force UNV files. transform TMatrix The transform.

CheckUNVFiles(Document, string, string[], TMatrix)

Check UNV files

Parameters

doc Document The document. strGeometryUNVFilePath string The geometry UNV file. arForceUNVFilePath string[] The force UNV files. transform TMatrix The transform.

GetGlobalPosition(Vector, TMatrix)

Gets global position

Parameters

vecLocal Vector The local position matT TMatrix The Reference matrix

Returns

Vector

GetNodeCountFromAMFile(Document, string, string, TMatrix)

Parameters

doc Document strGeometryAMFilePath string strForceAMFilePath string transform TMatrix

Returns

Tuple<int, int>

GetNodeCountFromUNVFile(Document, string, TMatrix)

Get node count from UNV file.

Parameters

document Document The document. forceUNVFilePath string The force UNV file. transform TMatrix The transform.

Returns

int

GetNodeCountFromUNVFile(Document, string, string, TMatrix)

Get node count from UNV file.

Parameters

doc Document The document. strGeometryUNVFilePath string The geometry UNV file. strForceUNVFilePath string The force UNV file. transform TMatrix The transform.

Returns

int

GetRotorPosition(Document, string, int, int)

Gets rotor position

Parameters

doc Document The document strResultFile string The result file nIndexRotor int The rotor index nTotalRotor int The total rotor number

Returns

Vector

GetRotorPosition(Document, string, TMatrix, int, int)

Gets rotor position

Parameters

doc Document The document strResultFile string The result file matRef TMatrix The reference matrix nIndexRotor int The rotor index nTotalRotor int The total rotor number

Returns

Vector

Initialize(ConvertFactor)

Initializes member through unit convert factor.

Parameters

factor Unit.ConvertFactor The unit convert factor.

OnDeserialization(object)

Called when [deserialization].

Parameters

sender object The sender.

ReadAMGeometryAndForceFile(Document, string, string, TMatrix, out Dictionary<VectorBase, VectorBase>, out Dictionary<VectorBase, VectorBase>)

Read AM geometry and force file

Parameters

doc Document The document. strGeometryAMFilePath string The AM geometry file path strForceAMFilePath string The AM force file path transform TMatrix The transform startToEndPointStator Dictionary<VectorBase, VectorBase> The stator start and end point container. startToEndPointRotor Dictionary<VectorBase, VectorBase> The rotor start and end point container.

ReadResultAMFile(Document, string, out MaxwellResultInformation)

Read result AM file

Parameters

doc Document The document. strResultAMFilePath string The force file path. maxwellResultInformation PropertyMotorEMForce.MaxwellResultInformation The maxwell result information.

ReadUNVFile(Document, IEnumerable<string>, TMatrix)

Read UNV files

Parameters

document Document The document. filesPath IEnumerable<string> The force UNV files. transform TMatrix The transform.

Returns

IEnumerable<Dictionary<VectorBase, VectorBase>>

ReadUNVFile(Document, string, string[], TMatrix, out Dictionary<VectorBase, VectorBase>[])

Read UNV files

Parameters

doc Document The document. strGeometryUNVFilePath string The geometry UNV file. arForceUNVFilePath string[] The force UNV files. transform TMatrix The transform. startToEndPoint Dictionary<VectorBase, VectorBase>[] The start and end point container.