示例#1
0
        public bool MoveHorizontalLeftA(int distance)
        {
            int locationA = ControlCom.GetHorizontalA();
            int location  = locationA - distance;

            if (location >= 0)
            {
                return(ControlCom.MoveHorizontalA(location));
            }
            else
            {
                return(ControlCom.RefreshElectricA());
            }
        }
示例#2
0
 public bool HorizontalAToZero()
 {
     return(ControlCom.RefreshElectricA());
 }