Esempio n. 1
0
 public ToolCall(Match m)
 {
     try
     {
         OrgToolCallString = m.Value + " ";
         OrgToolRangeValue = System.Math.Floor(decimal.Parse(m.Groups[1].ToString()) / 1000) * 1000;
         OrgToolCallValue  = (Int32.Parse(OrgToolCallString.Replace(CNCProgram.ToolCallString + " ", "")));
     }
     catch (Exception)
     {
         throw;
     }
 }
Esempio n. 2
0
 public ToolCall(Match m)
 {
     OrgToolCallString = m.Value + " ";
     OrgToolRangeValue = System.Math.Floor(decimal.Parse(m.Groups[1].ToString()) / 1000) * 1000;
     OrgToolCallValue  = (Int32.Parse(OrgToolCallString.Replace(FileToChange.ToolCallString + " ", "")));
 }