public GrooveInspection(MachineSettings machineSettings)
 {
     method  = InspectionMethod.GROOVES;
     Barrel  = new TubeInspection.Barrel();;
     Twist   = new TwistProfile();
     Grooves = new List <int>();
     SensorEncoderTriggerAxis = machineSettings.XAxis;
     PositionAxis1            = machineSettings.AAxis;
     PositionAxis2            = null;
 }
        public GrooveInspection()
        {
            method = InspectionMethod.GROOVES;
            Barrel = new TubeInspection.Barrel();

            ZStart     = 0;
            ZEnd       = 1;
            ZIncrement = 0.1;
            Twist      = new TwistProfile();
            Grooves    = new List <int>();
            SensorEncoderTriggerAxis = new Axis(0, "X", AxisTypeEnum.Rotary, "APOSX");
            PositionAxis1            = new Axis(0, "A", AxisTypeEnum.Rotary, "APOSA");
            PositionAxis2            = null;
        }