| | |
| | | return false;
|
| | | } |
| | | //添加网关的话,强制主页刷新 |
| | | UserView.UserPage.Instance.RefreshForm = true; |
| | | UserView.UserPage.Instance.RefreshAllForm = true; |
| | | |
| | | return true; |
| | | }
|
| | |
| | | }
|
| | |
|
| | | //添加网关的话,强制主页刷新
|
| | | UserView.UserPage.Instance.RefreshForm = true;
|
| | | UserView.UserPage.Instance.RefreshAllForm = true;
|
| | |
|
| | | return 1; |
| | | } |
| | |
| | | //切换网关,保存缓存
|
| | | this.SaveGatewayIdToLocation(gatewayId);
|
| | | //切换网关的话,主页需要重新刷新
|
| | | UserView.UserPage.Instance.RefreshForm = true;
|
| | | UserView.UserPage.Instance.RefreshAllForm = true;
|
| | |
|
| | | return true;
|
| | | }
|
| | |
| | | public List<string> GetAllGatewayFile()
|
| | | {
|
| | | List<string> list = new List<string>();
|
| | | List<string> listFile = Global.FileListByHomeId();
|
| | | List<string> listFile = HdlFileLogic.Current.GetRootPathListFile();
|
| | | foreach (string file in listFile)
|
| | | {
|
| | | //只获取网关设备
|