private void LoadConfig() { Config.ConfigManger.Instance.LoadConfig(); var station = new StationTest(); var station1 = new StationTest1(); var station2 = new StationTest2(); StationMgr.Instance.AddInstanse(station); StationMgr.Instance.AddInstanse(station1); StationMgr.Instance.AddInstanse(station2); homeView.AddMonitorList(station); homeView.AddMonitorList(station1); homeView.AddMonitorList(station2); //可以接收Station的消息 homeView.SetStationBinding(station, station1, station2); }