|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | vo.setWorkNo(staProtocol.getWorkNo()); // 工作号 | 
|---|
|  |  |  | vo.setSiteStatus(SiteStatusType.process(staProtocol));  // 状态 | 
|---|
|  |  |  | vo.setNearbySta(staProtocol.getNearbySta()); | 
|---|
|  |  |  | vo.setNearbySta(staProtocol.getNearbySta());  //RGV位置 | 
|---|
|  |  |  | vos.add(vo); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return R.ok().add(vos); | 
|---|
|  |  |  | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | siteEl.html(sites[i].siteId); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (i + 1 === 8) { | 
|---|
|  |  |  | if (sites[i].siteId<100) { | 
|---|
|  |  |  | carAnimate(i + 1, Number(sites[i].nearbySta)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | // 小车偏移动画 | 
|---|
|  |  |  | function carAnimate(id, target) { | 
|---|
|  |  |  | var targetTop = 122; | 
|---|
|  |  |  | if (id === 8) { | 
|---|
|  |  |  | if (id < 100) { | 
|---|
|  |  |  | switch (target) { | 
|---|
|  |  |  | case 1: | 
|---|
|  |  |  | targetTop += 160; | 
|---|