Ejemplo n.º 1
0
 public int GetCommonVariableCount()
 {
     if (Okuma.Scout.Platform.BaseMachineType == Scout.Enums.MachineType.L)
     {
         return(LatheObject.GetCommonVariableCount());
     }
     else if (Okuma.Scout.Platform.BaseMachineType == Scout.Enums.MachineType.M)
     {
         return(MillObject.GetCommonVariableCount());
     }
     return(-1);
 }
Ejemplo n.º 2
0
 public bool AddCommonVariable(int Index, double Value)
 {
     if (Okuma.Scout.Platform.BaseMachineType == Scout.Enums.MachineType.L)
     {
         return(LatheObject.AddCommonVariable(Index, Value));
     }
     else if (Okuma.Scout.Platform.BaseMachineType == Scout.Enums.MachineType.M)
     {
         return(MillObject.AddCommonVariable(Index, Value));
     }
     return(false);
 }
Ejemplo n.º 3
0
 public double GetCommonVariable(int Index)
 {
     if (Okuma.Scout.Platform.BaseMachineType == Scout.Enums.MachineType.L)
     {
         return(LatheObject.GetCommonVariable(Index));
     }
     else if (Okuma.Scout.Platform.BaseMachineType == Scout.Enums.MachineType.M)
     {
         return(MillObject.GetCommonVariable(Index));
     }
     return(-99999999.999);
 }
Ejemplo n.º 4
0
 public double[] GetCommonVariables(int FromIndex, int ToIndex)
 {
     if (Okuma.Scout.Platform.BaseMachineType == Scout.Enums.MachineType.L)
     {
         return(LatheObject.GetCommonVariables(FromIndex, ToIndex));
     }
     else if (Okuma.Scout.Platform.BaseMachineType == Scout.Enums.MachineType.M)
     {
         return(MillObject.GetCommonVariables(FromIndex, ToIndex));
     }
     double[] fail = { -99999999.999 };
     return(fail);
 }