Esempio n. 1
0
        /// <summary>
        /// 仓库存储系统
        /// </summary>
        /// <param name="systemMediator">系统模块中间层</param>
        public DelegateSystem(SystemMediator systemMediator) : base(systemMediator)
        {
            delegateStorage = new DelegateStorage();

            #region 实例化锁

            #region DT锁

            noParams_DT    = new object();
            oneParams_DT   = new object();
            twoParams_DT   = new object();
            threeParams_DT = new object();
            fourParams_DT  = new object();
            fiveParams_DT  = new object();
            sixParams_DT   = new object();
            sevenParams_DT = new object();
            eightParams_DT = new object();
            nineParams_DT  = new object();
            tenParams_DT   = new object();

            #endregion

            #region BL锁

            noParams_BL    = new object();
            oneParams_BL   = new object();
            twoParams_BL   = new object();
            threeParams_BL = new object();
            fourParams_BL  = new object();
            fiveParams_BL  = new object();
            sixParams_BL   = new object();
            sevenParams_BL = new object();
            eightParams_BL = new object();
            nineParams_BL  = new object();
            tenParams_BL   = new object();

            #endregion

            #endregion
        }
Esempio n. 2
0
 public ObjectSystem(SystemMediator systemMediator) : base(systemMediator)
 {
     objectStorage = new ObjectStorage();
 }