deleteOneTCP static method
Implementation
static Future deleteOneTCP(PortConfig config) async {
final channel = await Channel.getOpenIoTHubChannel();
final stub = CommonDeviceManagerClient(channel);
final response = await stub.deleteOneTCP(config);
print('Greeter client received: ${response}');
channel.shutdown();
//同步到服务器
PortInfo portInfo = PortInfo();
portInfo.uUID = config.uuid;
PortManager.DelPort(portInfo);
}