Пример #1
0
        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();
        }
Пример #2
0
 public FormMurata()
 {
     _modelService  = new ModelService();
     _murataService = new MurataService();
     _mesService    = new MESService();
     InitializeComponent();
 }
Пример #3
0
 //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();
 }
Пример #4
0
 public void CleanUp()
 {
     //Q1
     _mesService = null;
 }
Пример #5
0
 public void SetUp()
 {
     _mesService = new MESService(new MESDLL(inifile, thisHostName));
     //_mesService = new MESService(new MoqMESService()); // MESDLL());
 }