old mode 100644
new mode 100755
| | |
| | | {
|
| | | string myId = this.SSID;
|
| | |
|
| | | if (myId.StartsWith("hdlZigbeeGW") == true)
|
| | | if (myId != null && myId.StartsWith("hdlZigbeeGW") == true)
|
| | | {
|
| | | return true;
|
| | | }
|
| | | return false;
|
| | | }
|
| | | }
|
| | |
|
| | | /// <summary>
|
| | | /// 当前是否是Mini网关热点
|
| | | /// </summary>
|
| | | public bool IsMiniGatewayHotspot
|
| | | {
|
| | | get
|
| | | {
|
| | | string myId = this.SSID;
|
| | |
|
| | | if (myId != null && myId.StartsWith("hdlZigbeeGW-") == true)
|
| | | {
|
| | | return true;
|
| | | }
|
| | |
| | | public string SSID
|
| | | {
|
| | | get
|
| | | { |
| | | {
|
| | | #if iOS
|
| | | string ssiD = Shared.WiimuUPnP.SSID; |
| | | if (string.IsNullOrEmpty(ssiD) == false && ssiD.StartsWith("\"") && ssiD.EndsWith("\"")) |
| | | { |
| | | ssiD = ssiD.Substring(1, ssiD.Length - 2); |
| | | string ssiD = Shared.WiimuUPnP.SSID;
|
| | | if (string.IsNullOrEmpty(ssiD) == false && ssiD.StartsWith("\"") && ssiD.EndsWith("\""))
|
| | | {
|
| | | ssiD = ssiD.Substring(1, ssiD.Length - 2);
|
| | | }
|
| | | return ssiD;
|
| | | #endif
|