/// <summary> /// 查询网关所有属性指令 /// </summary> public void GetGatewayAllAttribute() { BaseCommand command = new GetDeviceAllAttributeCommand(); this.TCPClient.SendData(command.Pack()); }
/// <summary> /// 查询设备所有属性指令 /// </summary> /// <param name="deviceId"></param> public void GetDeviceAllAttribute(string deviceId) { BaseCommand command = new GetDeviceAllAttributeCommand(deviceId); this.TCPClient.SendData(command.Pack()); }