| | |
| | | public R ringThroughRgv(){ |
| | | List<RingThroughParam> result = new ArrayList<>(); |
| | | // for (RgvSlave rgv : slaveProperties.getRgv()) { |
| | | for (int i = 1;i<10;i++) { |
| | | for (int i = 1;i<100;i++) { |
| | | // // 获取RGV信息 |
| | | // RgvThread rgvThread = (RgvThread) SlaveConnection.get(SlaveType.Rgv, rgv.getId()); |
| | | // if (rgvThread == null) { |
| | |
| | | double arcLength = 2 * Math.PI * radius * l; // 给出的弧长 |
| | | |
| | | // 圆心坐标 |
| | | double centerX = 51; |
| | | double centerY = 49; |
| | | double centerX = 52.5; |
| | | double centerY = 47.5; |
| | | |
| | | // 求弧度 |
| | | double theta = arcLength / radius; |
| | |
| | | font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; |
| | | margin: 0; |
| | | padding: 0; |
| | | background-color: #dbd8d8; |
| | | background-color: #a0d2eb; |
| | | color: #ffffff; |
| | | display: flex; |
| | | justify-content: center; |
| | |
| | | } |
| | | .bus { |
| | | background-color: #2196F3; |
| | | border: 2px solid #ffffff; |
| | | border: 20px solid #ffffff; |
| | | } |
| | | .station:hover, .bus:hover { |
| | | transform: scale(1.4); |