예제 #1
0
        public InstrumentStateSnapshot(Instrument inst)
        {
            action = NC.App.Opstate.Action;
            ins    = new InstrumentStatus(inst);
            switch (action)
            {
            case NCCAction.HVCalibration:
                hv = new HVStatusSnapshot(inst);
                break;

            case NCCAction.Assay:
                asy = new AssayProcessingStateSnapshot(inst);
                break;

            case NCCAction.Discover:
                //asy = new AssayProcessingStateSnapshot(inst);
                break;
            }
        }
예제 #2
0
파일: Status.cs 프로젝트: tempbottle/INCC6
 public InstrumentStateSnapshot(Instrument inst)
 {
     action = NC.App.Opstate.Action;
     ins = new InstrumentStatus(inst);
     switch (action)
     {
         case NCCAction.HVCalibration:
             hv = new HVStatusSnapshot(inst);
             break;
         case NCCAction.Assay:
             asy = new AssayProcessingStateSnapshot(inst);
             break;
         case NCCAction.Discover:
             //asy = new AssayProcessingStateSnapshot(inst);
             break;
     }
 }