Class SchedulerViewModel
Represents the scheduler view model that contains the necessary information for the scheduler view
Inheritance
System.Object
SchedulerViewModel
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class SchedulerViewModel : UI.MVC.ViewModelBase
Constructors
|
Improve this Doc
View Source
SchedulerViewModel(UIElement, Nullable<DateTime>, Nullable<DateTime>)
Declaration
public SchedulerViewModel(UIElement uIElement, DateTime? startDate = null, DateTime? endDate = null)
Parameters
Type |
Name |
Description |
System.Windows.UIElement |
uIElement |
|
System.Nullable<System.DateTime> |
startDate |
|
System.Nullable<System.DateTime> |
endDate |
|
Properties
|
Improve this Doc
View Source
AddQuickEntryCommand
Gets or sets a command to add a quick entry.
Declaration
public ICommand AddQuickEntryCommand { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
AddShipmentFromTemplate
Gets or sets the command to add a shipment from template
Declaration
public ICommand AddShipmentFromTemplate { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
AddText
Gets or sets the command to add text
Declaration
public ICommand AddText { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
AddTour
Gets or sets the command to add a tour
Declaration
public ICommand AddTour { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
AddTransportOrder
Gets or sets the command to add a transport order
Declaration
public ICommand AddTransportOrder { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
Appointments
Declaration
public ObservableCollection<AppointmentViewModel> Appointments { get; set; }
Property Value
|
Improve this Doc
View Source
AssignableResources
Declaration
public ObservableCollection<ResourceViewModel> AssignableResources { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<ResourceViewModel> |
|
|
Improve this Doc
View Source
ChangeText
Declaration
public string ChangeText { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
CleaningStations
Gets or sets the list of cleaning stations
Declaration
public ObservableCollection<CleaningStationViewModel> CleaningStations { get; set; }
Property Value
|
Improve this Doc
View Source
DailyTours
Gets or sets the vehicles
Declaration
public ObservableCollection<AppointmentViewModel> DailyTours { get; set; }
Property Value
|
Improve this Doc
View Source
EnableEditing
Declaration
public bool EnableEditing { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
End
Gets or sets the date where the period ends
Declaration
public DateTime End { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
EndSelect
Gets or sets the end selected end date
Declaration
public DateTime EndSelect { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
FilterText
Declaration
public string FilterText { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IsSelected
Gets if a appointment is selected
Returns true if an appointment is selected
Declaration
public bool IsSelected { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OtherAppointments
Declaration
public ObservableCollection<Telerik.Windows.Controls.ScheduleView.Appointment> OtherAppointments { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<Telerik.Windows.Controls.ScheduleView.Appointment> |
|
|
Improve this Doc
View Source
Refresh
Gets or sets the refresh command
Declaration
public ICommand Refresh { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
RefreshList
Gets or sets the command to refresh the list of shipments
Declaration
public ICommand RefreshList { get; set; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
ResourceTypes
Gets a list of the resources types
Declaration
public ObservableCollection<ResourceType> ResourceTypes { get; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<ResourceType> |
|
|
Improve this Doc
View Source
RRPClientType
Declaration
public RRPClientType RRPClientType { get; set; }
Property Value
|
Improve this Doc
View Source
SelectedAppointment
Gets or sets the selected appointment
Declaration
public AppointmentViewModel SelectedAppointment { get; set; }
Property Value
|
Improve this Doc
View Source
SelectedSlot
Gets or sets the selected slot
Declaration
public Slot SelectedSlot { get; set; }
Property Value
|
Improve this Doc
View Source
Shipments
Gets or sets a list of shipments
Declaration
public ObservableShipmentCollection<ShipmentViewModel> Shipments { get; set; }
Property Value
|
Improve this Doc
View Source
ShipmentsView
Gets or sets a view source of shipments
Declaration
public CollectionViewSource ShipmentsView { get; set; }
Property Value
Type |
Description |
System.Windows.Data.CollectionViewSource |
|
|
Improve this Doc
View Source
Slider
Gets or set the double value for a slider
Declaration
public double Slider { get; set; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
SlotText
Gets or sets the slot text
Declaration
public string SlotText { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Start
Gets or sets the date from which the period starts
Declaration
public DateTime Start { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
StartSelect
Gets or sets the selected start date
Declaration
public DateTime StartSelect { get; set; }
Property Value
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
UIElement
Declaration
public UIElement UIElement { get; }
Property Value
Type |
Description |
System.Windows.UIElement |
|
|
Improve this Doc
View Source
VisibleDays
Gets or sets the visible days
Declaration
public int VisibleDays { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
CountSlots()
Declaration
|
Improve this Doc
View Source
CountSlotsByDate(DateTime)
Declaration
public int CountSlotsByDate(DateTime dateTime)
Parameters
Type |
Name |
Description |
System.DateTime |
dateTime |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
DeleteAppointment()
Declaration
public void DeleteAppointment()
|
Improve this Doc
View Source
RefreshUi()
Refreshes the ui for the shipments inside this appointment
Declaration
Events
|
Improve this Doc
View Source
LoadingCompleted
Declaration
public event EventHandler LoadingCompleted
Event Type
Type |
Description |
System.EventHandler |
|