public OperatorToolLotViewModel(int portNo, bool usingMoq) { IDialogService2 dialogService1 = new MyDialogService(null); dialogService1.Register <DialogViewModel, DialogWindow>(); dialogService = dialogService1; thisPortNo = portNo; thisPortWaferCount = 0; if (usingMoq) { _mesService = new MESService(new MoqMESService()); } else { _mesService = new MESService(new MESDLL()); } Port1Lot1Color = Port1Lot2Color = "White"; ShowConfirmButtons = true; IsRecipeOverridable = false; Lot1Enabled = Lot2Enabled = true; Engineer = EngineeringRun = false; BusyOp = false; RegisterForMessages(); }
public FormMurata() { _modelService = new ModelService(); _murataService = new MurataService(); _mesService = new MESService(); InitializeComponent(); }
//string URI = "http://172.28.10.25:8888/api/Values"; public FormMain() { _oqcService = new OQCService(); _modelService = new ModelService(); _murataService = new MurataService(); _mesService = new MESService(); InitializeComponent(); }
public void CleanUp() { //Q1 _mesService = null; }
public void SetUp() { _mesService = new MESService(new MESDLL(inifile, thisHostName)); //_mesService = new MESService(new MoqMESService()); // MESDLL()); }