using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ropin.Inspection.Model.ViewModel.VMC
{
    public class VmcCameraViewModel : BaseViewModel
    {
        public string C_ID { get; set; }
        public string C_Name { get; set; }
        public string C_CameraNo { get; set; }
        public string C_QRCode { get; set; }
        public string C_MachineCode { get; set; }
        public DateTime? D_ProdDate { get; set; }
        public string C_CameraTempCode { get; set; }
        public string C_CameraTempName { get; set; }
        public string C_StoreCode { get; set; }
        public string C_StoreName { get; set; }
        public string C_Type { get; set; }
        public string C_TypeName { get; set; }
        public string TypeValue { get; set; }
        public string C_SnapURL { get; set; }
        public string C_VideoURL { get; set; }
        public string C_M3u8URL { get; set; }
        public string C_Serial { get; set; }
        public string C_CameraCode { get; set; }
        public int? I_Sort { get; set; }
        public string C_Remark { get; set; }
        public string C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
        public string C_LastUpdatedBy { get; set; }
        public DateTime? D_LastUpdatedOn { get; set; }
        public string C_RunStatus { get; set; }
        public string C_Status { get; set; }
    }

    public class VmcCameraMigrateViewModel : BaseViewModel
    {
        public string C_ID { get; set; }
        public string C_Name { get; set; }
        public string C_CameraCode { get; set; }
        public string C_LastStoreCode { get; set; }
        public string C_LastStoreName { get; set; }
        public string C_CurrentStoreCode { get; set; }
        public string C_CurrentStoreName { get; set; }
        public string C_Remark { get; set; }
        public string C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
    }

    public class VmcDevCameraViewModel : BaseViewModel
    {
        public string C_ID { get; set; }
        public string C_CameraCode { get; set; }
        public string C_CameraName { get; set; }
        public string C_CameraNo { get; set; }
        public string C_Serial { get; set; }
        public string Codes { get; set; }
        public string C_CameraType { get; set; }
        public string C_CameraTypeValue { get; set; }
        public string C_RunStatus {get;set;}
        public string C_CameraStatus { get; set; }
        public string C_DevStoreCode { get; set; }
        public string C_DevStoreName { get; set; }
        public string C_NumberCode { get; set; }
        public int F_ShootingTime { get; set; }
        public string C_Status { get; set; }

        public string C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
        public string C_Creator { get; set; }
    }

    public class VmcDevCamera
    {
        public string C_DevStoreCode { get; set; }
        public List<VmcCameraList> CameraList { get; set; }
        //public string C_CameraCode { get; set; }
        //public List<string> C_DevStoreList { get; set; }
    }

    public class VmcCameraList
    {
        public string C_CameraId { get; set; }
        public int F_ShootingTime { get; set; }
        public string C_Status { get; set; }
    }

    public class LiveGBSModel
    {
        public string ChannelID { get; set; } //通道编号
        public string DeviceID { get; set; }//设备编号
        public string DeviceName { get; set; }//设备名称
        public bool DeviceOnline { get; set; }//设备在线状态
        public int Channel { get; set; }//通道序号
        public string Name { get; set; }//通道名称
        public string SnapURL { get; set; }//通道快照链接
        public string Model { get; set; }//通道设备型号
        public string Status { get; set; }//在线状态 允许值: ON, OFF
        public string StreamID { get; set; }//直播流ID
        public string SMSID { get; set; }//流媒体编号
        public string FLV { get; set; }//HTTP-FLV 播放地址
        public string HLS { get; set; }//HLS(M3U8) 播放地址
        public string RTMP { get; set; }//RTMP 播放地址
        //public string VSnapURL { get; set; }//实时直播-快照地址
        public string WEBRTC { get; set; }//WEBRTC 播放地址
        public string WS_FLV { get; set; }//Websocket-FLV 播放地址
    }
}