Exemple #1
0
 /// <summary>
 /// Go to next page
 /// </summary>
 /// <param name="output">VtagExpectedData</param>
 /// <returns>Clear FormulaField </returns>
 public Boolean GotoNextPage(VtagOuputData output)
 {
     if (JazzFunction.VTagSettings.FocusOnVTagByName(output.CommonName))
     {
         JazzFunction.VTagSettings.GotoPageOnVTagList(2);
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #2
0
 /// <summary>
 /// Judge whether invalid message of type field is correct
 /// </summary>
 /// <param name="output">VtagExpectedData</param>
 /// <returns>whether the invalid message is ture</returns>
 public Boolean IsStepInvalidMsgCorrect(VtagOuputData output)
 {
     return(CalculationStepComboBox.GetInvalidTips().Contains(output.Step));
 }
Exemple #3
0
 /// <summary>
 /// Judge whether invalid message of type field is correct
 /// </summary>
 /// <param name="output">VtagExpectedData</param>
 /// <returns>whether the invalid message is ture</returns>
 public Boolean IsCalculationTypeInvalidMsgCorrect(VtagOuputData output)
 {
     return(CalculationTypeComboBox.GetInvalidTips().Contains(output.CalculationType));
 }
Exemple #4
0
 /// <summary>
 /// Judge whether invalid message of type field is correct
 /// </summary>
 /// <param name="output">VtagExpectedData</param>
 /// <returns>whether the invalid message is ture</returns>
 public Boolean IsUomInvalidMsgCorrect(VtagOuputData output)
 {
     return(UomComboBox.GetInvalidTips().Contains(output.UOM));
 }
Exemple #5
0
 /// <summary>
 /// Judge whether invalid message of type field is correct
 /// </summary>
 /// <param name="output">VtagExpectedData</param>
 /// <returns>whether the invalid message is ture</returns>
 public Boolean IsCommodityInvalidMsgCorrect(VtagOuputData output)
 {
     return(CommodityComboBox.GetInvalidTips().Contains(output.Commodity));
 }
Exemple #6
0
 /// <summary>
 /// Judge whether invalid message of Comments field is correct
 /// </summary>
 /// <param name="output">VtagExpectedData</param>
 /// <returns>whether the invalid message is true</returns>
 public Boolean IsCommentsInvalidMsgCorrect(VtagOuputData output)
 {
     return(CommentTextField.GetInvalidTips().Contains(output.Comments));
 }
Exemple #7
0
 /// <summary>
 /// Judge whether invalid message of code field is correct
 /// </summary>
 /// <param name="output">VtagExpectedData</param>
 /// <returns>whether the invalid message is ture</returns>
 public Boolean IscodeInvalidMsgCorrect(VtagOuputData output)
 {
     return(codeTextField.GetInvalidTips().Contains(output.Code));
 }
Exemple #8
0
 /// <summary>
 /// Judge whether invalid message of name field is correct
 /// </summary>
 /// <param name="output">VtagExpectedData</param>
 /// <returns>whether the invalid message is ture</returns>
 public Boolean IsNameInvalidMsgCorrect(VtagOuputData output)
 {
     return(NameTextField.GetInvalidTips().Contains(output.CommonName));
 }