From 5c10ee9ab5cf4e147c33f0a015e9daf4eebd6c53 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期五, 14 三月 2025 09:31:49 +0800
Subject: [PATCH] #初始化

---
 src/main/webapp/views/crn.html |   66 ++++++++++++++++++++-------------
 1 files changed, 40 insertions(+), 26 deletions(-)

diff --git a/src/main/webapp/views/crn.html b/src/main/webapp/views/crn.html
index 8c87a2e..ddf184a 100644
--- a/src/main/webapp/views/crn.html
+++ b/src/main/webapp/views/crn.html
@@ -71,12 +71,24 @@
                     <!--            <span>&nbsp;</span>-->
                     <input id="crn3" disabled="disabled">
                 </div>
-<!--                <div class="crn-command-item">-->
-<!--                    <label>4#</label>-->
-<!--                    <button id="demoBtn-4" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>-->
-<!--                    &lt;!&ndash;            <span>&nbsp;</span>&ndash;&gt;-->
-<!--                    <input id="crn4" disabled="disabled">-->
-<!--                </div>-->
+                <div class="crn-command-item">
+                    <label>4#</label>
+                    <button id="demoBtn-4" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>
+                    <!--            <span>&nbsp;</span>-->
+                    <input id="crn4" disabled="disabled">
+                </div>
+                <!--                <div class="crn-command-item">-->
+                <!--                    <label>5#</label>-->
+                <!--                    <button id="demoBtn-5" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>-->
+                <!--                    &lt;!&ndash;            <span>&nbsp;</span>&ndash;&gt;-->
+                <!--                    <input id="crn5" disabled="disabled">-->
+                <!--                </div>-->
+                <!--                <div class="crn-command-item">-->
+                <!--                    <label>6#</label>-->
+                <!--                    <button id="demoBtn-6" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>-->
+                <!--                    &lt;!&ndash;            <span>&nbsp;</span>&ndash;&gt;-->
+                <!--                    <input id="crn6" disabled="disabled">-->
+                <!--                </div>-->
             </div>
             <!-- 鍫嗗灈鏈虹姸鎬佷綅淇℃伅 -->
             <div class="crn-state">
@@ -113,13 +125,13 @@
                     <th>鐩爣绔�</th>
                     <th>婧愬簱浣�</th>
                     <th>鐩爣搴撲綅</th>
-                    <th>璧拌閫熷害锛坢/min)</th>
-                    <th>鍗囬檷閫熷害锛坢/min)</th>
-                    <th>鍙夌墮閫熷害锛坢/min)</th>
-                    <th>璧拌璺濈(Km)</th>
-                    <th>鍗囬檷璺濈(Km)</th>
-                    <th>璧拌鏃堕暱(H)</th>
-                    <th>鍗囬檷鏃堕暱(H)</th>
+                    <!--                    <th>璧拌閫熷害锛坢/min)</th>-->
+                    <!--                    <th>鍗囬檷閫熷害锛坢/min)</th>-->
+                    <!--                    <th>鍙夌墮閫熷害锛坢/min)</th>-->
+                    <!--                    <th>璧拌璺濈(Km)</th>-->
+                    <!--                    <th>鍗囬檷璺濈(Km)</th>-->
+                    <!--                    <th>璧拌鏃堕暱(H)</th>-->
+                    <!--                    <th>鍗囬檷鏃堕暱(H)</th>-->
                 </tr>
                 </thead>
                 <tbody>
@@ -145,7 +157,9 @@
                         <label><input type="radio" name="crnSelect" value="1" checked>&nbsp;1鍙峰爢鍨涙満</label>
                         <label><input type="radio" name="crnSelect" value="2">&nbsp;2鍙峰爢鍨涙満</label>
                         <label><input type="radio" name="crnSelect" value="3">&nbsp;3鍙峰爢鍨涙満</label>
-<!--                        <label><input type="radio" name="crnSelect" value="4">&nbsp;4鍙峰爢鍨涙満</label>-->
+                        <label><input type="radio" name="crnSelect" value="4">&nbsp;4鍙峰爢鍨涙満</label>
+                        <!--                        <label><input type="radio" name="crnSelect" value="5">&nbsp;5鍙峰爢鍨涙満</label>-->
+                        <!--                        <label><input type="radio" name="crnSelect" value="6">&nbsp;6鍙峰爢鍨涙満</label>-->
                     </div>
                 </div>
                 <!-- 婧愮珯/婧愬簱浣� 閫夋嫨 -->
@@ -199,18 +213,18 @@
                 <fieldset>
                     <legend>鎵嬪姩鎿嶄綔</legend>
                     <div class="button-group">
-<!--                        <button class="item" onclick="put()">鍏ュ簱</button>-->
-<!--                        <button class="item" onclick="take()">鍑哄簱</button>-->
+                        <button class="item" onclick="put()">鍏ュ簱</button>
+                        <button class="item" onclick="take()">鍑哄簱</button>
                         <button class="item" onclick="stockMove()">搴撲綅杞Щ</button>
-<!--                        <button class="item" onclick="siteMove()">绔欏埌绔�</button>-->
+                        <button class="item" onclick="siteMove()">绔欏埌绔�</button>
                         <!--                <button class="item" onclick="bacOrigin()">鍥炲師鐐�</button>-->
                         <!--                <button class="item" onclick="reverseOrigin()">鍙嶅師鐐�</button>-->
                         <!--                <button class="item" onclick="coorMove()">鍧愭爣绉昏</button>-->
                         <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="handleReset()">澶嶄綅</button>-->
+                        <button class="item" onclick="clearCommand()">娓呴櫎鍛戒护</button>
+                        <button class="item" onclick="handleReset()">澶嶄綅</button>
                     </div>
                 </fieldset>
             </div>
@@ -346,13 +360,13 @@
                         setVal(tr.children("td").eq(4), table[i-1].staNo);
                         setVal(tr.children("td").eq(5), table[i-1].sourceLocNo);
                         setVal(tr.children("td").eq(6), table[i-1].locNo);
-                        setVal(tr.children("td").eq(7), table[i-1].xspeed);
-                        setVal(tr.children("td").eq(8), table[i-1].yspeed);
-                        setVal(tr.children("td").eq(9), table[i-1].zspeed);
-                        setVal(tr.children("td").eq(10), table[i-1].xdistance);
-                        setVal(tr.children("td").eq(11), table[i-1].ydistance);
-                        setVal(tr.children("td").eq(12), table[i-1].xduration);
-                        setVal(tr.children("td").eq(13), table[i-1].yduration);
+                        // setVal(tr.children("td").eq(7), table[i-1].xspeed);
+                        // setVal(tr.children("td").eq(8), table[i-1].yspeed);
+                        // setVal(tr.children("td").eq(9), table[i-1].zspeed);
+                        // setVal(tr.children("td").eq(10), table[i-1].xdistance);
+                        // setVal(tr.children("td").eq(11), table[i-1].ydistance);
+                        // setVal(tr.children("td").eq(12), table[i-1].xduration);
+                        // setVal(tr.children("td").eq(13), table[i-1].yduration);
                     }
                 } else if (res.code === 403){
                     window.location.href = baseUrl+"/login";

--
Gitblit v1.9.1