namespace EC.Onvif.Camera { public class Camera { public Camera() { } public Camera(string cameraIp, int port, string userName, string passWord) { CameraCode = cameraIp; CameraIp = cameraIp; Port = port; UserName = userName; PassWord = passWord; } public string CameraCode { get; set; } public string CameraIp { get; set; } public int Port { get; set; } public string UserName { get; set; } public string PassWord { get; set; } public int CameraType { get; set; } public bool IsPtz { get; set; } public string PTZUrl { get; set; } /// /// 是否登录 /// public bool logined { get; set; } public bool isConnected { get; set; } public bool dataLoaded { get; set; } public object device { get; set; } public object media { get; set; } public object ptz { get; set; } public object imaging { get; set; } public object caps { get; set; } public bool absolute_move { get; set; } public bool relative_move { get; set; } public bool continuous_move { get; set; } public bool focus { get; set; } } }