| | |
| | | import com.example.springboot.entity.StorageCage;
|
| | | import com.example.springboot.entity.alarmmg;
|
| | | import com.example.springboot.entity.north_glass_buffer1;
|
| | | import com.example.springboot.entity.device.PlcParameterObject;
|
| | | import com.example.springboot.mapper.HomeMapper;
|
| | | import com.example.springboot.mapper.SpianMapper;
|
| | |
|
| | |
| | | try {
|
| | | Thread.sleep(1000);
|
| | | // 注入mapper
|
| | |
|
| | | PlcParameterObject PlcReadObjects=PLCAutoMes.PlcMesObject;
|
| | | |
| | | homeMapper = WebSocketServer.applicationContext.getBean(HomeMapper.class);
|
| | | spianMapper = WebSocketServer.applicationContext.getBean(SpianMapper.class);
|
| | | spianService = WebSocketServer.applicationContext.getBean(SpianService.class);
|
| | |
| | |
|
| | | // if (S7control.getinstance().CheckConnected() == true) {
|
| | |
|
| | | |
| | |
|
| | | // 铝框线交互
|
| | | if (S7controlLK.getinstance().CheckConnected() == true) {
|
| | | if (CurrentFrame != null) {
|