StableVersion4.3/HL_FristAidPlatform_Help/Model/T_Base_VideoDeviceServerMod...

75 lines
2.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using HL_FristAidPlatform_Models;
namespace HL_FristAidPlatform_Help
{
/// <summary>
/// 视频监控服务器端
/// </summary>
public class T_Base_VideoDeviceServerModel : T_Base_VideoDeviceServer
{
private string _serverTypeName;
/// <summary>
/// 服务器类型1注册服务器2流媒体服务器3报警服务器4解码服务器
/// </summary>
public string ServerTypeName
{
get
{
string valueStr = string.Empty;
switch (_serverTypeName)
{
case "1":
valueStr = "注册服务器";
break;
case "2":
valueStr = "流媒体服务器";
break;
case "3":
valueStr = "报警服务器";
break;
case "4":
valueStr = "解码服务器";
break;
default:
valueStr = "未知";
break;
}
return valueStr;
}
set
{
_serverTypeName = value;
}
}
private string _deleteFlagCase;
/// <summary>
/// 启用标记0启用1禁用
/// </summary>
public string DeleteFlagCase
{
get
{
string valueStr = string.Empty;
switch (_deleteFlagCase)
{
case "0":
valueStr = "是";
break;
case "1":
valueStr = "否";
break;
default:
valueStr = "未知";
break;
}
return valueStr;
}
set
{
_deleteFlagCase = value;
}
}
}
}