/// <summary> /// Initializes this DryMssEventHandler. Other methods in this class should not be called beofre calling /// Init(). /// </summary> /// <param name="dryMssEventOutputPort">Sends unprocessed MssEvents from the host.</param> /// <param name="wetMssEventInputPort">Receives processed MssEvents to be sent back to the host</param> /// <param name="mappingMgr">The MappingManager that will be used by mssMsgProcessor</param> public void Init(IDryMssEventOutputPort dryMssEventOutputPort, IWetMssEventInputPort wetMssEventInputPort, IMappingManager mappingMgr, IMssParameterViewer mssParameters) { this.mssMsgProcessor.Init(mappingMgr, mssParameters); this.wetMssEventInputPort = wetMssEventInputPort; dryMssEventOutputPort.DryMssEventRecieved += new DryMssEventRecievedEventHandler(dryMssEventOutputPort_DryMssEventRecieved); }
/// <summary> /// Initializes this DryMssEventHandler. Other methods in this class should not be called beofre calling /// Init(). /// </summary> /// <param name="dryMssEventOutputPort">Sends unprocessed MssEvents from the host.</param> /// <param name="wetMssEventInputPort">Receives processed MssEvents to be sent back to the host</param> /// <param name="mappingMgr">The MappingManager that will be used by mssMsgProcessor</param> public void Init(IDryMssEventOutputPort dryMssEventOutputPort, IWetMssEventInputPort wetMssEventInputPort, IMappingManager mappingMgr, IMssParameterViewer mssParameters) { this.mssMsgProcessor.Init(mappingMgr, mssParameters); this.wetMssEventInputPort = wetMssEventInputPort; dryMssEventOutputPort.DryMssEventRecieved += new DryMssEventRecievedEventHandler(dryMssEventOutputPort_DryMssEventRecieved); }
public void Init(IHostInfoOutputPort hostInfoOutputPort, IWetMssEventInputPort wetMssEventInputPort) { hostInfoOutputPort.ProcessingCycleEnd += new ProcessingCycleEndEventHandler(hostInfoOutputPort_ProcessingCycleEndSampleTimeRecieved); this.wetMssEventInputPort = wetMssEventInputPort; }
public void Init(IHostInfoOutputPort hostInfoOutputPort, IWetMssEventInputPort wetMssEventInputPort) { hostInfoOutputPort.ProcessingCycleEnd += new ProcessingCycleEndEventHandler(hostInfoOutputPort_ProcessingCycleEndSampleTimeRecieved); this.wetMssEventInputPort = wetMssEventInputPort; }