| | |
| | | server: { |
| | | port: 5000, |
| | | host: '0.0.0.0', |
| | | open: true, |
| | | cors: true, |
| | | // available in run dev |
| | | proxy: { |
| | | '/api': { |
| | |
| | | agvDataService.dataProcess(protocol); |
| | | } |
| | | |
| | | } catch (Exception ignore) {} |
| | | } catch (Exception ignore) { |
| | | } |
| | | } |
| | | }); |
| | | thread.start(); |
| | |
| | | continue; |
| | | } |
| | | |
| | | |
| | | String next = pathListPart.get(i); |
| | | |
| | | Code nextCode = codeService.getCacheByData(next); |
| | |
| | | lastDirection = nextDirection; |
| | | } |
| | | |
| | | actionList.add(new Action( |
| | | null, // 编号 |
| | | task.getBusId(), // 总线 |
| | | task.getId(), // 任务 |
| | | null, // 动作号 |
| | | null, // 优先级 |
| | | ActionTypeType.RunToWaitHeight.desc, // 名称 |
| | | 1D, // 属性값 |
| | | lastCode.getData(), // 地面码 |
| | | "350", // 动作参数 |
| | | ActionTypeType.RunToWaitHeight.val(), // 动作类型 |
| | | actionPrepareSts, // 动作进度 |
| | | agvId, // AGV |
| | | now // 工作时间 |
| | | )); |
| | | |
| | | |
| | | // run |
| | | ActionTypeType actionType = ActionTypeType.StraightAheadTurnable; |
| | | if (reverse) { |
| | |
| | | |
| | | String agvNo = task.getAgvNo(); |
| | | int[] codeMatrixIdx = mapDataDispatcher.getCodeMatrixIdx(lev, task.getCodeData()); |
| | | |
| | | if(codeMatrixIdx==null){ |
| | | return new ArrayList<>(); |
| | | } |
| | | DynamicNode dynamicNode = dynamicMatrix[codeMatrixIdx[0]][codeMatrixIdx[1]]; |
| | | int serial = dynamicNode.getSerial(); |
| | | |
| | |
| | | static-path-pattern: /** |
| | | datasource: |
| | | driver-class-name: com.mysql.jdbc.Driver |
| | | url: jdbc:mysql://10.10.10.200:3306/jbly?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai |
| | | url: jdbc:mysql://127.0.0.1:3306/jbly?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | password: xltys1995 |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | |
| | | enabled: false |
| | | |
| | | redis: |
| | | host: 10.10.10.200 |
| | | host: 127.0.0.1 |
| | | password: xltys1995 |
| | | port: 6379 |
| | | max: 30 |