Esempio n. 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);
         }
     }
 }
Esempio n. 2
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);
         }
     }
 }