Search Results for

    Show / Hide Table of Contents

    Class VehicleEquipmentItem

    Core class which represents an equipment containing all data

    Inheritance
    System.Object
    VehicleEquipmentItem
    Implements
    System.IComparable<VehicleEquipmentItem>
    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: Simplic.PlugIn.Logistics
    Assembly: Simplic.PlugIn.Logistics.dll
    Syntax
    public class VehicleEquipmentItem : IComparable<VehicleEquipmentItem>

    Constructors

    | Improve this Doc View Source

    VehicleEquipmentItem()

    Initialize a new vehicle equipment item

    Declaration
    public VehicleEquipmentItem()
    | Improve this Doc View Source

    VehicleEquipmentItem(IT_Vehicle_EquipmentItem_Vehicle)

    Initialize a new vehicle equipment item using a IT_Vehicle_EquipmentItem_Vehicle holding the data to use

    Declaration
    public VehicleEquipmentItem(IT_Vehicle_EquipmentItem_Vehicle dbEquipmentItemVehicle)
    Parameters
    Type Name Description
    IT_Vehicle_EquipmentItem_Vehicle dbEquipmentItemVehicle

    Properties

    | Improve this Doc View Source

    AllocationDate

    Gets or sets the date the equipment was allocated to this vehicle

    Declaration
    public DateTime AllocationDate { get; set; }
    Property Value
    Type Description
    System.DateTime
    | Improve this Doc View Source

    AllocationTime

    Gets or sets the time the equipment was allocated to this vehicle

    Declaration
    public TimeSpan AllocationTime { get; set; }
    Property Value
    Type Description
    System.TimeSpan
    | Improve this Doc View Source

    Count

    Gets or sets the number of the equipment items of this type with the same identifier

    Declaration
    public int Count { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    DbEquipmentItemVehicle

    Declaration
    public IT_Vehicle_EquipmentItem_Vehicle DbEquipmentItemVehicle { get; }
    Property Value
    Type Description
    IT_Vehicle_EquipmentItem_Vehicle
    | Improve this Doc View Source

    DeallocationDate

    Gets or sets the date the equipment was deallocated from this vehicle

    Declaration
    public DateTime? DeallocationDate { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>
    | Improve this Doc View Source

    DeallocationTime

    Gets or sets the time the equipment was deallocated from this vehicle

    Declaration
    public TimeSpan? DeallocationTime { get; set; }
    Property Value
    Type Description
    System.Nullable<System.TimeSpan>
    | Improve this Doc View Source

    EquipmentItem

    Gets or sets the equipment item of this connection instance

    Declaration
    public EquipmentItem EquipmentItem { get; }
    Property Value
    Type Description
    EquipmentItem
    | Improve this Doc View Source

    EquipmentItemId

    See Id

    Declaration
    public Guid EquipmentItemId { get; set; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    EquipmentTypeId

    Gets the identifier of the equipment type

    Declaration
    public Guid EquipmentTypeId { get; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    EquipmentTypeName

    Gets the name of the equipment type

    Declaration
    public string EquipmentTypeName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Identifier

    Gets an identifying value for the instance, enabling an user to distinguish between multiple instances of the same equipment type

    Declaration
    public string Identifier { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    IdentifierName

    Gets the name of the identifier whose value enables an user to distinguish between multiple instances of the same equipment type

    Declaration
    public string IdentifierName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Remark

    Gets or sets the remark of the instance

    Declaration
    public string Remark { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    VehicleId

    Gets the identifier of the assigned vehicle

    Declaration
    public Guid VehicleId { get; }
    Property Value
    Type Description
    System.Guid

    Methods

    | Improve this Doc View Source

    CompareTo(VehicleEquipmentItem)

    Compares the current instance to another VehicleEquipmentItem instance

    Declaration
    public int CompareTo(VehicleEquipmentItem other)
    Parameters
    Type Name Description
    VehicleEquipmentItem other

    VehicleEquipmentItem instance to compare to

    Returns
    Type Description
    System.Int32

    A signed number indicating the relative values of this instance and the given parameter.

    | Improve this Doc View Source

    Deallocate()

    Set the DeallocationDate and DeallocationTime to the current time

    Declaration
    public void Deallocate()

    Implements

    System.IComparable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx