Class CleaningProcessViewModel
Viewmodel for the cleaning process
Inheritance
Namespace: Simplic.PlugIn.Logistics.Disposition
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class CleaningProcessViewModel : ExtendableViewModel
Constructors
| Improve this Doc View SourceCleaningProcessViewModel()
Constructor
Declaration
public CleaningProcessViewModel()
Properties
| Improve this Doc View SourceAddCode
Gets or sets the add code command
Declaration
public ICommand AddCode { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
AddItem
Gets or sets the add process item command
Declaration
public ICommand AddItem { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
AddonViewModel
Gets or sets the addon viewmodel
Declaration
public CleaningProcessAddonViewModel AddonViewModel { get; set; }
Property Value
Type | Description |
---|---|
CleaningProcessAddonViewModel |
AutoCompleteProductList
Gets the autocomplete list for the next product
Declaration
public IList<string> AutoCompleteProductList { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
Begin
Gets or sets the process start
Declaration
public DateTime Begin { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
BillingProductId
Gets or sets the billing product
Declaration
public Guid? BillingProductId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Cancel
Gets or sets the cancel command
Declaration
public ICommand Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
CancelOrder
Gets or sets the cancel command
Declaration
public ICommand CancelOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
ChamberCount
Gets or sets the number of visible chambers
Declaration
public int ChamberCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Chambers
Gets or sets the Chamberlist
Declaration
public ObservableCollection<Chamber> Chambers { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<Chamber> |
CleanerId
Gets or sets the employee id from the cleaner
Declaration
public long? CleanerId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
CleaningCode
Gets or sets the CleaningCode
Declaration
public string CleaningCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CleaningControlsVisible
Gets or sets the visibility of the cleaning controls
Declaration
public Visibility CleaningControlsVisible { get; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
CleaningCustomer
Gets the Customer
Declaration
public SAC.Contact.Contact CleaningCustomer { get; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
CleaningKanbanStationLane
Gets or sets the selcted cleanig lane.
Declaration
public string CleaningKanbanStationLane { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CleaningKanbanStationLanes
Gets or sets all available cleaning lanes.
Declaration
public ObservableCollection<string> CleaningKanbanStationLanes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<System.String> |
CleaningListId
Gets or sets the CleaningListId
Declaration
public Guid? CleaningListId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
CleaningListItemBoxParameter
Gets the cleaning list parameter
Declaration
public IDictionary<string, object> CleaningListItemBoxParameter { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
CleaningPreProductItemBoxParameter
Gets the parameter for PreProductItemBox
Declaration
public IDictionary<string, object> CleaningPreProductItemBoxParameter { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
CleaningProgram
Gets or sets the cleaning program number
Declaration
public string CleaningProgram { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CleaningProgramList
Gets the list auf available cleaning programs
Declaration
public IList<CleaningProcessProgram> CleaningProgramList { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<CleaningProcessProgram> |
CleaningStationItemBoxParameter
Gets the cleaning station parameter
Declaration
public IDictionary<string, object> CleaningStationItemBoxParameter { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
Close
Gets or sets the close command
Declaration
public ICommand Close { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
CloseEnabled
Gets whether the window can be closed
Declaration
public bool CloseEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ContactId
Gets or sets the ContactId
Declaration
public Guid? ContactId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
ContainerId
Gets or sets the container id.
Declaration
public Guid? ContainerId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
ContainerNumbers
Declaration
public IList<string> ContainerNumbers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
Contract
Gets or sets the Cobtact
Declaration
public string Contract { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CreateDateTime
Gets CreateDateTime
Declaration
public DateTime CreateDateTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime |
CreateUserId
Gets the CreateUserId
Declaration
public int CreateUserId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
CurrentStep
Gets or sets the type of the current process step
Declaration
public CleaningProcessStep CurrentStep { get; set; }
Property Value
Type | Description |
---|---|
CleaningProcessStep |
CustomEndDateTime
Gets or sets the custom end date time.
Declaration
public DateTime CustomEndDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Customer
Gets or sets the customer
Declaration
public SAC.Contact.Contact Customer { get; }
Property Value
Type | Description |
---|---|
SAC.Contact.Contact |
CustomerAccountNumber
Gets the customer personal account number
Declaration
public string CustomerAccountNumber { get; }
Property Value
Type | Description |
---|---|
System.String |
CustomerId
Gets or sets the CustomerId
Declaration
public Guid? CustomerId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
CustomerProcedureId
Gets or sets the customer procedure id.
The id references a CleaningProcedure.
Declaration
public Guid? CustomerProcedureId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
CustomerReferenceNumber
Gets or sets the customer reference number.
Declaration
public string CustomerReferenceNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CustomerTemplate
Gets the template for the customer info
Declaration
public string CustomerTemplate { get; }
Property Value
Type | Description |
---|---|
System.String |
CustomStartDateTime
Gets o sets the custom start date time.
Declaration
public DateTime CustomStartDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
DriverName
Gets or sets the driver name
Declaration
public string DriverName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DriverNames
Gets all driver names for autocomplete
Declaration
public IList<string> DriverNames { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
EditorId
Gets or sets the employee id from the cleaner
Declaration
public long? EditorId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
End
Gets or sets the process End
Declaration
public DateTime? End { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
ExternalVehicleVisibility
Gets the Visibility for ExternalVehicle fields
Declaration
public Visibility ExternalVehicleVisibility { get; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
ExternContainerNumber
Declaration
public string ExternContainerNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Guid
Gets or sets the unique id
Declaration
public Guid Guid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
InternalVehicleChecked
Gets or sets wherther the InternelVehicleCheckbox is checked
Declaration
public bool InternalVehicleChecked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
InternalVehicleVisibility
Gets the Visibillity for InternalVehicle fields
Declaration
public Visibility InternalVehicleVisibility { get; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
InternCleaningControlsVisible
Gets or sets the visibility of the intern cleaning controls
Declaration
public Visibility InternCleaningControlsVisible { get; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
IsCustomerVisible
Gets or sets the visibility of the customer controls
Declaration
public Visibility IsCustomerVisible { get; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
IsOrderEnabled
Gets or sets the order part read only
Declaration
public bool IsOrderEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Items
Gets the list of the items to clean
Declaration
public ObservableCollection<CleaningProcessItemViewModel> Items { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<CleaningProcessItemViewModel> |
LookupParametersArticle
Gets the parameter for the pre product article lookup textbox
Declaration
public IDictionary<string, object> LookupParametersArticle { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
Model
Gets the model instance
Declaration
public CleaningProcess Model { get; }
Property Value
Type | Description |
---|---|
CleaningProcess |
NextProduct
Gets or sets the next product
Declaration
public string NextProduct { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NextProductId
Gets or sets the next product to load
Declaration
public Guid? NextProductId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
NextStep
Gets or sets the next step command
Declaration
public ICommand NextStep { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
PositionGroupVisible
Gets or sets the visibility of the position menu
Declaration
public Visibility PositionGroupVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
PreOrder
Gets or sets the assigned pre order
Declaration
public CleaningPreOrder PreOrder { get; }
Property Value
Type | Description |
---|---|
CleaningPreOrder |
PreOrderId
Gets or sets the cleaning pre order id
Declaration
public Guid PreOrderId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
PreviewFile
Gets or sets the preview pdf file
Declaration
public byte[] PreviewFile { get; set; }
Property Value
Type | Description |
---|---|
System.Byte[] |
PreviousStep
Gets or sets the previuos step command
Declaration
public ICommand PreviousStep { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
PrintCertificate
Gets or sets the certificate print command
Declaration
public ICommand PrintCertificate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
PrintCheckList
Gets or sets the print checklist command
Declaration
public ICommand PrintCheckList { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
PrintGroupVisible
Gets or sets the visibility of the print menu
Declaration
public Visibility PrintGroupVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
PrintOrder
Gets or sets the print order command
Declaration
public ICommand PrintOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
ProcedureId
Gets or sets the ProcedureId
Declaration
public Guid? ProcedureId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
ProcessCodes
Gets the process assigned codes
Declaration
public IList<CleaningProcessCodeViewModel> ProcessCodes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<CleaningProcessCodeViewModel> |
ProcessNumber
Gets the number of the process
Declaration
public string ProcessNumber { get; }
Property Value
Type | Description |
---|---|
System.String |
RefreshTemplate
Gets or sets the refresh template trigger
Declaration
public bool RefreshTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remark
Gets or sets the order remark
Declaration
public string Remark { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RemoveCode
Gets or sets the remove code command
Declaration
public ICommand RemoveCode { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
RemoveItem
Gets or sets the remove process item command
Declaration
public ICommand RemoveItem { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
SealCount
Gets or sets the number of seals used
Declaration
public int SealCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Seals
Gets the list of seals
Declaration
public ObservableCollection<CleaningProcessSealViewModel> Seals { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<CleaningProcessSealViewModel> |
SelectedCode
Gets or sets the selected code
Declaration
public CleaningProcessCodeViewModel SelectedCode { get; set; }
Property Value
Type | Description |
---|---|
CleaningProcessCodeViewModel |
SelectedItem
Gets or sets the selected cleaning process item
Declaration
public CleaningProcessItemViewModel SelectedItem { get; set; }
Property Value
Type | Description |
---|---|
CleaningProcessItemViewModel |
ShowCodesOnFirstPage
Gets the option, if the cleaning code should be shown on the first page from /built-in/cleaning/settings.json.
Declaration
public Visibility ShowCodesOnFirstPage { get; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
ShowCustomStartEndDateTime
Gets the option, if custom start or end datetime should be shown from /built-in/cleaning/settings.json.
Declaration
public Visibility ShowCustomStartEndDateTime { get; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
ShowEditorSelector
Gets the option, if the editor should be shown from /built-in/cleaning/settings.json.
Declaration
public Visibility ShowEditorSelector { get; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
TourNr
Gets or sets the TourNr
Declaration
public string TourNr { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TractorUnitId
Gets or sets the TractorUnitId
Declaration
public Guid? TractorUnitId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
TractorUnitRegistrationIdentifier
Gets or sets the TractorUnitRegistrationIdentifier
Declaration
public string TractorUnitRegistrationIdentifier { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TractorUnitRegistrationIdentifierSuggestions
Declaration
public IList<string> TractorUnitRegistrationIdentifierSuggestions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
TrailerId
Gets or sets the TrailerId
Declaration
public Guid? TrailerId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
TrailerRegistrationIdentifier
Gets or sets the TrailerRegistrationIdentifier
Declaration
public string TrailerRegistrationIdentifier { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TrailerRegistrationIdentifierSuggestions
Declaration
public IList<string> TrailerRegistrationIdentifierSuggestions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
TrailerType
Gets or sets the type of the trailer
Declaration
public Guid? TrailerType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Type
Gets or sets the Type
Declaration
public CleaningPreOrderType Type { get; set; }
Property Value
Type | Description |
---|---|
CleaningPreOrderType |
UpdateDateTime
Gets or sets the UpdateDateTime
Declaration
public DateTime UpdateDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
UpdateUserId
Gets or sets the UpdateUserId
Declaration
public int UpdateUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Values
Gets the entries of the cleaning processs measurements
Declaration
public ObservableCollection<CleaningProcessValueViewModel> Values { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<CleaningProcessValueViewModel> |
Methods
| Improve this Doc View SourceAddProcessCode(CleaningCode)
Adds a new code to the process code list
Declaration
public void AddProcessCode(CleaningCode code)
Parameters
Type | Name | Description |
---|---|---|
CleaningCode | code | New cleaningcode |
CheckSeals()
Looks for seals with the same number
Declaration
public bool CheckSeals()
Returns
Type | Description |
---|---|
System.Boolean | Found |
ContinueAfterError()
Moves to the second page. Used when the procces whas interrupted by an error
Declaration
public void ContinueAfterError()
GetAddonPrimaryKey()
Gets the PrimaryKey for the AddonViewModel
Declaration
public object GetAddonPrimaryKey()
Returns
Type | Description |
---|---|
System.Object |
GetOwnCustomerGuid()
Returns the own customer guid from the config
Declaration
public Guid GetOwnCustomerGuid()
Returns
Type | Description |
---|---|
System.Guid | Contagt guid |
GetSelectedCleaningPrograms()
Gets the selected cleaning progams as string
Declaration
public string GetSelectedCleaningPrograms()
Returns
Type | Description |
---|---|
System.String |
Initialize(CleaningProcess)
Initialize viewmodel
Declaration
public void Initialize(CleaningProcess model)
Parameters
Type | Name | Description |
---|---|---|
CleaningProcess | model | Model |
Lock()
Locks this based preorder
Declaration
public bool Lock()
Returns
Type | Description |
---|---|
System.Boolean |
Next()
Sets the next steb by number
Declaration
public void Next()
Previous()
Sets the next steb by number
Declaration
public void Previous()
PrintDocuments(Boolean)
Prints the two documents for cleaning
Declaration
public void PrintDocuments(bool printChecklist = true)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | printChecklist |
ReleaseLock()
Unlocks this based preorder
Declaration
public void ReleaseLock()
RemoveProcessCode(Guid)
Removes the code from the process codes
Declaration
public void RemoveProcessCode(Guid codeId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | codeId | cleaning code id |
Events
| Improve this Doc View SourceOnIsDone
Declaration
public event CleaningProcessViewModel.OnCancelDelegate OnIsDone
Event Type
Type | Description |
---|---|
CleaningProcessViewModel.OnCancelDelegate |