예제 #1
0
 public CombinedInstrumentProcessingStateSnapshot(Instrument inst)
 {
     iss = new LMProcessor.InstrumentStateSnapshot(inst);
     if (!iss.ins.IsSuspect)
     {
         if (inst is LMInstrument)
         {
             LMInstrument lm = inst as LMInstrument;
             cs = new LMProcessor.CountersStatus(lm.RDT.ReadCountingProcessorStatus());
         }
         else if (inst is SRInstrument)
         {
             cs = new LMProcessor.CountersStatus(null);
         }
     }
 }
예제 #2
0
파일: Status.cs 프로젝트: tempbottle/INCC6
 public CombinedInstrumentProcessingStateSnapshot(Instrument inst)
 {
     iss = new LMProcessor.InstrumentStateSnapshot(inst);
     if (!iss.ins.IsSuspect)
     {
         if (inst is LMInstrument)
         {
             LMInstrument lm = inst as LMInstrument;
             cs = new LMProcessor.CountersStatus(lm.RDT.ReadCountingProcessorStatus());
         }
         else if (inst is SRInstrument)
         {
             cs = new LMProcessor.CountersStatus(null);
         }
     }
 }