You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.9 KiB
70 lines
1.9 KiB
using Infrastructure.Application;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace ONVIFService.Applicaiton.Models
|
|
{
|
|
[Display(Name = "摄像头")]
|
|
public class EditCameraModel : EditModel
|
|
{
|
|
[Required]
|
|
[Display(Name = "编号")]
|
|
public string Number { get; set; }
|
|
|
|
[Required]
|
|
[Display(Name = "设备地址")]
|
|
public string DeviceUrl { get; set; }
|
|
|
|
[Required]
|
|
[Display(Name = "码流")]
|
|
public string Profiles { get; set; }
|
|
|
|
[Display(Name = "流地址")]
|
|
public string StreamUri { get; set; }
|
|
|
|
[Display(Name = "截图地址")]
|
|
public string SnapshotUri { get; set; }
|
|
|
|
[Display(Name = "控制台地址")]
|
|
public string PtzAddress { get; set; }
|
|
|
|
[Display(Name = "缩放支持")]
|
|
public bool Ptz3DZoomSupport { get; set; }
|
|
|
|
[Display(Name = "需验证")]
|
|
public bool NeedAuth { get; set; }
|
|
|
|
[Display(Name = "已验证")]
|
|
public bool HasAuth { get; set; }
|
|
|
|
[Display(Name = "用户名")]
|
|
public string UserName { get; set; }
|
|
|
|
[Display(Name = "密码")]
|
|
public string Password { get; set; }
|
|
|
|
public string Rtmp1 { get; set; }
|
|
public string Flv1 { get; set; }
|
|
public string Hls1 { get; set; }
|
|
public string Rtmp2 { get; set; }
|
|
public string Flv2 { get; set; }
|
|
public string Hls2 { get; set; }
|
|
|
|
[Display(Name = "启用")]
|
|
public bool Enabled { get; set; }
|
|
|
|
[Display(Name = "推流")]
|
|
public bool Publish { get; set; }
|
|
|
|
[Display(Name = "自定义参数")]
|
|
public bool UseCustomArguments { get; set; }
|
|
|
|
[Display(Name = "自定义参数")]
|
|
public string Arguments { get; set; }
|
|
|
|
[Display(Name = "自定义ffmpeg")]
|
|
public bool UseCustomFile { get; set; }
|
|
|
|
[Display(Name = "ffmpeg")]
|
|
public string File { get; set; }
|
|
}
|
|
} |