示例#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
 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;
     }
 }