| | |
| | | import com.zy.core.model.param.AddFakeDeviceParam; |
| | | import com.zy.core.model.param.DeleteDeviceParam; |
| | | import com.zy.core.properties.DeviceConfig; |
| | | import com.zy.core.thread.ForkLiftThread; |
| | | import com.zy.core.thread.ShuttleThread; |
| | | import com.zy.core.utils.DeviceMsgUtils; |
| | | import com.zy.core.utils.FakeDeviceUtils; |
| | |
| | | continue; |
| | | } |
| | | deviceList.add(shuttleThread.getDeviceConfig()); |
| | | } else if (slaveType.equals(SlaveType.ForkLift)) { |
| | | ForkLiftThread forkLiftThread = (ForkLiftThread) SlaveConnection.get(slaveType, config.getDeviceNo()); |
| | | if(forkLiftThread == null){ |
| | | continue; |
| | | } |
| | | deviceList.add(forkLiftThread.getDeviceConfig()); |
| | | } |
| | | } |
| | | |