update
This commit is contained in:
@@ -91,6 +91,14 @@ public class VehicleProcessModel {
|
||||
* The vehicle's current bounding box.
|
||||
*/
|
||||
private BoundingBox boundingBox;
|
||||
/**
|
||||
* 当前车辆级别
|
||||
*/
|
||||
private Vehicle.IntegrationLevel integrationLevel;
|
||||
/**
|
||||
* 载货状态
|
||||
*/
|
||||
private Boolean loadState;
|
||||
|
||||
/**
|
||||
* Creates a new instance.
|
||||
@@ -661,6 +669,7 @@ public class VehicleProcessModel {
|
||||
@Nonnull
|
||||
Vehicle.IntegrationLevel level
|
||||
) {
|
||||
integrationLevel = level;
|
||||
getPropertyChangeSupport().firePropertyChange(
|
||||
Attribute.INTEGRATION_LEVEL_CHANGE_REQUESTED.name(),
|
||||
null,
|
||||
@@ -668,6 +677,14 @@ public class VehicleProcessModel {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取车辆级别
|
||||
* @return 车辆级别
|
||||
*/
|
||||
public Vehicle.IntegrationLevel getIntegrationLevel() {
|
||||
return integrationLevel;
|
||||
}
|
||||
|
||||
/**
|
||||
* Notifies observers that the vehicle would like to have its current transport order withdrawn.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user