예제 #1
0
 public void FixedConfigure(ChargerId id, ChargerInfoConfig chcf)
 {
     if (ChargerStationList.ContainsKey(id))
     {
         ChargerStationList[(ChargerId)id].UpdateConfigure(chcf);
     }
 }
예제 #2
0
 // public override event Action<Object> ErrorProcedureHandler;
 public ProcedureRobotToReady(RobotUnity robot, ChargerId id, TrafficManagementService trafficService, ChargerManagementService chargerService, Pose PointCheckIn) : base(robot, trafficService)
 {
     StateRobotGoToReady = RobotGoToReady.ROBREA_IDLE;
     this.robot          = robot;
     this.Traffic        = trafficService;
     this.charger        = chargerService;
     this.chardgeId      = id;
     this.robot.ShowText("this.chardgeId" + this.chardgeId);
     procedureCode = ProcedureCode.PROC_CODE_ROBOT_TO_READY;
 }
예제 #3
0
 public ProcedureRobotToCharger(RobotUnity robot, ChargerManagementService charger, ChargerId id) : base(robot)
 {
     StateRobotToCharge = RobotGoToCharge.ROBCHAR_IDLE;
     batLevel           = new DataReceive();
     statusCharger      = new DataReceive();
     this.robot         = robot;
     chargerCtrl        = charger.ChargerStationList[id];
     procedureCode      = ProcedureCode.PROC_CODE_ROBOT_TO_CHARGE;
 }