public LMInstrument(Detector det) : base() { id = new DataSourceIdentifier(det.Id); lmstatus = new LMInstrStatus(); file = new NCDFile(); file.Log = NC.App.Loggers.Logger(LMLoggers.AppSection.Collect); Init(null, null); }
/// <summary> /// LMMM-specific constructor for live instrument uptake while doing discovery on a local network /// </summary> /// <param name="e">socket event struct</param> /// <param name="EndpointPort">the source port</param> public LMInstrument(SocketAsyncEventArgs e, int EndpointPort) : base() { lmstatus = new LMInstrStatus(); instrSocketEvent = e; port = EndpointPort; id.DetectorId = "new"; // always this special string, see IsNew id.SetSRType("LMMM"); // this constructor should only be called for LMMM ethernet enabled devices file = new NCDFile(); file.Log = NC.App.Loggers.Logger(LMLoggers.AppSection.Collect); Init(null, null); }
public void SplitCStatusResponse(string received, ref Instr.LMInstrStatus st) { cmdprocessor.SplitCStatusResponse(received, ref st); }