| | |
| | | var gateWay = Newtonsoft.Json.JsonConvert.DeserializeObject<OnePortWirelessFR> (gateWayString); |
| | | mac = gateWay.MAC.Replace (".", ""); |
| | | return mac; |
| | | } else if (common.Type == DeviceType.OnePortMqttFR) { |
| | | var gateWay = Newtonsoft.Json.JsonConvert.DeserializeObject<OnePortMqttFR> (gateWayString); |
| | | mac = gateWay.MAC.Replace (".", ""); |
| | | return mac; |
| | | } else if (common.Type == DeviceType.OnePortBus) { |
| | | var gateWay = Newtonsoft.Json.JsonConvert.DeserializeObject<OnePortBus> (gateWayString); |
| | | mac = gateWay.MAC.Replace (".", ""); |