/// <summary>
 /// 按钮点击事件-判断模具移库合法性
 /// </summary>
 /// <param name="sender">事件源</param>
 /// <param name="e">事件参数</param>
 private void CheckMoldBtn_Click(object sender, RoutedEventArgs e)
 {
     if (DesiPosiNRTB.Text.Length > 0)
     {
         MoldPartInfoServiceClient client = new MoldPartInfoServiceClient();
         string moldNr = client.GetMoldNrByPosiNr(DesiPosiNRTB.Text);
         if (moldNr.Length > 0)
         {
             DesiPosiMoldNrLab.Content = moldNr + "        >>移库将调换两个模具库位";
         }
         else {
             DesiPosiMoldNrLab.Content = "目标位置不存在模具";
         }
         OKBtn.IsEnabled = true;
     }
 }
 /// <summary>
 /// 按钮点击事件-判断模具移库合法性
 /// </summary>
 /// <param name="sender">事件源</param>
 /// <param name="e">事件参数</param>
 private void CheckMoldBtn_Click(object sender, RoutedEventArgs e)
 {
     if (DesiPosiNRTB.Text.Length > 0)
     {
         MoldPartInfoServiceClient client = new MoldPartInfoServiceClient();
         string moldNr = client.GetMoldNrByPosiNr(DesiPosiNRTB.Text);
         if (moldNr.Length > 0)
         {
             DesiPosiMoldNrLab.Content = moldNr + "        >>移库将调换两个模具库位";
         }
         else
         {
             DesiPosiMoldNrLab.Content = "目标位置不存在模具";
         }
         OKBtn.IsEnabled = true;
     }
 }