Class Electric
Defines the Electric.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Experior.Core.Motors
Assembly: Experior.Core.dll
Syntax
[TypeConverter(typeof(ObjectConverter))]
public class Electric : Motor, IComparable, IElectricMotor, IMotor, IEntityNotification, IEntity, IDisposable
Constructors
Electric(ElectricInfo)
Initializes a new instance of the Electric class.
Declaration
public Electric(ElectricInfo info)
Parameters
Type | Name | Description |
---|---|---|
ElectricInfo | info | The infoElectricInfo. |
Fields
selected
Declaration
protected bool selected
Field Value
Type | Description |
---|---|
System.Boolean |
Properties
CurrentDirection
Declaration
[Browsable(false)]
public int CurrentDirection { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
CurrentSpeed
Declaration
[Browsable(false)]
public override float CurrentSpeed { get; protected set; }
Property Value
Type | Description |
---|---|
System.Single |
Overrides
Direction
Declaration
[Browsable(false)]
public override MotorDirection Direction { get; }
Property Value
Type | Description |
---|---|
MotorDirection |
Overrides
Disposed
Declaration
[Browsable(false)]
public bool Disposed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Embedded
Declaration
[Browsable(false)]
public bool Embedded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Enabled
Declaration
[PropertyOrder(0)]
public override bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Entities
Declaration
[Browsable(false)]
public IList<IEntity> Entities { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<IEntity> |
EntityId
Declaration
[Browsable(false)]
public virtual ulong EntityId { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Error
Declaration
[Browsable(false)]
public virtual bool Error { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Info
Declaration
[Browsable(false)]
public ElectricInfo Info { get; }
Property Value
Type | Description |
---|---|
ElectricInfo |
ListSolutionExplorer
Declaration
[Browsable(false)]
public bool ListSolutionExplorer { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Declaration
[Display(Order = 0, GroupName = "Identification")]
[PropertyOrder(1)]
[Browsable(true)]
public override string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Notification
Declaration
[Browsable(false)]
public virtual string Notification { get; }
Property Value
Type | Description |
---|---|
System.String |
ObjectType
Declaration
[Display(Order = 0, GroupName = "Identification")]
[PropertyOrder(0)]
public string ObjectType { get; }
Property Value
Type | Description |
---|---|
System.String |
On
Declaration
[Browsable(false)]
public virtual bool On { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Parent
Declaration
[Browsable(false)]
public virtual IEntity Parent { get; set; }
Property Value
Type | Description |
---|---|
IEntity |
Running
Gets a value indicating whether Running.
Declaration
[Browsable(false)]
public override bool Running { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Selectable
Declaration
[Browsable(false)]
public bool Selectable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Selected
Declaration
[Browsable(false)]
public override bool Selected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Speed
Declaration
[Display(Order = 0, GroupName = "Speed (m/s)")]
[PropertyOrder(0)]
[Browsable(true)]
[TypeConverter(typeof(MeterPerSeconds))]
public override float Speed { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Overrides
UsingONSwitch
Declaration
[Browsable(false)]
public virtual bool UsingONSwitch { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Warning
Declaration
[Browsable(false)]
public virtual bool Warning { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Add(Input)
Declaration
public void Add(Input input)
Parameters
Type | Name | Description |
---|---|---|
Input | input |
Add(Output)
Declaration
public void Add(Output output)
Parameters
Type | Name | Description |
---|---|---|
Output | output |
Add(IArrow)
The Add.
Declaration
public virtual void Add(IArrow arrow)
Parameters
Type | Name | Description |
---|---|---|
IArrow | arrow | The arrowIArrow. |
Backward()
Declaration
public override void Backward()
Overrides
Copy()
Declaration
public IElectricMotor Copy()
Returns
Type | Description |
---|---|
IElectricMotor |
Deselect()
The Deselect.
Declaration
protected virtual void Deselect()
Dispose()
Declaration
public virtual void Dispose()
DoubleClick()
Declaration
public override void DoubleClick()
Overrides
Forward()
Declaration
public override void Forward()
Overrides
InvokeBeginStart()
The InvokeBeginStart.
Declaration
protected virtual void InvokeBeginStart()
InvokeBeginStop()
The InvokeBeginStop.
Declaration
protected virtual void InvokeBeginStop()
InvokeOnEmbeddedChanged(Boolean)
The InvokeOnEmbeddedChanged.
Declaration
protected virtual void InvokeOnEmbeddedChanged(bool e)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | e | The eSystem.Boolean. |
KeyDown(Key)
The KeyDown.
Declaration
public virtual void KeyDown(Key key)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.Key | key | The keySystem.Windows.Input.Key. |
Pick(Vector3, Vector3)
Declaration
public virtual PickResult Pick(Vector3 rayStart, Vector3 rayDirection)
Parameters
Type | Name | Description |
---|---|---|
System.Numerics.Vector3 | rayStart | |
System.Numerics.Vector3 | rayDirection |
Returns
Type | Description |
---|---|
PickResult |
Remove(Input)
The Remove.
Declaration
public void Remove(Input input)
Parameters
Type | Name | Description |
---|---|---|
Input | input | The inputInput. |
Remove(Output)
The Remove.
Declaration
public void Remove(Output output)
Parameters
Type | Name | Description |
---|---|---|
Output | output | The outputOutput. |
Remove(IArrow)
The Remove.
Declaration
public virtual void Remove(IArrow arrow)
Parameters
Type | Name | Description |
---|---|---|
IArrow | arrow | The arrowIArrow. |
Select()
The Select.
Declaration
protected virtual void Select()
ShowContextMenu()
The ShowContextMenu.
Declaration
public virtual List<Environment.UI.Toolbar.BarItem> ShowContextMenu()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<Environment.UI.Toolbar.BarItem> | The System.Collections.Generic.List<T>. |
Start()
The Start.
Declaration
public override void Start()
Overrides
Starting()
The Starting.
Declaration
protected void Starting()
Step(Single)
The Step.
Declaration
public virtual void Step(float deltatime)
Parameters
Type | Name | Description |
---|---|---|
System.Single | deltatime | The deltatimeSystem.Single. |
Stop()
The Stop.
Declaration
public override void Stop()
Overrides
StopBreak()
The StopBreak.
Declaration
public virtual void StopBreak()
SwitchDirection()
The SwitchDirection.
Declaration
public override void SwitchDirection()
Overrides
Events
LoadingCompleted
Defines the LoadingCompleted.
Declaration
protected static event Electric.LoadingCompletedEvent LoadingCompleted
Event Type
Type | Description |
---|---|
Electric.LoadingCompletedEvent |
OnBeginStart
Defines the OnBeginStart.
Declaration
public event EventHandler OnBeginStart
Event Type
Type | Description |
---|---|
System.EventHandler |
OnBeginStop
Defines the OnBeginStop.
Declaration
public event EventHandler OnBeginStop
Event Type
Type | Description |
---|---|
System.EventHandler |
OnCurrentSpeedChanged
Defines the OnCurrentSpeedChanged.
Declaration
public event EventHandler OnCurrentSpeedChanged
Event Type
Type | Description |
---|---|
System.EventHandler |
OnDisposed
Defines the OnDisposed.
Declaration
public event EventHandler OnDisposed
Event Type
Type | Description |
---|---|
System.EventHandler |
OnEmbeddedChanged
Defines the OnEmbeddedChanged.
Declaration
public event EventHandler<bool> OnEmbeddedChanged
Event Type
Type | Description |
---|---|
System.EventHandler<System.Boolean> |
Implements
System.IComparable
System.IDisposable