示例#1
0
      public bool GuideAtExtendLimit(GuideLocations location)
      {
         bool result = false;

         if (GuideLocations.left == location)
         {
            result = this.guideLeftStatus.ExtensionLimit;
         }
         else if (GuideLocations.right == location)
         {
            result = this.guideRightStatus.ExtensionLimit;
         }

         return (result);
      }
示例#2
0
      public GuideDirections GetGuideDirection(GuideLocations location)
      {
         GuideDirections result = GuideDirections.off;

         if (GuideLocations.left == location)
         {
            result = this.guideLeftStatus.direction;
         }
         else if (GuideLocations.right == location)
         {
            result = this.guideRightStatus.direction;
         }

         return (result);
      }
示例#3
0
 public void SetGuideDirection(GuideLocations location, GuideDirections direction)
 {
    if (GuideLocations.left == location)
    {
       this.guideLeftStatus.direction = direction;
    }
    else if (GuideLocations.right == location)
    {
       this.guideRightStatus.direction = direction;
    }
 }
示例#4
0
 public bool GuideAtExtendLimit(GuideLocations location)
 {
    return (TruckCommBus.Instance.GuideAtExtendLimit(location));
 }
示例#5
0
 public GuideDirections GetGuideDirection(GuideLocations location)
 {
    return (TruckCommBus.Instance.GetGuideDirection(location));
 }
示例#6
0
 public void SetGuideDirection(GuideLocations location, GuideDirections direction)
 {
    TruckCommBus.Instance.SetGuideDirection(location, direction);
 }