Junjie
2024-01-26 efc2dfd36276053966c582691d2cdd19aeae24a6
src/main/webapp/views/shuttle2.html
@@ -167,6 +167,8 @@
                                        <div>
                                            <label><input type="radio" name="moveType" value="0">&nbsp;跑轨道</label>
                                            <label><input type="radio" name="moveType" value="1">&nbsp;跑库位</label>
                                            <label><input type="radio" name="moveType" value="2">&nbsp;母轨道循环跑</label>
                                            <label><input type="radio" name="moveType" value="3">&nbsp;子轨道循环跑</label>
                                        </div>
                                        <div style="margin-top: 10px;">
                                            <button class="item" onclick="moveLoc()">跑库</button>
@@ -257,7 +259,7 @@
    //如果出现连接、处理、接收、发送数据失败的时候触发onerror事件
    ws.onerror = function(e) {
        console.log(error);
        console.log(e);
    }
    $(document).ready(function() {
@@ -347,7 +349,10 @@
    // 四向穿梭车信息表获取 ---- 表一
    function getShuttleStateInfo() {
        sendWs("{\"url\":\"/shuttle/table/shuttle/state\",\"data\":{}}")
        sendWs(JSON.stringify({
            "url": "/shuttle/table/shuttle/state",
            "data": {}
        }))
    }
    // 四向穿梭车信息表设置 ---- 表一
@@ -426,7 +431,10 @@
    // 穿梭车日志输出 -----------------------------------------------------------------------
    function getShuttleOutput() {
        sendWs("{\"url\":\"/shuttle/output/shuttle\",\"data\":{}}")
        sendWs(JSON.stringify({
            "url": "/shuttle/output/shuttle",
            "data": {}
        }))
    }
    function setShuttleOutput(res) {