Esempio n. 1
0
        private void InitializeSystem()
        {
            // Setup web service handlers
            wshConfig = new Handlers.Config(this);
            wshAutomation = new Handlers.Automation(this);
            wshInterconnection = new Handlers.Interconnection(this);
            wshStatistics = new Handlers.Statistics(this);

            // Initialize MigService, gateways and interfaces
            migService = new MIG.MigService();
            migService.InterfaceModulesChanged += migService_InterfaceModulesChanged;
            migService.InterfacePropertyChanged += migService_InterfacePropertyChanged;
            migService.GatewayRequestPreProcess += migService_ServiceRequestPreProcess;
            migService.GatewayRequestPostProcess += migService_ServiceRequestPostProcess;

            // Setup other objects used in HG
            virtualMeter = new VirtualMeter(this);
        }
Esempio n. 2
0
 private void InitializeSystem()
 {
     LoadConfiguration();
     //
     // setup other objects used in HG
     //
     virtualMeter = new VirtualMeter(this);
 }