|
|
@@ -125,20 +125,13 @@ class ForeignHaiRoboticsService
|
|
|
=$updateEventType)==1){
|
|
|
return $this->markHasGot();
|
|
|
}
|
|
|
- switch ($updateEventType){
|
|
|
- case 0:
|
|
|
- case 1:
|
|
|
- }
|
|
|
$this->markHasGot();
|
|
|
|
|
|
}
|
|
|
public function markHasPut(
|
|
|
$groupCode,
|
|
|
$taskCode,
|
|
|
- $updateEventType, //0:task_begin(取货)1:task_end(放货)
|
|
|
- $status, //0:任务成功1:任务失败
|
|
|
$binCode,
|
|
|
- $robotId,
|
|
|
$description
|
|
|
):bool{
|
|
|
|
|
|
@@ -147,10 +140,7 @@ class ForeignHaiRoboticsService
|
|
|
public function markHasGot(
|
|
|
$groupCode,
|
|
|
$taskCode,
|
|
|
- $updateEventType, //0:task_begin(取货)1:task_end(放货)
|
|
|
- $status, //0:任务成功1:任务失败
|
|
|
$binCode,
|
|
|
- $robotId,
|
|
|
$description
|
|
|
):bool{
|
|
|
|