public ChannelInfoViewModel()
 {
     Title = "添加通道";
     //初始化通道参数
     ChannelId = System.Guid.NewGuid().ToString().Replace("-", "");
     ChannelName = "";
     ChannelType = thirft.QueryDefChannelType();
     SelectedChannelType = 0;
     CaptureAddr = "";
     CapturePort = "";
     Remark = "";
     //初始化图像源参数
     CaptureType = thirft.QueryDefCameraType();
     SelectedType = 3;
     VideoAddr = "";
     VideoPort = "";
     UID = "";
     PSW = "";
     ResetFaceCap();
 }