| | |
| | | <span> </span> |
| | | <input id="crn1" disabled="disabled"> |
| | | </div> |
| | | <!-- <div class="crn-command-item">--> |
| | | <!-- <label>2#</label>--> |
| | | <!-- <span> </span>--> |
| | | <!-- <input id="crn2" disabled="disabled">--> |
| | | <!-- </div>--> |
| | | <div class="crn-command-item"> |
| | | <label>2#</label> |
| | | <span> </span> |
| | | <input id="crn2" disabled="disabled"> |
| | | </div> |
| | | </div> |
| | | <!-- 堆垛机状态位信息 --> |
| | | <div class="crn-state"> |
| | |
| | | <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> |
| | |
| | | crnStateTableFullRows = table.length; |
| | | } |
| | | for (var i=1;i<=table.length;i++){ |
| | | console.log(table); |
| | | // todo:luxiaotao |
| | | 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].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); |
| | | setVal(tr.children("td").eq(10), table[i-1].warnCode); |
| | | setVal(tr.children("td").eq(4), table[i-1].loading); |
| | | setVal(tr.children("td").eq(5), table[i-1].bay); |
| | | setVal(tr.children("td").eq(6), table[i-1].lev); |
| | | setVal(tr.children("td").eq(7), table[i-1].xorigin); |
| | | setVal(tr.children("td").eq(8), table[i-1].yorigin); |
| | | setVal(tr.children("td").eq(9), table[i-1].xlocation); |
| | | setVal(tr.children("td").eq(10), table[i-1].ylocation); |
| | | setVal(tr.children("td").eq(11), table[i-1].stop); |
| | | setVal(tr.children("td").eq(12), table[i-1].warnCode); |
| | | } |
| | | } 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"; |
| | | } |
| | | $('#crn-state-table tbody').after(html); |