wjc
2023-08-01 01f9d2ef466c1313bc5f0e486d90db0054bcddd9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
using System;
using HDL_ON.Entity;
using System.Collections.Generic;
using Shared;
using HDL_ON.DAL.Server;
namespace HDL_ON.UI.UI2.FuntionControlView.Aks
{
    /// <summary>
    /// 影音中控屏公共方法类
    /// </summary>
    public class AksCommonMethod
    {
        private static AksCommonMethod commonMethod = null;
        /// <summary>
        /// 获取对象
        /// </summary>
        public static AksCommonMethod Current
        {
            get
            {
                if (commonMethod == null)
                {
                    commonMethod = new AksCommonMethod();
                }
 
                return commonMethod;
 
            }
 
        }
 
 
        /// <summary>
        /// 获取影音中控屏列表
        /// </summary>
        /// <returns></returns>
        public List<Function> GetVideoControlsList()
        {
            var list = FunctionList.List.GetVideoControlsList();
#if DEBUG
            list.Add(new Function { name = "影音中控屏一", sid = "11111111", spk = SPK.AvZkAiks });
            list.Add(new Function { name = "影音中控屏二", sid = "22222222", spk = SPK.AvZkAiks });
#endif
            return list;
        }
    }
}