This commit is contained in:
xuzhiheng
2025-06-18 13:31:50 +08:00
parent 7ac42a2b80
commit b870caa0e5
2 changed files with 39 additions and 4 deletions

View File

@@ -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.
*