示例#1
0
        public DAQControl(MLMEmulation.IEmulatorDiversion emu, bool usingGui)
        {
            gui = usingGui;

            gControl = this;

            applog  = NC.App.Loggers.Logger(LMLoggers.AppSection.App);
            collog  = NC.App.Loggers.Logger(LMLoggers.AppSection.Collect);
            ctrllog = NC.App.Loggers.Logger(LMLoggers.AppSection.Control);
            netlog  = NC.App.Loggers.Logger(LMLoggers.AppSection.Net);
            datalog = NC.App.Loggers.Logger(LMLoggers.AppSection.Data);

            // JFL was set on cmd line prior to exec here, and it still is, upcast to an Assay instance
            NC.App.Opstate = new AssayState(NC.App.Opstate);

            LMMMComm = LMMMComm ?? new TalkToLMMMM(NC.App.Loggers.Logger(LMLoggers.AppSection.LMComm));  // a singleton

            emu.SetLogger(NC.App.Loggers.Logger(LMLoggers.AppSection.LMComm));
            LMMMComm.EmulatorInstance = emu;

            CurState.SOH = NCC.OperatingState.Starting;
        }
示例#2
0
 public DAQControlBind(MLMEmulation.IEmulatorDiversion emu)
     : base(emu, false)
 {
     ApplyCmdLineOverrideAgain();
 }
示例#3
0
 public DAQBind(MLMEmulation.IEmulatorDiversion emu)
     : base(emu, true)
 {
     mProgressTracker = new ProgressTracker();
 }