Class DefectsGroup
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
This is a Defect with an Id of GroupDefectsId. This is the root defect group for vehicle and trailer defects. The children of this group are not user defined.
public class DefectsGroup : Defect, IEntity, IComparable, IIdentifiable, IDefaultable, IGroupLinked
- Inheritance
-
DefectsGroup
- Implements
- Inherited Members
Constructors
DefectsGroup(Id)
Initializes a new instance of the DefectsGroup class.
public DefectsGroup(Id id)
Parameters
id
IdThe group id.
DefectsGroup(string?, string?, IList<Group>?, Group?, string?)
Initializes a new instance of the DefectsGroup class.Initializes a new instance of the DefectsGroup class.
public DefectsGroup(string? comments = null, string? reference = null, IList<Group>? children = null, Group? parent = null, string? path = null)
Parameters
comments
stringThe comments.
reference
stringThe reference.
children
IList<Group>The groups children.
parent
GroupThe groups parent.
path
stringLtree path of the group
Properties
Color
Gets or sets color used to render assets belonging to this group.
public override Color? Color { get; set; }
Property Value
- Color
Color used to render assets belonging to this group.
Remarks
This cannot be set for this type of group.
Id
Gets or sets the unique identifier for this entity. see Id.
public override Id? Id { get; set; }
Property Value
Remarks
This cannot be set for this type of group.
Name
Gets or sets the name of this entity which identifies it and is used when displaying this entity.
public override string? Name { get; set; }
Property Value
- string
The name.
Remarks
This cannot be set for this type of group.
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.
IsSystemEntity()
Returns true if the class is a system entity, false otherwise.
public override bool IsSystemEntity()