private void simpleButton1_Click(object sender, EventArgs e)
 {
     labelX4.ResetText();
     try
     {
         string msg = "";
         if (!Validata(out msg))
         {
             labelX4.Text = msg;
         }
         else
         {
             bool ret = m_viewModel.AddCamera(VideoSupplierId, textBoxChannel.Text, textBoxCameraName.Text, textBoxCameraID.Text, doubleInputX.Value, doubleInputY.Value);
             DialogResult = System.Windows.Forms.DialogResult.OK;
         }
     }
     catch (SDKCallException ex)
     {
         labelX4.Text = "相机添加失败 [" + ex.ErrorCode + "] " + ex.Message;
     }
 }