Exemplo n.º 1
0
 public AssayProcessingStateSnapshot(Instrument inst)
 {
     cpss = new CycleProcessingStateSnapshot(inst);
     if (inst == null)
     {
         return;
     }
     assayPending = inst.IsPending();
     if (inst.RDT == null)
     {
         return;
     }
     if (inst is LMInstrument)
     {
         LMInstrument lm = inst as LMInstrument;
         Analysis.LMProcessingState lmrdtstate = (Analysis.LMProcessingState)(inst.RDT.State);
         numProcessedRawDataBuffers = lm.NumProcessedRawDataBuffers;
         maxValuesInBuffer          = lmrdtstate.maxValuesInBuffer;
         lastValue        = lmrdtstate.lastValue;
         wraparoundOffset = lmrdtstate.wraparoundOffset;
         hitsPerChn       = lmrdtstate.hitsPerChn;
     }
     else if (inst is SRInstrument)
     {
     }
     numTotalsEncountered = inst.RDT.State.NumTotalsEncountered;
     numValuesParsed      = inst.RDT.State.NumValuesParsed;
 }
Exemplo n.º 2
0
 public AssayProcessingStateSnapshot(Instrument inst)
 {
     cpss = new CycleProcessingStateSnapshot(inst);
     if (inst == null)
         return;
     assayPending = inst.IsPending();
     if (inst.RDT == null)
         return;
     if (inst is LMInstrument)
     {
         LMInstrument lm = inst as LMInstrument;
         Analysis.LMProcessingState lmrdtstate = (Analysis.LMProcessingState)(inst.RDT.State);
         numProcessedRawDataBuffers = lm.NumProcessedRawDataBuffers;
         maxValuesInBuffer = lmrdtstate.maxValuesInBuffer;
         lastValue = lmrdtstate.lastValue;
         wraparoundOffset = lmrdtstate.wraparoundOffset;
         hitsPerChn = lmrdtstate.hitsPerChn;
     }
     else if (inst is SRInstrument)
     {
     }
     numTotalsEncountered = inst.RDT.State.NumTotalsEncountered; 
     numValuesParsed = inst.RDT.State.NumValuesParsed;
 }