public JDQResponse(JDQRequestType reqType, byte[] recvBytes) { this._buff = new byte[recvBytes.Length]; Array.Copy(recvBytes, _buff, recvBytes.Length); this._type = reqType; Error = SocketError.Success; ExtError = ""; }
public JDQRequest(byte devId, JDQRequestType type) { this.DevId = devId; this._type = type; }