Class TourShipmentViewModel
Tour shipment view model
Inheritance
System.Object
TourShipmentViewModel
Implements
IReorderable
Namespace: Simplic.PlugIn.Logistics.Disposition
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class TourShipmentViewModel : ViewModelBase
Constructors
| Improve this Doc View SourceTourShipmentViewModel(TourShipment, TourViewModel)
Initialize viewmodel
Declaration
public TourShipmentViewModel(TourShipment model, TourViewModel tourViewModel)
Parameters
Type | Name | Description |
---|---|---|
TourShipment | model | Model instance |
TourViewModel | tourViewModel |
Properties
| Improve this Doc View SourceAddressId
Gets the current address depeding on the type (load/un load)
Declaration
public Guid? AddressId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
AddressText
Gets or sets the address text
Declaration
public string AddressText { get; }
Property Value
Type | Description |
---|---|
System.String |
DragDropText
Gets the drag drop text
Declaration
public string DragDropText { get; }
Property Value
Type | Description |
---|---|
System.String |
ExtShipmentNr
Gets or sets the external shipment nr
Declaration
public string ExtShipmentNr { get; }
Property Value
Type | Description |
---|---|
System.String |
FromDate
Gets or sets the load/unload date
Declaration
public DateTime FromDate { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
FromTime
Gets or sets the load/unload time
Declaration
public TimeSpan FromTime { get; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
LoadTypeVisibility
Gets the load type visibility
Declaration
public Visibility LoadTypeVisibility { get; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
Model
Gets the model instance
Declaration
public TourShipment Model { get; }
Property Value
Type | Description |
---|---|
TourShipment |
OrderNr
Gets or sets the order number of the shipment-tour assignment
Declaration
public int OrderNr { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PitchesSum
Gets or sets the pitches
Declaration
public double PitchesSum { get; }
Property Value
Type | Description |
---|---|
System.Double |
PositionTexts
Gets the position text
Declaration
public string PositionTexts { get; }
Property Value
Type | Description |
---|---|
System.String |
Shipment
Gets the current shipment
Declaration
public ShipmentViewModel Shipment { get; }
Property Value
Type | Description |
---|---|
ShipmentViewModel |
ShipmentColor
Gets the shipment color
Declaration
public SolidColorBrush ShipmentColor { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.SolidColorBrush |
ShipmentNr
Gets or sets the shipment nr
Declaration
public string ShipmentNr { get; }
Property Value
Type | Description |
---|---|
System.String |
ToDate
Gets or sets the load/unload date
Declaration
public DateTime ToDate { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
ToTime
Gets or sets the load/unload time
Declaration
public TimeSpan ToTime { get; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
TypeDisplayText
Gets the type display name
Declaration
public string TypeDisplayText { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceSetIndex(Int32)
Set row index
Declaration
public void SetIndex(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Row index |
SetIndex(Int32, Boolean)
Set row index
Declaration
public void SetIndex(int index, bool enableFullLoadReorder)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Row index |
System.Boolean | enableFullLoadReorder | Enable full load handling |
Implements
IReorderable