#
zjj
2024-01-31 a8828488035620cbfed7cd47867ecabc3966b423
src/main/webapp/views/rgv.html
@@ -90,16 +90,16 @@
                    <thead>
                    <tr>
                        <th>RGV</th>
                        <th>模式</th>
                        <th>状态</th>
                        <th>任务号1</th>
                        <th>状态1</th>
                        <th>有物1</th>
                        <th>当前模式</th>
                        <th>当前状态</th>
                        <th>任务号</th>
                        <th>工作状态</th>
                        <th>有物</th>
                        <th>RGV位置</th>
                        <th>走行定位</th>
                        <th>任务号2</th>
                        <th>状态2</th>
                        <th>有物2</th>
<!--                        <th>任务号2</th>-->
<!--                        <th>状态2</th>-->
<!--                        <th>有物2</th>-->
                        <th>故障代码</th>
                        <th>故障描述</th>
                    </tr>
@@ -152,6 +152,7 @@
                    <div class="select-container" style="padding: 20px 0;">
                        <label><input type="radio" name="rgvSelect" value="1" checked>&nbsp;1号RGV</label>
                        <label><input type="radio" name="rgvSelect" value="2">&nbsp;2号RGV</label>
                        <label><input type="radio" name="rgvSelect" value="3">&nbsp;3号RGV</label>
                    </div>
                </div>
                <!-- 源站/源库位 选择 -->
@@ -166,10 +167,10 @@
<!--                            <span>排</span>-->
<!--                            <label><input id="sourceRow" type="number" name="points" min="1" style="background-color: #a9eeff" value="1" /></label>-->
<!--                        </div>-->
                        <div class="select-container-item">
                            <span>工位2源站</span>
                            <label><input id="sourceBay" type="number" name="points" min="0" style="background-color: #a9eeff" value="0" /></label>
                        </div>
<!--                        <div class="select-container-item">-->
<!--                            <span>工位2源站</span>-->
<!--                            <label><input id="sourceBay" type="number" name="points" min="0" style="background-color: #a9eeff" value="0" /></label>-->
<!--                        </div>-->
<!--                        <div class="select-container-item">-->
<!--                            <span>层</span>-->
<!--                            <label><input id="sourceLev" type="number" name="points" min="1" style="background-color: #a9eeff" value="1" /></label>-->
@@ -188,10 +189,10 @@
<!--                            <span>排</span>-->
<!--                            <label><input id="row" type="number" name="points" min="1" style="background-color: #a9eeff" value="1" /></label>-->
<!--                        </div>-->
                        <div class="select-container-item">
                            <span>工位2目标站</span>
                            <label><input id="bay" type="number" name="points" min="0" style="background-color: #a9eeff" value="0" /></label>
                        </div>
<!--                        <div class="select-container-item">-->
<!--                            <span>工位2目标站</span>-->
<!--                            <label><input id="bay" type="number" name="points" min="0" style="background-color: #a9eeff" value="0" /></label>-->
<!--                        </div>-->
<!--                        <div class="select-container-item">-->
<!--                            <span>层</span>-->
<!--                            <label><input id="lev" type="number" name="points" min="1" style="background-color: #a9eeff" value="1" /></label>-->
@@ -206,8 +207,8 @@
                    <legend>手动操作</legend>
                    <div class="button-group">
                        <button class="item" onclick="put()">取放货</button>
                        <button class="item" onclick="take()">取货</button>
                        <button class="item" onclick="stockMove()">放货</button>
<!--                        <button class="item" onclick="take()">取货</button>-->
<!--                        <button class="item" onclick="stockMove()">放货</button>-->
<!--                        <button class="item" onclick="siteMove()">站到站</button>-->
                        <!--                <button class="item" onclick="bacOrigin()">回原点</button>-->
                        <!--                <button class="item" onclick="reverseOrigin()">反原点</button>-->
@@ -215,7 +216,7 @@
                        <button class="item" onclick="taskComplete()">任务完成</button>
                        <!--                <button class="item" onclick="pause()">暂停</button>-->
                        <!--                <button class="item" onclick="boot()">启动</button>-->
                        <button class="item" onclick="clearCommand()">清除命令</button>
<!--                        <button class="item" onclick="clearCommand()">清除命令</button>-->
                        <button class="item" onclick="handleReset()">复位</button>
                    </div>
                </fieldset>
@@ -315,13 +316,13 @@
                        setVal(tr.children("td").eq(3), table[i-1].workNo1);
                        setVal(tr.children("td").eq(4), table[i-1].status1);
                        setVal(tr.children("td").eq(5), table[i-1].loading1);
                        setVal(tr.children("td").eq(6), table[i-1].rgvPos);
                        setVal(tr.children("td").eq(6), table[i-1].rgvPos1);
                        setVal(tr.children("td").eq(7), table[i-1].walkPos);
                        setVal(tr.children("td").eq(8), table[i-1].workNo2);
                        setVal(tr.children("td").eq(9), table[i-1].status2);
                        setVal(tr.children("td").eq(10), table[i-1].loading2);
                        setVal(tr.children("td").eq(11), table[i-1].warnCode);
                        setVal(tr.children("td").eq(12), table[i-1].alarm);
                        // setVal(tr.children("td").eq(8), table[i-1].workNo2);
                        // setVal(tr.children("td").eq(9), table[i-1].status2);
                        // setVal(tr.children("td").eq(10), table[i-1].loading2);
                        setVal(tr.children("td").eq(8), table[i-1].warnCode);
                        setVal(tr.children("td").eq(9), table[i-1].alarm);
                    }
                } else if (res.code === 403){
                    window.location.href = baseUrl+"/login";