#
zjj
2025-09-19 966626cb396cdd881e4f7684078bbf6dbdabe34f
src/main/webapp/views/realtimeWatch/crn2.html
@@ -51,45 +51,45 @@
      <!-- 执行命令 -->
      <!-- 执行命令 -->
      <div class="command-log" style="overflow: auto;">
        <h3>执行中的命令</h3>
        <div class="crn-command-item">
          <label>1#</label>
<!--          <button id="demoBtn-1" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>-->
          <!--            <span>&nbsp;</span>-->
          <input id="crn1" disabled="disabled">
        </div>
        <div class="crn-command-item">
          <label>2#</label>
<!--          <button id="demoBtn-2" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>-->
          <!--            <span>&nbsp;</span>-->
          <input id="crn2" disabled="disabled">
        </div>
        <div class="crn-command-item">
          <label>3#</label>
<!--          <button id="demoBtn-3" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>-->
          <!--            <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>-->
          <!--            <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>-->
          <!--            <span>&nbsp;</span>-->
          <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>-->
          <!--            <span>&nbsp;</span>-->
          <input id="crn6" disabled="disabled">
        </div>
      </div>
<!--      <div class="command-log" style="overflow: auto;">-->
<!--        <h3>执行中的命令</h3>-->
<!--        <div class="crn-command-item">-->
<!--          <label>1#</label>-->
<!--&lt;!&ndash;          <button id="demoBtn-1" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>&ndash;&gt;-->
<!--          &lt;!&ndash;            <span>&nbsp;</span>&ndash;&gt;-->
<!--          <input id="crn1" disabled="disabled">-->
<!--        </div>-->
<!--        <div class="crn-command-item">-->
<!--          <label>2#</label>-->
<!--&lt;!&ndash;          <button id="demoBtn-2" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>&ndash;&gt;-->
<!--          &lt;!&ndash;            <span>&nbsp;</span>&ndash;&gt;-->
<!--          <input id="crn2" disabled="disabled">-->
<!--        </div>-->
<!--        <div class="crn-command-item">-->
<!--          <label>3#</label>-->
<!--&lt;!&ndash;          <button id="demoBtn-3" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>&ndash;&gt;-->
<!--          &lt;!&ndash;            <span>&nbsp;</span>&ndash;&gt;-->
<!--          <input id="crn3" disabled="disabled">-->
<!--        </div>-->
<!--        <div class="crn-command-item">-->
<!--          <label>4#</label>-->
<!--&lt;!&ndash;          <button id="demoBtn-4" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>&ndash;&gt;-->
<!--          &lt;!&ndash;            <span>&nbsp;</span>&ndash;&gt;-->
<!--          <input id="crn4" disabled="disabled">-->
<!--        </div>-->
<!--        <div class="crn-command-item">-->
<!--          <label>5#</label>-->
<!--&lt;!&ndash;          <button id="demoBtn-5" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>&ndash;&gt;-->
<!--          &lt;!&ndash;            <span>&nbsp;</span>&ndash;&gt;-->
<!--          <input id="crn5" disabled="disabled">-->
<!--        </div>-->
<!--        <div class="crn-command-item">-->
<!--          <label>6#</label>-->
<!--&lt;!&ndash;          <button id="demoBtn-6" class="demoBtn" onclick="demoSwitch(this.id)"> - </button>&ndash;&gt;-->
<!--          &lt;!&ndash;            <span>&nbsp;</span>&ndash;&gt;-->
<!--          <input id="crn6" disabled="disabled">-->
<!--        </div>-->
<!--      </div>-->
      <!-- 堆垛机状态位信息 -->
      <div class="crn-state">
        <table id="crn-state-table">
@@ -123,8 +123,7 @@
          <th>状态</th>
          <th>源站</th>
          <th>目标站</th>
          <th>源库位</th>
          <th>目标库位</th>
          <th>托盘码</th>
          <th>走行速度(m/min)</th>
          <th>升降速度(m/min)</th>
          <th>叉牙速度(m/min)</th>
@@ -358,15 +357,14 @@
            setVal(tr.children("td").eq(2), table[i-1].status);
            setVal(tr.children("td").eq(3), table[i-1].sourceStaNo);
            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(5), table[i-1].origin);
            setVal(tr.children("td").eq(6), table[i-1].xspeed);
            setVal(tr.children("td").eq(7), table[i-1].yspeed);
            setVal(tr.children("td").eq(8), table[i-1].zspeed);
            setVal(tr.children("td").eq(9), table[i-1].xdistance);
            setVal(tr.children("td").eq(10), table[i-1].ydistance);
            setVal(tr.children("td").eq(11), table[i-1].xduration);
            setVal(tr.children("td").eq(12), table[i-1].yduration);
          }
        } else if (res.code === 403){
          window.location.href = baseUrl+"/login";
@@ -555,7 +553,6 @@
    var html = "";
    for (var i = 0; i < line; i ++){
      html += " <tr>\n" +
              "       <td></td>\n" +
              "       <td></td>\n" +
              "       <td></td>\n" +
              "       <td></td>\n" +