duheng
2024-10-09 72ea4c36ef56c1ac72b9e03f52f4146a3cacc6bc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace Yw.BLL.Unit
{
    /// <summary>
    /// CAL辅助类
    /// </summary>
    internal class CALCreateHelper
    {
        /// <summary>
        /// 创建DAL
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <returns></returns>
        public static T CreateCAL<T>()
        {
            var type = Settings.UnitParasHelper.Unit.CAL.CALType;
            return Yw.CALFactory.CreateCAL<T>(type);
        }
    }
}