Files
laatzen/Common/OmniPlus/OMNIPruefung/ViewModels/OmniInspectionVM.cs
T
2024-01-24 17:14:10 +01:00

32 lines
692 B
C#

namespace OMNIPruefung.ViewModels
{
using OMNIPruefung.Models;
using System.Windows.Input;
public class OmniInspectionVM : BaseVM
{
private OmniInspectionModel model;
public OmniInspectionVM()
{
this.model = new OmniInspectionModel();
this.Load = new Command(this.LoadComamnd);
}
private string suchNr;
public string SuchNr
{
get => this.suchNr;
set => this.Set(ref this.suchNr, value, nameof(SuchNr));
}
public ICommand Load { get; }
private void LoadComamnd()
{
this.model.LoadAuftrag(this.suchNr);
}
}
}