Class AutoContact
Last update: 16.07.2025Namespace: VM.Managed.DAFUL.Contact
Assembly: VMDCt.dll
This class is to represent the auto contact.
public class AutoContact : Contact<propertyautocontact>, 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, ITemplateObject, IArgument, IReportable, IEntityRelation, IGapSupport, IReferencable
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, ITemplateObject, IArgument, IReportable, IEntityRelation, IGapSupport, IReferencable
Inherited Members
Contact
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
AutoContact()
Initializes a new instance of the
public AutoContact()
AutoContact(string)
Initializes a new instance of the
public AutoContact(string strName)
Parameters
strName string
Name of the contact.
Properties
ArgumentType
Gets the type of the argument
public override ArgumentTypes ArgumentType { get; }
Property Value
ArgumentTypes
MaximumDistance
Gets or sets the maximum distance.
public Variable MaximumDistance { get; set; }
Property Value
Variable
MultiInformation
Gets or sets the friction spline information.
public AutoContactInfo[] MultiInformation { get; set; }
Property Value
ReportTypeImpl
Gets the report type.
protected override IReportable.ReportEntityType ReportTypeImpl { get; }
Property Value
IReportable.ReportEntityType
Methods
AddInformation(AutoContactInfo)
Adds information of auto contact.
public void AddInformation(AutoContactInfo info)
Parameters
info AutoContactInfo
The information of auto contact.
AddInformation(IContact)
Adds information fo auto contact.
public AutoContactInfo AddInformation(IContact contact)
Parameters
contact IContact
The contact.
Returns
Draw(Canvas)
Draws the icon.
public override void Draw(Canvas canvas)
Parameters
canvas Canvas
The canvas has icon information.
FindLocal(string)
Finds an object that matches a specified name in local.
public override IObjectBase FindLocal(string strName)
Parameters
strName string
Name to search for.
Returns
IObjectBase
An object that matches a specified name.
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.
OnDeserialization(object)
Called when [deserialization].
protected override void OnDeserialization(object sender)
Parameters
sender object
The sender.
OnDeserializationForAttribute()
Called when [deserialization for attribute].
public override void OnDeserializationForAttribute()
UpdateIcon()
Updates the icon [Not Implemented].
protected override void UpdateIcon()