Exemple #1
0
        /// <summary>
        /// 保存箱子信息
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public bool SaveBox(Box obj)
        {
            LoggingData data   = new LoggingData(ip, username, password, database);
            bool        result = data.SaveBox(obj.Code, Convert.ToByte(obj.IsIdle), obj.CoordinateInfo.X, obj.CoordinateInfo.Y, obj.RemarkInfo, (byte)obj.ThisSize, (byte)obj.CurrentState);

            return(result);
        }