| | |
| | | <thead> |
| | | <tr> |
| | | <th>堆垛机</th> |
| | | <th>任务号</th> |
| | | <th>模式</th> |
| | | <th>状态</th> |
| | | <th>报警</th> |
| | | <th>有物</th> |
| | | <th>列</th> |
| | | <th>层</th> |
| | | <th>货叉位置</th> |
| | | <th>列坐标</th> |
| | | <th>层坐标</th> |
| | | <th>完成</th> |
| | | <th>任务号</th> |
| | | <th>状态</th> |
| | | <th>报警码</th> |
| | | <th>载货台位置</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | <thead> |
| | | <tr> |
| | | <th>堆垛机</th> |
| | | <th>状态</th> |
| | | <th>工作号</th> |
| | | <th>状态</th> |
| | | <th>源站</th> |
| | | <th>目标站</th> |
| | | <th>源库位</th> |
| | | <th>目标库位</th> |
| | | <th>异常</th> |
| | | <th>原点</th> |
| | | <th>命令</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | <div class="crn-operation"> |
| | | |
| | | <!-- 遮罩层 --> |
| | | <div class="crn-operation-shade" onclick="layer.msg('请停止 WCS 系统后操作');"> |
| | | <div class="crn-operation-shade"> |
| | | <span class="crn-operation-shade-span"> |
| | | WCS 系统运行中,请停止后操作 |
| | | </span> |
| | |
| | | |
| | | // 判断手动操作模块是否可用 |
| | | function operatorBlockShow() { |
| | | if (top.systemRunning) { |
| | | if (parent.systemRunning) { |
| | | $('.crn-operation').css("opacity", "0.5"); |
| | | $('.crn-operation-shade').show(); |
| | | $('.crn-operation-shade-span').show(); |
| | |
| | | $("#crn"+commands[i].crnNo).val(commands[i].command); |
| | | } |
| | | } else if (res.code === 403) { |
| | | top.location.href = baseUrl + "/login"; |
| | | window.location.href = baseUrl + "/login"; |
| | | } else { |
| | | alert(res.msg); |
| | | } |
| | |
| | | for (var i=1;i<=table.length;i++){ |
| | | var tr = tableEl.find("tr").eq(i); |
| | | setVal(tr.children("td").eq(0), table[i-1].crnNo); |
| | | setVal(tr.children("td").eq(1), table[i-1].type); |
| | | setVal(tr.children("td").eq(2), table[i-1].warn); |
| | | setVal(tr.children("td").eq(3), table[i-1].loading); |
| | | setVal(tr.children("td").eq(4), table[i-1].bay); |
| | | setVal(tr.children("td").eq(5), table[i-1].lev); |
| | | setVal(tr.children("td").eq(6), table[i-1].forkOffset); |
| | | setVal(tr.children("td").eq(7), table[i-1].bayCoor); |
| | | setVal(tr.children("td").eq(8), table[i-1].levCoor); |
| | | setVal(tr.children("td").eq(9), table[i-1].complete); |
| | | setVal(tr.children("td").eq(10), table[i-1].workNo); |
| | | setVal(tr.children("td").eq(11), table[i-1].status); |
| | | setVal(tr.children("td").eq(12), table[i-1].warnCode); |
| | | setVal(tr.children("td").eq(1), table[i-1].workNo); |
| | | setVal(tr.children("td").eq(2), table[i-1].statusType); |
| | | setVal(tr.children("td").eq(3), table[i-1].status); |
| | | setVal(tr.children("td").eq(4), table[i-1].warn); |
| | | setVal(tr.children("td").eq(5), table[i-1].loading); |
| | | setVal(tr.children("td").eq(6), table[i-1].bay); |
| | | setVal(tr.children("td").eq(7), table[i-1].lev); |
| | | setVal(tr.children("td").eq(8), table[i-1].forkOffset); |
| | | setVal(tr.children("td").eq(9), table[i-1].liftPos); |
| | | } |
| | | } else if (res.code === 403){ |
| | | top.location.href = baseUrl+"/login"; |
| | | window.location.href = baseUrl+"/login"; |
| | | } else { |
| | | alert(res.msg); |
| | | } |
| | |
| | | for (var i=1;i<=table.length;i++){ |
| | | var tr = tableEl.find("tr").eq(i); |
| | | setVal(tr.children("td").eq(0), table[i-1].crnNo); |
| | | setVal(tr.children("td").eq(1), table[i-1].status); |
| | | setVal(tr.children("td").eq(2), table[i-1].workNo); |
| | | setVal(tr.children("td").eq(1), 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].error); |
| | | setVal(tr.children("td").eq(8), table[i-1].origin); |
| | | setVal(tr.children("td").eq(9), table[i-1].command); |
| | | } |
| | | } else if (res.code === 403){ |
| | | top.location.href = baseUrl+"/login"; |
| | | window.location.href = baseUrl+"/login"; |
| | | } else { |
| | | alert(res.msg); |
| | | } |
| | |
| | | if (res.code === 200) { |
| | | crnOutput(res.data); |
| | | } else if (res.code === 403) { |
| | | top.location.href = baseUrl + "/login"; |
| | | window.location.href = baseUrl + "/login"; |
| | | } else { |
| | | alert(res.msg); |
| | | } |
| | |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " </tr>\n"; |
| | | } |
| | | $('#crn-state-table tbody').after(html); |
| | |
| | | var html = ""; |
| | | for (var i = 0; i < line; i ++){ |
| | | html += " <tr>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |