예제 #1
0
 /// <summary>
 /// DigitSet must be initial first.
 /// </summary>
 /// <returns>initial is successful or not</returns>
 public override bool CheckParameter()
 {
     if (!DigitSet.DigitSetStatus)
     {
         DigitSet.Initial();
     }
     return(DigitSet.DigitSetStatus);
 }
예제 #2
0
 /// <summary>
 /// Execute Initial Function and Refresh quantity on the Mainform.
 /// </summary>
 /// <returns>it is not important</returns>
 public override int RunSubThread()
 {
     //judage if threading is cancelled.
     this.IsTaskCanceled();
     DigitSet.Initial();
     param.RefreshQuantityFunction();
     return(0);
 }