| | |
| | | } |
| | | |
| | | public string VersionNumber { |
| | | get { return MainPage.CodeIDString; } |
| | | get { return MainPage.RequestVersion; } |
| | | } |
| | | |
| | | public string TipVersionBackup = string.Empty; |
| | |
| | | |
| | | public RegionInfoRes CurrentRegion = new RegionInfoRes (); |
| | | |
| | | public bool CheckHomeGateways () |
| | | { |
| | | if (CurrentRegion.HomeGateways != null && CurrentRegion.HomeGateways.Count > 0) { |
| | | return true; |
| | | } else { |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | public List<GatewayRes> GatewayList = new List<GatewayRes> (); |
| | | |
| | | public List<string> GatewayMACList { |
| | | get { |
| | | List<string> macList = new List<string> (); |
| | | foreach (var mac in GatewayList) { |
| | | macList.Add (mac.MAC); |
| | | macList.Add (mac.GatewayUniqueId); |
| | | } |
| | | return macList; |
| | | } |