protected byte[] QueryProduct(byte[] cmd, int delay) { var address = BoardNum; var send = WrapCmd(cmd, (byte)address); Log.LogDebug("send data:\t" + GetDataStr(send)); var recv = Comm.Query(send, delay); Log.LogDebug("recv data:\t" + GetDataStr(recv)); return(recv); }
private byte[] Query(byte[] cmd, int sleep = 0) { lock (_ovenLock) { return(_com.Query(cmd, sleep)); } }