update
This commit is contained in:
@@ -115,14 +115,14 @@ public class StandardKernel
|
||||
//开启MQTT服务
|
||||
// mqttBrokerServer.startMqtt();
|
||||
|
||||
//开启通讯适配器自动管理
|
||||
adapterManage.START();
|
||||
LOG.info("Communication adapter auto management started successfully");
|
||||
|
||||
initialized = true;
|
||||
LOG.debug("Starting kernel thread");
|
||||
Thread kernelThread = new Thread(this, "kernelThread");
|
||||
kernelThread.start();
|
||||
|
||||
//开启通讯适配器自动管理
|
||||
// adapterManage.START();
|
||||
// LOG.info("Communication adapter auto management started successfully");
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -143,7 +143,7 @@ public class StandardKernel
|
||||
// mqttBrokerServer.stopMqtt();
|
||||
|
||||
//关闭通讯适配器自动管理
|
||||
// adapterManage.STOP();
|
||||
adapterManage.STOP();
|
||||
|
||||
initialized = false;
|
||||
terminationSemaphore.release();
|
||||
|
||||
@@ -51,6 +51,7 @@ import org.opentcs.data.order.TransportOrder;
|
||||
import org.opentcs.data.peripherals.PeripheralJob;
|
||||
import org.opentcs.data.peripherals.PeripheralOperation;
|
||||
import org.opentcs.drivers.vehicle.LoadHandlingDevice;
|
||||
import org.opentcs.manage.AdapterManage;
|
||||
import org.opentcs.park.ParkStrategy;
|
||||
import org.opentcs.park.entity.Park;
|
||||
import org.opentcs.util.event.EventHandler;
|
||||
@@ -171,6 +172,8 @@ public class PlantModelManager
|
||||
ObjectUnknownException {
|
||||
LOG.info("Plant model is being created: {}", to.getName());
|
||||
|
||||
// AdapterManage.kernelStatus = true;
|
||||
|
||||
clear();
|
||||
setName(to.getName());
|
||||
setProperties(to.getProperties());
|
||||
@@ -196,6 +199,9 @@ public class PlantModelManager
|
||||
}
|
||||
|
||||
createVisualLayout(to.getVisualLayout());
|
||||
|
||||
// AdapterManage.kernelStatus = true;
|
||||
LOG.info("Plant model created successfully: {}", to.getName());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user