| | |
| | | <th>层</th> |
| | | <th>货叉位置</th> |
| | | <th>载货台位置</th> |
| | | <th>异常码</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | <th>目标站</th> |
| | | <th>源库位</th> |
| | | <th>目标库位</th> |
| | | <th>异常</th> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | getCommandLog(); |
| | | },1000); |
| | | setInterval(function () { |
| | | getSiteOutput(); |
| | | getCrnOutput(); |
| | | operatorBlockShow(); |
| | | },500); |
| | | |
| | |
| | | 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); |
| | | setVal(tr.children("td").eq(10), table[i-1].warnCode); |
| | | } |
| | | } else if (res.code === 403){ |
| | | window.location.href = baseUrl+"/login"; |
| | |
| | | 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(6), table[i-1].error); |
| | | } |
| | | } else if (res.code === 403){ |
| | | window.location.href = baseUrl+"/login"; |
| | |
| | | } |
| | | |
| | | // 输送设备日志输出 ----------------------------------------------------------------------- |
| | | function getSiteOutput() { |
| | | function getCrnOutput() { |
| | | $.ajax({ |
| | | url: baseUrl + "/crn/output/site", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " </tr>\n"; |
| | | } |
| | | $('#crn-state-table tbody').after(html); |
| | |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " <td></td>\n" + |
| | | " </tr>\n"; |
| | | } |
| | | $('#crn-msg-table tbody').after(html); |