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;
|
}
|
}
|
}
|