/// <summary> /// 设置单个线圈 功能码=F05 /// </summary> /// <param name="address">设置线圈地址</param> /// <param name="data">设置线圈状态 true通,false断</param> /// <returns>返回 IsSuccess:请求结果True=成功,Message:信息,Data.Data:返回数据</returns> public void F05(int address, Boolean data, ReturnReceive callback) { CommandData command = CommandCode.F05(address, data); AddListSand(new ListSendData { CommandData = command, RR = callback }); //Send(command, callback); //return receive == null ? false : ReceiveData.F05(receive); }