/// <summary> /// 构造函数 /// </summary> public MonitorChannelManager(IFrameCallback iFrameHandler, SotErrorReport errReportHandler) { this.monitorChannelDic = new Dictionary <string, MonitorChannel>(); this.channelDicLocker = new ReaderWriterLockSlim(); this.softTerminalAdapter = new SoftTerminalAdapter(); this.makeIFrameCallback = iFrameHandler; this.errReportCallback = errReportHandler; }
/// <summary> /// 构造函数 /// </summary> public MonitorChannelManager(IFrameCallback iFrameHandler, SotErrorReport errReportHandler) { this.monitorChannelDic = new Dictionary<string, MonitorChannel>(); this.channelDicLocker = new ReaderWriterLockSlim(); this.softTerminalAdapter = new SoftTerminalAdapter(); this.makeIFrameCallback = iFrameHandler; this.errReportCallback = errReportHandler; }