111
cjs
2025-07-04 5a8af645c7e36595e218d8ffc36d4f74eab63a32
ams/Hanhe.iWCS.TaizhouGEMTwoProtocol/ApiHelper.cs
@@ -441,6 +441,20 @@
            return result;
        }
        internal static SimpleResult OutWareMode(OutWareModel models)
        {
            SimpleResult result = new SimpleResult() { success = false, errCode = 0 };
            var modeInfo = MongoDBSingleton.Instance.FindOne<ModeList>("ModeList");
            if (modeInfo != null)
            {
                MongoDBSingleton.Instance.Update<ModeList>(Query.EQ("_id", modeInfo._id), Update.Set("Mode", models.model), UpdateFlags.None);
                result.success = true;
                result.errCode = 0;
            }
            return result;
        }
        public class CameraTable
        {
            public ObjectId _id { get; set; }
@@ -561,5 +575,13 @@
            /// </summary>
            public int PointStatus { get; set; }
        }
        public class OutWareModel
        {
            /// <summary>
            /// 模式(入库模式  出库模式)
            /// </summary>
            public string model { get; set; }
        }
    }
}