public BasicChannel(ICommsDevice commsDevice, ILogger localLogger, ICommsContStatusCtrl channelConStatus) { this.commsDevice = commsDevice; this.localLogger = localLogger; this.commsDevice.ClearInput(); this.channelConStatus = channelConStatus; }
public QuadStatusCtrl( ICommsContStatusCtrl connectionStatus, IProcessCtrl ProcessCtrl, uint quadId, [Named("QuadTransQueue")] IDataTransferQueue <IQuadTransQueueMsg> postQueue, ILogger localLogger) { this.connectionStatus = connectionStatus; this.postQueue = postQueue; this.localLogger = localLogger; this.ProcessCtrl = ProcessCtrl; this.cycleTotal = 0; this.statusCycleTotal = 0; this.quadId = quadId; this.timeHeartBeatLastReceived = DateTime.Now; this.heartBeatPreviousTime = DateTime.Now; this.statusUpdatePreviousTime = DateTime.Now; }