| | |
| | | /** |
| | | * 任务号 |
| | | */ |
| | | public Short taskNo = 0; |
| | | public Long taskNo = 0L; |
| | | |
| | | /** |
| | | * 有物 |
| | | */ |
| | | public Short loaded;//0 无物;1 有物 |
| | | public Short loaded = -1;//0 无物;1 有物 |
| | | |
| | | /** |
| | | * RGV当前位置 |
| | | */ |
| | | public Long RgvPos = 0L; |
| | | |
| | | /** |
| | | * RGV目的位置 |
| | | */ |
| | | public Long RgvPosDestination = 0L; |
| | | |
| | | /** |
| | | * 走行在定位 |
| | |
| | | public Float xDuration; |
| | | |
| | | /** |
| | | * 是否避让 |
| | | * 车身 |
| | | */ |
| | | public Short Avoid;//0\1\2 |
| | | public Long carBodyJiaoMing = 2000L; |
| | | |
| | | /** |
| | | * 避让目的地 |
| | | * 车身 |
| | | */ |
| | | public Short AvoidingTheDestination; |
| | | public Long carBodyKunPeng = 15000L; |
| | | |
| | | /** |
| | | * 是否启用 |
| | |
| | | return basRgv; |
| | | } |
| | | |
| | | public long getRgvPosDestinationOrPos(boolean sign){ |
| | | if (!sign){ |
| | | return RgvPosDestination>RgvPos? RgvPosDestination:RgvPos; |
| | | } else { |
| | | return RgvPosDestination<RgvPos? RgvPosDestination:RgvPos; |
| | | } |
| | | } |
| | | |
| | | public void setxSpeed(Short xSpeed) { |
| | | this.xSpeed = Float.valueOf(xSpeed); |
| | | } |