Class Coupler
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.Constraints
Assembly: VMDCP.dll
This class is to represent the coupler.
public class Coupler : CouplerBase<propertycoupler>, 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, IEnableForSimulationScenario, IDraw, IDrawIcon, IArgument, ITemplateObject, IEntityRelation
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, IEnableForSimulationScenario, IDraw, IDrawIcon, IArgument, ITemplateObject, IEntityRelation
Inherited Members
CouplerBase
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
Coupler()
Initializes a new instance of the
public Coupler()
Coupler(string)
Initializes a new instance of the
public Coupler(string strName)
Parameters
strName string
Name of the coupler.
Properties
Joint3
Gets or sets the third joint.
public ObjectBase Joint3 { get; set; }
Property Value
ObjectBase
Joint3_FullName
Gets the full name of the third joint.
public string Joint3_FullName { get; }
Property Value
JointType3
Gets or sets the third joint type.
public CouplerBase<propertycoupler>.JointType JointType3 { get; set; }
Property Value
CouplerBasePropertyCoupler>.JointType
NumOfJoint
Gets or sets the number of joint.
public int NumOfJoint { get; set; }
Property Value
Methods
Draw(Canvas)
Draws the icon.
public override void Draw(Canvas canvas)
Parameters
canvas Canvas
The canvas has icon information.
GetChildListImpl()
get child list
protected override IEnumerable<objectbase> GetChildListImpl()
Returns
GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool)
Gets the object information for model navigator [implementation].
protected override bool GetModelNavigatorInformationImpl(XmlDocument xmlDom, XmlElement xmlEle, bool bHasChild)
Parameters
xmlDom XmlDocument
The XmlDocument for object.
xmlEle XmlElement
The XmlElement for object.
bHasChild bool
if set to true [has child].
Returns
true if success; otherwise, false.
Initialize(ConvertFactor)
Initializes member through unit convert factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The unit convert factor.
LinkRequestUpdate(object, LinkEventArgs)
Request for update the linked object.
protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)
Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The
ReDraw()
Redraw.
public override void ReDraw()
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.