public SiteManager site_mgr; //=new SiteManager(); #endregion Fields #region Constructors public Host() { sensor_mgr = new Sensor.SensorManager(); site_mgr = new SiteManager(sensor_mgr); mfcc_mgr = new MFCC.MFCC_Manager(); dev_mgr = new DevcieManager(mfcc_mgr); initRemoteInterface(); }
public DevcieManager(MFCC.MFCC_Manager mfccmgr) { this.mfccmgr = mfccmgr; IsInLoadWrapper = true; loadAllDeviceWrapper(); IsInLoadWrapper = false; }
public Matrix() { #if DEBUG // timcc_section_mgr = new Host.TIMCC.TIMCC_SectionManager("temp.xml"); timcc_section_mgr = new Host.TIMCC.TIMCC_SectionManager("http://10.1.1.50/section_traffic_data.xml"); #else timcc_section_mgr = new Host.TIMCC.TIMCC_SectionManager("http://10.1.1.50/section_traffic_data.xml"); #endif mfcc_mgr = new MFCC.MFCC_Manager(); // rgs_polygon_section_mapping = new RGS_PolygonSectionMapping(); tmr1min.Elapsed += new System.Timers.ElapsedEventHandler(tmr1min_Elapsed); Schedule.ScheduleManager.LoadAllSchedule(); }
public Matrix() { // new Event.MovingConstruct.MovingConstructRange(1, "1", DateTime.Now, "N1", "N", 100, 1000, 0, "AA", "AA"); #if DEBUG // timcc_section_mgr = new Host.TIMCC.TIMCC_SectionManager("temp.xml"); timcc_section_mgr = new Host.TIMCC.TIMCC_SectionManager("http://10.1.1.50/section_traffic_data.xml"); xml_weather_mgr = new XmlWeatherManager(); #else timcc_section_mgr = new Host.TIMCC.TIMCC_SectionManager("http://10.21.50.100/N_section_traffic_data.xml"); xml_weather_mgr = new XmlWeatherManager(); #endif mfcc_mgr = new MFCC.MFCC_Manager(); // rgs_polygon_section_mapping = new RGS_PolygonSectionMapping(); tmr1min.Elapsed += new System.Timers.ElapsedEventHandler(tmr1min_Elapsed); #if !DEBUG Schedule.ScheduleManager.LoadAllSchedule(); #endif }