| | |
| | | |
| | | <!-- plc异常日志监控版 --> |
| | | <div id="plc-error" class="main-board" style="padding-left: 10px"> |
| | | <!-- 头部 --> |
| | | <div class="plc-log-header"> |
| | | <!-- 设备任务操作 --> |
| | | <div class="io-mode-oper"> |
| | | <fieldset> |
| | | <legend>入出库模式(IO-Mode)</legend> |
| | | <div class="io-mode-box"> |
| | | <label>1F1</label> |
| | | <button id="io-mode-1" class="ioModeBtn" onclick="ioModeSwitch(this.id)"> - </button> |
| | | </div> |
| | | <div class="io-mode-box"> |
| | | <label>1F2</label> |
| | | <button id="io-mode-2" class="ioModeBtn" onclick="ioModeSwitch(this.id)"> - </button> |
| | | </div> |
| | | <div class="io-mode-box"> |
| | | <label>1F3</label> |
| | | <button id="io-mode-3" class="ioModeBtn" onclick="ioModeSwitch(this.id)"> - </button> |
| | | </div> |
| | | <div class="io-mode-box"> |
| | | <label>1F4</label> |
| | | <button id="io-mode-4" class="ioModeBtn" onclick="ioModeSwitch(this.id)"> - </button> |
| | | </div> |
| | | <div class="io-mode-box"> |
| | | <label>2F1</label> |
| | | <button id="io-mode-5" class="ioModeBtn" onclick="ioModeSwitch(this.id)"> - </button> |
| | | </div> |
| | | <div class="io-mode-box"> |
| | | <label>2F2</label> |
| | | <button id="io-mode-6" class="ioModeBtn" onclick="ioModeSwitch(this.id)"> - </button> |
| | | </div> |
| | | <div class="io-mode-box"> |
| | | <label>3F1</label> |
| | | <button id="io-mode-7" class="ioModeBtn" onclick="ioModeSwitch(this.id)"> - </button> |
| | | </div> |
| | | <div class="io-mode-box"> |
| | | <label>3F2</label> |
| | | <button id="io-mode-8" class="ioModeBtn" onclick="ioModeSwitch(this.id)"> - </button> |
| | | </div> |
| | | </fieldset> |
| | | </div> |
| | | <!-- <!– <div style="height: 40%">–>--> |
| | | <!-- <!– <span>东侧PLC执行指令</span>–>--> |
| | | <!-- <!– </div>–>--> |
| | | <!-- <!– <div style="height: 40%">–>--> |
| | | <!-- <!– <span>西侧PLC执行指令</span>–>--> |
| | | <!-- <!– </div>–>--> |
| | | <!-- <!– <div>–>--> |
| | | <!-- <!– <span style="color: #1E9FFF">PLC异常信息表:</span>–>--> |
| | | <!-- <!– </div>–>--> |
| | | </div> |
| | | <!-- 主体 --> |
| | | <div class="plc-log-body"> |
| | | <div> |
| | |
| | | <table id="plc-error-table"> |
| | | <thead> |
| | | <tr> |
| | | <th style="width: 200px">序号</th> |
| | | <th style="width: 200px">站点</th> |
| | | <th style="width: 400px">PLC错误描述</th> |
| | | <th style="width: 400px">异常</th> |
| | | </tr> |
| | |
| | | <th>入库标记</th> |
| | | <th>空板信号</th> |
| | | <th>目标站</th> |
| | | <th>长短库位</th> |
| | | <th>高低库位</th> |
| | | <th>自动出</th> |
| | | <th>自动入</th> |
| | | </tr> |
| | | </thead> |
| | | <!-- 表格内容 --> |
| | |
| | | setVal(tr.children("td").eq(7), table[i-1].emptyMk); |
| | | setVal(tr.children("td").eq(8), table[i-1].staNo); |
| | | setVal(tr.children("td").eq(9), table[i-1].locType1); |
| | | setVal(tr.children("td").eq(10), table[i-1].autoOut); |
| | | setVal(tr.children("td").eq(11), table[i-1].autoIn); |
| | | } |
| | | } else if (res.code === 403){ |
| | | window.location.href = baseUrl+"/login"; |
| | |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " </tr>\n"; |
| | | } |
| | | $('#site-table tbody').after(html); |