Search Results for

    Show / Hide Table of Contents

    Class AppointmentViewModel

    Represents the view model that contains the necessary information for an appointment

    Inheritance
    System.Object
    AppointmentViewModel
    Implements
    IAppointment
    Namespace: Simplic.PlugIn.Logistics.UI.ResourceRequirementsPlanning
    Assembly: Simplic.PlugIn.Logistics.dll
    Syntax
    public class AppointmentViewModel : UI.MVC.ViewModelBase

    Constructors

    | Improve this Doc View Source

    AppointmentViewModel()

    Constructor

    Declaration
    public AppointmentViewModel()

    Properties

    | Improve this Doc View Source

    AssignedResource

    Gets or sets the assigned resource

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

    Body

    Gets or sets the body.

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

    Category

    Gets or sets the category.

    Declaration
    public object Category { get; set; }
    Property Value
    Type Description
    System.Object
    | Improve this Doc View Source

    Color

    Gets or sets the color for the appointment based on the LockingType

    Declaration
    public Brush Color { get; }
    Property Value
    Type Description
    System.Windows.Media.Brush
    | Improve this Doc View Source

    CustomText

    Gets or sets the custom text

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

    CustomTextVisibility

    Gets or sets the custom text visibility based on the tour type

    Declaration
    public Visibility CustomTextVisibility { get; }
    Property Value
    Type Description
    System.Windows.Visibility
    | Improve this Doc View Source

    DisplayName

    Gets or sets the display which is the assigned resource name

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

    DragIntoForeignScheduler

    Declaration
    public bool DragIntoForeignScheduler { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    End

    Gets or sets the end.

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

    GroupTitle

    Gets or sets the group title

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

    Id

    Gets or sets the id as guid

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

    Importance

    Gets or sets the importance.

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

    IsAllDayEvent

    Gets or sets a bool if the event is an all day event. default is true

    Declaration
    public bool IsAllDayEvent { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsLocked

    Gets or sets if the appointment is locked

    Declaration
    public bool IsLocked { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsNotSystemLocked

    Gets or sets if this is locked by the system It depends on the LockingType

    Declaration
    public bool IsNotSystemLocked { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LastEditFromApi

    Gets or sets if the last edit was made by an api call

    Declaration
    public bool LastEditFromApi { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LockedSymbol

    Gets or sets the lock symbol based on LockingType

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

    LockedText

    Gets a string based on the locking type

    Declaration
    public string LockedText { get; }
    Property Value
    Type Description
    System.String
    Remarks

    In the ui this should be used to show it to the user via a tooltip

    | Improve this Doc View Source

    LockingType

    Gets or sets the locking type

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

    MoveResourceCommand

    Gets or sets a command to move the appointment to a new resource

    Declaration
    public ICommand MoveResourceCommand { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    Name

    Gets or sets the name.

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

    RecurrenceRule

    Gets or sets the recurrenc rule.

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

    Resources

    Gets or sets the resources.

    Declaration
    public IList Resources { get; set; }
    Property Value
    Type Description
    System.Collections.IList
    | Improve this Doc View Source

    SearchText

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

    SearchTextDisplayName

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

    SelectedShipment

    Gets or sets the selected shipment

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

    ShipmentListBoxVisibility

    Gets or sets the shipment list box visibility based on the tour type

    Declaration
    public Visibility ShipmentListBoxVisibility { get; }
    Property Value
    Type Description
    System.Windows.Visibility
    | Improve this Doc View Source

    Shipments

    Gets or sets a list of shipments

    Declaration
    public ObservableShipmentCollection<ShipmentViewModel> Shipments { get; set; }
    Property Value
    Type Description
    ObservableShipmentCollection<ShipmentViewModel>
    | Improve this Doc View Source

    Start

    Gets or sets the start.

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

    Subject

    Gets or sets the subject.

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

    TimeMarker

    Gets or sets the timemarker.

    Declaration
    public object TimeMarker { get; set; }
    Property Value
    Type Description
    System.Object
    | Improve this Doc View Source

    TimeZone

    Gets or sets the time zone.

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

    TourType

    Gets or sets the tour type

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

    VehicleId

    Gets or sets the vehicle id

    Declaration
    public Guid? VehicleId { get; }
    Property Value
    Type Description
    System.Nullable<System.Guid>

    Methods

    | Improve this Doc View Source

    BeginEdit()

    Will be called when the edit begins.

    Declaration
    public void BeginEdit()
    | Improve this Doc View Source

    CancelEdit()

    Will be called when the edit cancels.

    Declaration
    public void CancelEdit()
    | Improve this Doc View Source

    Copy()

    Copies the appointment.

    Declaration
    public IAppointment Copy()
    Returns
    Type Description
    IAppointment
    | Improve this Doc View Source

    CopyFrom(IAppointment)

    Copies the Appointment from another appointment

    Declaration
    public void CopyFrom(IAppointment other)
    Parameters
    Type Name Description
    IAppointment other
    | Improve this Doc View Source

    EndEdit()

    Will be called when the edit ends

    Declaration
    public void EndEdit()
    | Improve this Doc View Source

    Equals(IAppointment)

    Compare this appointment with the input

    Declaration
    public bool Equals(IAppointment other)
    Parameters
    Type Name Description
    IAppointment other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Refresh()

    Refreshs the shipment

    Declaration
    public void Refresh()

    Events

    | Improve this Doc View Source

    RecurrenceRuleChanged

    Eventhandler if the recurrence rule changed.

    Declaration
    public event EventHandler RecurrenceRuleChanged
    Event Type
    Type Description
    System.EventHandler

    Implements

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