Class AppointmentUIHelper
Represents a class that contains methods to alter a appointment
Inheritance
System.Object
AppointmentUIHelper
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.UI.ResourceRequirementsPlanning
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class AppointmentUIHelper
Properties
| Improve this Doc View SourceCurrentAppointment
Gets or sets the current appointment
Declaration
public AppointmentViewModel CurrentAppointment { get; set; }
Property Value
Type | Description |
---|---|
AppointmentViewModel |
Methods
| Improve this Doc View SourceRemoveAppointment(AppointmentViewModel, SchedulerViewModel)
Removes the Appointment for all clients
Declaration
public static void RemoveAppointment(AppointmentViewModel appointmentViewModel, SchedulerViewModel schedulerViewModel)
Parameters
Type | Name | Description |
---|---|---|
AppointmentViewModel | appointmentViewModel | |
SchedulerViewModel | schedulerViewModel |
RemoveShipmentFromAppointment(ShipmentViewModel, AppointmentViewModel)
Removes the shipment from the current appointment inside the shipment. For all clients
Declaration
public static void RemoveShipmentFromAppointment(ShipmentViewModel shipment, AppointmentViewModel previousAppointment = null)
Parameters
Type | Name | Description |
---|---|---|
ShipmentViewModel | shipment | |
AppointmentViewModel | previousAppointment | Previous appointment, will override CurrentAppointment |
ScheduleAppointment(AppointmentViewModel, SchedulerViewModel)
Schedules the Appointments on the server for all clients and saves the appointments on a database
Declaration
public static void ScheduleAppointment(AppointmentViewModel appointmentViewModel, SchedulerViewModel schedulerViewModel)
Parameters
Type | Name | Description |
---|---|---|
AppointmentViewModel | appointmentViewModel | |
SchedulerViewModel | schedulerViewModel |