Search Results for

    Show / Hide Table of Contents

    Class Vehicle

    Core class which represents a vehicle containing all data

    Inheritance
    System.Object
    Vehicle
    DistributionCostCenter
    SiloTrailer
    TankTrailer
    TractorUnit
    UnknownType
    Namespace: Simplic.PlugIn.Logistics
    Assembly: Simplic.PlugIn.Logistics.dll
    Syntax
    public abstract class Vehicle : IMultiTenantCompatible

    Constructors

    | Improve this Doc View Source

    Vehicle()

    Initialize new vehicle

    Declaration
    public Vehicle()

    Properties

    | Improve this Doc View Source

    AdditionalTechnicalData

    Gets or sets the AdditionalTechnicalData of the vehicle

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

    Appointments

    Gets a list of Appointment instances for the vehicle

    Declaration
    public IReadOnlyList<Appointment> Appointments { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<Appointment>
    | Improve this Doc View Source

    Bookkeeping

    Gets or sets the Bookkeeping information of the vehicle (see Bookkeeping)

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

    CarrierContactId

    Gets or sets the CarrierContactId

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

    CreateDateTime

    Gets or sets the creation date of the vehicle

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

    DepartmentId

    Gets or sets the vehicle department id

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

    DispositionSortingKey

    Gets or sets the disposition sorting key

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

    Equipment

    Gets a list of VehicleEquipmentItem instances allocated to the instance

    Declaration
    public IReadOnlyList<VehicleEquipmentItem> Equipment { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<VehicleEquipmentItem>
    | Improve this Doc View Source

    FuelTankCapacity

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

    Id

    Gets or sets the unique id / guid of the vehicle

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

    Location

    Gets or sets the location of the vehicle

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

    MaintenanceContract

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

    MatchCode

    Gets or sets the matchcode of the vehicle

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

    MileAge

    Gets or sets the mile age of the Vehicle

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

    MileAgeDate

    Gets or sets the date of the mile age

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

    OperatingHours

    Gets or sets the operating hours of the Vehicle

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

    QRCode

    Gets or sets the QR-Code sorting key

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

    RegistrationCertificate

    Gets or sets the RegistrationCertificate of the vehicle (see RegistrationCertificate)

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

    RegistrationDocument

    Gets or sets the registration document (Fahrzeugbrief)

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

    RegistrationDocumentLocationId

    Gets or sets the Id of the RegistrationDocumentLocation

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

    RegistrationPlate

    Gets or sets the VehicleRegistrationPlate of the vehicle

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

    RegistrationPlateId

    Gets or sets the unique id of the RegistrationPlate

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

    Remark

    Gets or sets the remark

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

    RemovedAppointments

    Gets a list of Appointment instances that have been deleted in the lifespan of the instance

    Declaration
    public IReadOnlyList<Appointment> RemovedAppointments { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<Appointment>
    | Improve this Doc View Source

    RemovedEquipment

    Gets a list of VehicleEquipmentItem instances that have been deallocated in the lifespan of the instance

    Declaration
    public IReadOnlyList<VehicleEquipmentItem> RemovedEquipment { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<VehicleEquipmentItem>
    | Improve this Doc View Source

    SelectedTenant

    Gets or sets the selected tenant

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

    State

    Gets or sets the State

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

    Telematics

    Gets the telematic systems

    Declaration
    public ICollection<VehicleTelematic> Telematics { get; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<VehicleTelematic>
    | Improve this Doc View Source

    TenantId

    Gets of sets the TenantId

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

    Tenants

    Gets or sets a list of available tenants

    Declaration
    public ObservableCollection<OrganizationTenant> Tenants { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<OrganizationTenant>
    | Improve this Doc View Source

    Toll

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

    Type

    Gets the current type implementation

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

    TypeId

    Gets the unique identifier of the current type

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

    UpdateDateTime

    Gets or sets the last update date of the vehicle

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

    VehicleInsurances

    Declaration
    public StatefulCollection<VehicleInsurance> VehicleInsurances { get; set; }
    Property Value
    Type Description
    StatefulCollection<VehicleInsurance>
    | Improve this Doc View Source

    VehicleRegistration

    Gets or sets the vehicle registration (Fahrzeugschein)

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

    YearOfManufacturing

    Gets or sets the manufacturing year of the vehicle

    Declaration
    public DateTime? YearOfManufacturing { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>

    Methods

    | Improve this Doc View Source

    AddAppointment(Appointment)

    Adds an Appointment to the Appointments list using an existing Appointment instance

    Declaration
    public void AddAppointment(Appointment appointment)
    Parameters
    Type Name Description
    Appointment appointment

    Appointment instance to add

    | Improve this Doc View Source

    AddEquipment(VehicleEquipmentItem)

    Adds an VehicleEquipmentItem instance to the Equipment list

    Declaration
    public void AddEquipment(VehicleEquipmentItem vehicleEquipmentItem)
    Parameters
    Type Name Description
    VehicleEquipmentItem vehicleEquipmentItem

    The VehicleEquipmentItem to add

    | Improve this Doc View Source

    AddNewAppointment()

    Adds a new Appointment to the Appointments list

    Declaration
    public Appointment AddNewAppointment()
    Returns
    Type Description
    Appointment

    The added Appointment instance

    | Improve this Doc View Source

    AddNewEquipmentItem(Guid)

    Adds a new VehicleEquipmentItem instance to the Equipment list

    Declaration
    public VehicleEquipmentItem AddNewEquipmentItem(Guid typeGuid)
    Parameters
    Type Name Description
    System.Guid typeGuid

    Identifier of the equipment type to add

    Returns
    Type Description
    VehicleEquipmentItem

    The added EquipmentItem instance

    | Improve this Doc View Source

    DeleteAdditionalData(SAConnection)

    Deletes the additional data by calling the DeleteData method of the instances (e.g. DeleteData(SAConnection))

    Declaration
    public void DeleteAdditionalData(SAConnection connection)
    Parameters
    Type Name Description
    SAConnection connection

    connection to use for communication with the database

    | Improve this Doc View Source

    DeleteTypeSpecificData(SAConnection)

    Removes the type specific data of this instance

    Declaration
    public abstract void DeleteTypeSpecificData(SAConnection connection)
    Parameters
    Type Name Description
    SAConnection connection

    connection to use for communication with the database

    | Improve this Doc View Source

    LoadAdditionalData(SAConnection, VehicleLoadOption)

    Loads the additional data by calling the LoadData method of the instances (e.g. LoadData(SAConnection))

    Declaration
    public void LoadAdditionalData(SAConnection connection, VehicleLoadOption option)
    Parameters
    Type Name Description
    SAConnection connection

    connection to use for communication with the database

    VehicleLoadOption option
    | Improve this Doc View Source

    LoadAppointments(SAConnection)

    Loads all appointments of the instance and adds them to Appointments

    Declaration
    public void LoadAppointments(SAConnection connection)
    Parameters
    Type Name Description
    SAConnection connection

    connection to use for communication with the database

    | Improve this Doc View Source

    LoadEquipment(SAConnection)

    Loads all equipment of the instance and adds them to Equipment

    Declaration
    public void LoadEquipment(SAConnection connection)
    Parameters
    Type Name Description
    SAConnection connection

    connection to use for communication with the database

    | Improve this Doc View Source

    LoadTypeSpecificData(SAConnection)

    Loads the type specific data of this instance. Should use the already loaded data

    Declaration
    public abstract void LoadTypeSpecificData(SAConnection connection)
    Parameters
    Type Name Description
    SAConnection connection

    connection to use for communication with the database

    | Improve this Doc View Source

    LoadVehicleTelematic()

    Loads all Telematics for this Vehicle

    Declaration
    public ICollection<VehicleTelematic> LoadVehicleTelematic()
    Returns
    Type Description
    System.Collections.Generic.ICollection<VehicleTelematic>
    | Improve this Doc View Source

    RemoveAppointment(Appointment)

    Removes an Appointment instance from the Appointments list

    Declaration
    public void RemoveAppointment(Appointment appointment)
    Parameters
    Type Name Description
    Appointment appointment

    The Appointment to remove

    | Improve this Doc View Source

    RemoveEquipment(VehicleEquipmentItem)

    Remove the connection of the current instance with an VehicleEquipmentItem

    Declaration
    public void RemoveEquipment(VehicleEquipmentItem vehicleEquipmentItem)
    Parameters
    Type Name Description
    VehicleEquipmentItem vehicleEquipmentItem

    EquipmentItem instance whose connection with the current instance should be removed

    | Improve this Doc View Source

    SaveAdditionalData(SAConnection)

    Saves the additional data by calling the LoadData method of the instances (e.g. SaveData(SAConnection))

    Declaration
    public void SaveAdditionalData(SAConnection connection)
    Parameters
    Type Name Description
    SAConnection connection

    connection to use for communication with the database

    | Improve this Doc View Source

    SaveTypeSpecificData(SAConnection)

    Saves the type specific data of this instance

    Declaration
    public abstract void SaveTypeSpecificData(SAConnection connection)
    Parameters
    Type Name Description
    SAConnection connection

    connection to use for communication with the database

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx