Class Spring
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.Car.Force
Assembly: VMDCar.dll
The spring force class.
public class Spring : ForceCar<propertyspring>, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, IDraw, IDrawIcon, IReferencable, ITransformable, IConnector, IEntityRelation, IGenerable, IArgument, IReportable, IFlip, IHasReplaceableEntity, IEnableForSimulationScenario, ITorqueReferenceForBearing, ITemplateObject
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, IDraw, IDrawIcon, IReferencable, ITransformable, IConnector, IEntityRelation, IGenerable, IArgument, IReportable, IFlip, IHasReplaceableEntity, IEnableForSimulationScenario, ITorqueReferenceForBearing, ITemplateObject
Inherited Members
ForceCar
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
Spring()
Initializes a new instance of the
public Spring()
Spring(string)
Initializes a new instance of the
public Spring(string strName)
Parameters
strName string
Name of the STR.
Properties
GeomColor
Gets or sets the color of the geometry.
public string GeomColor { get; set; }
Property Value
InstallMethod
Gets or sets the install method.
public ExpressionValueVariable InstallMethod { get; set; }
Property Value
ExpressionValueVariable
InstallMethodType
Gets or sets the type of the install method.
public Spring.MethodType InstallMethodType { get; set; }
Property Value
ReportTypeImpl
Gets the report type.
protected override IReportable.ReportEntityType ReportTypeImpl { get; }
Property Value
IReportable.ReportEntityType
SpringCoilCount
Gets or sets the spring coil count.
public int SpringCoilCount { get; set; }
Property Value
SpringDiameter
Gets or sets the spring diameter.
public double SpringDiameter { get; set; }
Property Value
Methods
Draw(Canvas)
Draws the icon.
public override void Draw(Canvas canvas)
Parameters
canvas Canvas
The canvas has icon information.
Initialize(ConvertFactor)
Initializes member through unit convert factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The unit convert factor.
ReadTemplateImpl(XmlReader)
Reads the template document [implementation].
protected override void ReadTemplateImpl(XmlReader reader)
Parameters
reader XmlReader
The reader.
WriteTemplateImpl(XmlWriter)
Writes the template document [implementation].
protected override void WriteTemplateImpl(XmlWriter writer)
Parameters
writer XmlWriter
The writer.