public override async Task InitAsync() { await base.InitAsync(); FeederTypes = await _feederLibrary.GetFeedersAsync(); LoadingMask = false; Machine.TopLightOn = true; Machine.BottomLightOn = false; if (!String.IsNullOrEmpty(_job.PnPMachinePath) && System.IO.File.Exists(_job.PnPMachinePath)) { PnPMachine = await PnPMachineManager.GetPnPMachineAsync(_job.PnPMachinePath); PartPackManagerVM.SetMachine(PnPMachine); PackageLibraryVM.SetMachine(PnPMachine); } StartCapture(); }
public override async Task InitAsync() { FeederDefintions = await _feederLibrary.GetFeedersAsync(); await base.InitAsync(); }