コード例 #1
0
        public void Init(IHostInfoOutputPort hostInfoOutputPort, 
            IWetMssEventOutputPort wetMssEventOutputPort,
            IDryMssEventInputPort dryMssEventInputPort,
            IGeneratorMappingManager generatorMappingMgr,
            IMssParameterViewer mssParameters)
        {
            this.generatorMappingMgr = generatorMappingMgr;
            this.mssMsgProcessor.Init(generatorMappingMgr, mssParameters);

            //Adds listener for generator toggle messages.
            wetMssEventOutputPort.WetMssEventsReceived += new
                    WetMssEventReceivedEventHandler(WetMssEventOutputPort_WetMssEventReceived);

            this.hostInfoOutputPort = hostInfoOutputPort;

            hostInfoOutputPort.BeforeProcessingCycleEnd += new
                    ProcessingCycleEndEventHandler(HostInfoOutputPort_BeforeProcessingCycleEnd);
            hostInfoOutputPort.ProcessingCycleEnd += new
                    ProcessingCycleEndEventHandler(HostInfoOutputPort_ProcessingCycleEnd);

            this.dryMssEventInputPort = dryMssEventInputPort;
        }
コード例 #2
0
        public void Init(IHostInfoOutputPort hostInfoOutputPort,
                         IWetMssEventOutputPort wetMssEventOutputPort,
                         IDryMssEventInputPort dryMssEventInputPort,
                         IGeneratorMappingManager generatorMappingMgr,
                         IMssParameterViewer mssParameters)
        {
            this.generatorMappingMgr = generatorMappingMgr;
            this.mssMsgProcessor.Init(generatorMappingMgr, mssParameters);

            //Adds listener for generator toggle messages.
            wetMssEventOutputPort.WetMssEventsReceived += new
                                                          WetMssEventReceivedEventHandler(WetMssEventOutputPort_WetMssEventReceived);

            this.hostInfoOutputPort = hostInfoOutputPort;

            hostInfoOutputPort.BeforeProcessingCycleEnd += new
                                                           ProcessingCycleEndEventHandler(HostInfoOutputPort_BeforeProcessingCycleEnd);
            hostInfoOutputPort.ProcessingCycleEnd += new
                                                     ProcessingCycleEndEventHandler(HostInfoOutputPort_ProcessingCycleEnd);

            this.dryMssEventInputPort = dryMssEventInputPort;
        }
コード例 #3
0
 public void Init(IGeneratorMappingManager genMappingMgr, IMssParameterViewer paramViewer)
 {
     this.genMappingMgr = genMappingMgr;
     this.paramViewer = paramViewer;
 }
コード例 #4
0
 public void Init(IGeneratorMappingManager genMappingMgr)
 {
     this.genMappingMgr = genMappingMgr;
 }
コード例 #5
0
 public void Init(IGeneratorMappingManager genMappingMgr, IMssParameterViewer paramViewer)
 {
     this.genMappingMgr = genMappingMgr;
     InitOptionallySerializedDependencies(paramViewer);
 }
 public void Init(IGeneratorMappingManager genMappingMgr, IMssParameterViewer paramViewer)
 {
     this.genMappingMgr = genMappingMgr;
     this.paramViewer   = paramViewer;
 }
 public void Init(IGeneratorMappingManager genMappingMgr)
 {
     this.genMappingMgr = genMappingMgr;
 }
コード例 #8
0
 public void Init(IGeneratorMappingManager genMappingMgr, IMssParameterViewer paramViewer)
 {
     this.genMappingMgr = genMappingMgr;
     InitOptionallySerializedDependencies(paramViewer);
 }
コード例 #9
0
 public void InitNonserializableMembers(IMappingManager mappingMgr, 
                  IGeneratorMappingManager genMappingMgr)
 {
     this.mappingManager = mappingMgr;
     this.genMappingManager = genMappingMgr;
 }
コード例 #10
0
 public void InitNonserializableMembers(IMappingManager mappingMgr,
                                        IGeneratorMappingManager genMappingMgr)
 {
     this.mappingManager    = mappingMgr;
     this.genMappingManager = genMappingMgr;
 }