private MotorInfoMap <MotorInfoUnit> GetOriginalMotorInfo() { try { var bytes = Requestor.CreateGetStatusCmd(); bytes = this.tcpClient.Query(bytes, x => Protocol.Verify(x), out bool valid); if (valid) { return(Responder.GetMotorStatus(bytes)); } else { throw new Exception(); } } catch { throw new Exception("Error occurred when getting motor information!"); } }