| | |
| | | } |
| | | } |
| | | |
| | | // 获取输送线plc线程 |
| | | LedThread ledThread = (LedThread) SlaveConnection.get(SlaveType.Led, ledId); |
| | | if (Cools.isEmpty(ledThread)) { |
| | | return R.ok(); |
| | | } |
| | | |
| | | String ledContent = ledThread.getStringBuffer().toString(); |
| | | // ledContent = "ask的模块萨满大算了萨满大了\n 是窘境到埃及嗲家嗲\n 萨达姆打开萨满大凯撒麦当劳萨满大老师"; |
| | | |
| | | return R.ok( |
| | |
| | | .add("yDistance", Arith.multiplys(1, Math.abs(yDistance), 1)) // 累计升降距离km |
| | | .add("xDuration", Arith.multiplys(1, Math.abs(xDuration), 1)) // 累计走行时长h |
| | | .add("yDuration", Arith.multiplys(1, Math.abs(yDuration), 1)) // 累计升降时长h |
| | | .add("isShow", !Cools.isEmpty(ledContent)) // 是否显示内容 |
| | | .add("content", ledContent) // 显示内容 |
| | | ); |
| | | } |
| | | |
| | |
| | | continue; |
| | | } |
| | | staProtocol.setWorkNo(wrkNo); |
| | | News.info("{}入库回退:{},任务号:{}", inSta.getStaNo(), errMsg,wrkNo); |
| | | wrkNo++; |
| | | staProtocol.setStaNo(inSta.getBackSta().shortValue()); |
| | | devpThread.setPakMk(staProtocol.getSiteId(), false); |
| | |
| | | for (WrkMast wrkMast : wrkMasts) { |
| | | CrnSlave.CrnStn crnStn = null; |
| | | for (CrnSlave.CrnStn crnStn1 : slave.getCrnOutStn()) { |
| | | if (crnStn1.getStaNo() == wrkMast.getSourceStaNo()) { |
| | | if (wrkMast.getSourceStaNo().equals(crnStn1.getStaNo())) { |
| | | crnStn = crnStn1; |
| | | break; |
| | | } else { |
| | |
| | | ledCommand.setBarcode(wrkMast.getBarcode()); |
| | | if (wrkMast.getIoType() != 110) { |
| | | List<WrkDetl> wrkDetls = wrkDetlService.findByWorkNo(wrkMast.getWrkNo()); |
| | | |
| | | wrkDetls.forEach(wrkDetl -> { |
| | | Double total = 0.0; |
| | | EntityWrapper<LocDetl> wrapper = new EntityWrapper<>(); |
| | | LocDetl locDetl = locDetlService.selectOne(wrapper.eq("zpallet", wrkDetl.getZpallet()).eq("matnr", wrkDetl.getMatnr())); |
| | | if (Cools.isEmpty(locDetl)) { |
| | | total = wrkDetl.getAnfme(); |
| | | } else { |
| | | total = locDetl.getAnfme(); |
| | | } |
| | | if (wrkMast.getIoType() == 101) { |
| | | ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getAnfme())); |
| | | ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getBatch(), wrkDetl.getSpecs(), wrkDetl.getManu(), wrkDetl.getMemo(), wrkDetl.getAnfme(),total)); |
| | | } |
| | | if (wrkMast.getIoType() == 103 && (null == wrkDetl.getInspect() || 0 == wrkDetl.getInspect())) { |
| | | ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getAnfme())); |
| | | ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getBatch(), wrkDetl.getSpecs(), wrkDetl.getManu(), wrkDetl.getMemo(), wrkDetl.getAnfme(),total)); |
| | | } |
| | | if (wrkMast.getIoType() == 107) { |
| | | ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getAnfme())); |
| | | ledCommand.getMatDtos().add(new MatDto(wrkDetl.getMatnr(), wrkDetl.getMaktx(), wrkDetl.getBatch(), wrkDetl.getSpecs(), wrkDetl.getManu(), wrkDetl.getMemo(), wrkDetl.getAnfme(),total)); |
| | | } |
| | | }); |
| | | } |
| | |
| | | } |
| | | // 命令下发 ------------------------------------------------------------------------------- |
| | | if (!commands.isEmpty()) { |
| | | |
| | | if (!MessageQueue.offer(SlaveType.Led, led.getId(), new Task(1, commands))) { |
| | | News.error("{}号LED命令下发失败!!![ip:{}] [port:{}]", led.getId(), led.getIp(), led.getPort()); |
| | | continue; |
| | |
| | | e.printStackTrace(); |
| | | TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); |
| | | } |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | * 其他 ===>> LED显示器复位,显示默认信息 |
| | | */ |
| | | public synchronized void ledReset() { |
| | | // for (LedSlave led : slaveProperties.getLed()) { |
| | | // // 获取输送线plc线程 |
| | | // DevpThread devpThread = (DevpThread) SlaveConnection.get(SlaveType.Devp, led.getDevpPlcId()); |
| | | // // 命令集合 |
| | | // boolean reset = true; |
| | | // for (Integer staNo : led.getStaArr()) { |
| | | // // 获取叉车站点 |
| | | // StaProtocol staProtocol = devpThread.getStation().get(staNo); |
| | | // if (staProtocol == null) { |
| | | // continue; |
| | | // } else { |
| | | // staProtocol = staProtocol.clone(); |
| | | // } |
| | | // if (staProtocol.getWorkNo() != 0) { |
| | | // reset = false; |
| | | // break; |
| | | // } |
| | | // } |
| | | // // 获取led线程 |
| | | // LedThread ledThread = (LedThread) SlaveConnection.get(SlaveType.Led, led.getDevpPlcId()); |
| | | // // led显示默认内容 |
| | | // if (reset) { |
| | | // if (!MessageQueue.offer(SlaveType.Led, led.getId(), new Task(2, new ArrayList<>()))) { |
| | | // News.error("{}号LED命令下发失败!!![ip:{}] [port:{}]", led.getId(), led.getIp(), led.getPort()); |
| | | // } |
| | | // } |
| | | // } |
| | | for (LedSlave led : slaveProperties.getLed()) { |
| | | // 获取输送线plc线程 |
| | | DevpThread devpThread = (DevpThread) SlaveConnection.get(SlaveType.Devp, led.getDevpPlcId()); |
| | |
| | | for (Integer staNo : led.getStaArr()) { |
| | | // 获取叉车站点 |
| | | StaProtocol staProtocol = devpThread.getStation().get(staNo); |
| | | if (staProtocol == null) { |
| | | continue; |
| | | } |
| | | if (staProtocol.getWorkNo() != 0 && staProtocol.isLoading()) { |
| | | if (staProtocol == null) { continue; } |
| | | if (staProtocol.getWorkNo() != 0) { |
| | | reset = false; |
| | | break; |
| | | } |
| | | } |
| | | // // 获取led线程 |
| | | // LedThread ledThread = (LedThread) SlaveConnection.get(SlaveType.Led, led.getId()); |
| | | // // led显示默认内容 |
| | | // if (reset && !ledThread.isLedMk()) { |
| | | // if (led.getId() == 7) { |
| | | // ledThread.setLedMk(true); |
| | | // if (!MessageQueue.offer(SlaveType.Led, led.getId(), new Task(4, new ArrayList<>()))) { |
| | | // News.error("{}号LED命令下发失败!!![ip:{}] [port:{}]", led.getId(), led.getIp(), led.getPort()); |
| | | // } else { |
| | | // |
| | | // } |
| | | // } else { |
| | | // ledThread.setLedMk(true); |
| | | // if (!MessageQueue.offer(SlaveType.Led, led.getId(), new Task(2, new ArrayList<>()))) { |
| | | // News.error("{}号LED命令下发失败!!![ip:{}] [port:{}]", led.getId(), led.getIp(), led.getPort()); |
| | | // } else { |
| | | // |
| | | // } |
| | | // } |
| | | // } |
| | | // 获取led线程 |
| | | LedThread ledThread = (LedThread) SlaveConnection.get(SlaveType.Led, led.getDevpPlcId()); |
| | | // led显示默认内容 |
| | | if (reset) { |
| | | if (ledThread == null) { |
| | | continue; |
| | | } |
| | | ledThread.errorReset(); |
| | | if (!MessageQueue.offer(SlaveType.Led, led.getId(), new Task(2, new ArrayList<>()))) { |
| | | News.error("{}号LED命令下发失败!!![ip:{}] [port:{}]", led.getId(), led.getIp(), led.getPort()); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | public class MatDto { |
| | | |
| | | // 物料编号 |
| | | private String matNo; |
| | | private String matnr; |
| | | |
| | | // 物料名称 |
| | | private String maknx; |
| | | |
| | | private String batch; |
| | | |
| | | private String specs; |
| | | |
| | | // 客户信息 |
| | | private String manu; |
| | | |
| | | // 备注 |
| | | private String memo; |
| | | |
| | | // 物料数量 |
| | | private Double count; |
| | | |
| | | private Double total; |
| | | |
| | | public MatDto() { |
| | | } |
| | | |
| | | public MatDto(String matNo, String maknx, Double count) { |
| | | this.matNo = matNo; |
| | | public MatDto(String matnr, String maknx, String batch, String specs, String manu, String memo, Double count, Double total) { |
| | | this.matnr = matnr; |
| | | this.maknx = maknx; |
| | | this.batch = batch; |
| | | this.specs = specs; |
| | | this.manu = manu; |
| | | this.memo = memo; |
| | | this.count = count; |
| | | this.total = total; |
| | | } |
| | | } |
| | |
| | | if (!this.emptyMk){ |
| | | |
| | | for (MatDto matDto : matDtos) { |
| | | s.append("[商品编码:" + matDto.getMatNo() + ", 数量:" + matDto.getCount() + "]\n"); |
| | | s.append("[商品编码:" + matDto.getMatnr() + ", 数量:" + matDto.getCount() + "]\n"); |
| | | } |
| | | } |
| | | |
| | |
| | | package com.zy.core.thread; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.core.common.Cools; |
| | | import com.zy.common.entity.Parameter; |
| | | import com.zy.common.model.MatDto; |
| | | import com.zy.common.utils.News; |
| | | import com.zy.core.Slave; |
| | | import com.zy.core.ThreadHandler; |
| | | import com.zy.core.cache.MessageQueue; |
| | |
| | | import com.zy.core.model.command.LedCommand; |
| | | import lombok.Data; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import onbon.bx05.Bx5GEnv; |
| | | import onbon.bx05.Bx5GException; |
| | | import onbon.bx05.Bx5GScreen; |
| | | import onbon.bx05.Bx5GScreenClient; |
| | | import onbon.bx05.area.TextCaptionBxArea; |
| | | import onbon.bx05.area.page.TextBxPage; |
| | | import onbon.bx05.file.ProgramBxFile; |
| | | import onbon.bx05.message.led.ReturnControllerStatus; |
| | | import onbon.bx05.utils.DisplayStyleFactory; |
| | | |
| | | import java.awt.*; |
| | | import java.util.HashSet; |
| | | import java.util.List; |
| | | import java.util.Set; |
| | |
| | | public class LedThread implements Runnable, ThreadHandler { |
| | | |
| | | private Slave slave; |
| | | private Bx5GScreenClient screen; |
| | | ProgramBxFile pf; |
| | | TextCaptionBxArea area; |
| | | DisplayStyleFactory.DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyleFactory.DisplayStyle[0]); |
| | | private Set<Integer> workNos = new HashSet<>(); |
| | | private boolean ledMk = false; |
| | | private boolean resetStatus = false; // 复位状态 |
| | | |
| | | // 显示器 |
| | | private StringBuffer stringBuffer = new StringBuffer(); |
| | |
| | | |
| | | public LedThread(Slave slave) { |
| | | this.slave = slave; |
| | | try { |
| | | // Bx5GEnv.initial(3000); |
| | | // screen = new Bx5GScreenClient("my"); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | News.info("led连接构造器错误 ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort()); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | @SuppressWarnings({"InfiniteLoopStatement", "unchecked"}) |
| | | public void run() { |
| | | // connect(); |
| | | close(); |
| | | while (true) { |
| | | try { |
| | | Task task = MessageQueue.poll(SlaveType.Led, slave.getId()); |
| | |
| | | case 2: |
| | | reset(); |
| | | break; |
| | | // 写数据 液晶 |
| | | case 3: |
| | | error((String)task.getData()); |
| | | break; |
| | | // 复位 液晶 |
| | | case 4: |
| | | reset7(); |
| | | break; |
| | | case 5: |
| | | error((String) task.getData()); |
| | | break; |
| | | case 6: |
| | | case 4: |
| | | errorReset(); |
| | | break; |
| | | case 7: |
| | | write7((List<LedCommand>) task.getData()); |
| | | default: |
| | | break; |
| | | } |
| | | } |
| | | |
| | | Thread.sleep(400); |
| | | Thread.sleep(1000); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | } |
| | | |
| | | private void write(List<LedCommand> list) throws Bx5GException { |
| | | if (!connect()) { |
| | | return; |
| | | } |
| | | pf = new ProgramBxFile( 0, screen.getProfile()); |
| | | pf.setFrameShow(false); |
| | | // 分别输入X,Y,width,height |
| | | area = new TextCaptionBxArea( 0,0,96,48, screen.getProfile()); |
| | | // 创建一个数据页 |
| | | TextBxPage page = new TextBxPage(); |
| | | for (LedCommand command : list) { |
| | | page.newLine(command.getTitle() +"("+command.getWorkNo()+")"); |
| | | page.newLine("库位:"+ (command.getIoType() < 100 ? command.getLocNo() : command.getSourceLocNo())); |
| | | page.newLine("目标站:"+command.getStaNo()); |
| | | if (!command.isEmptyMk()) { |
| | | for (MatDto matDto : command.getMatDtos()) { |
| | | //去掉小数点 |
| | | String strQty = matDto.getCount().toString(); |
| | | int idx = strQty.lastIndexOf("."); |
| | | if(idx >= 0){ |
| | | strQty.substring(0,idx); |
| | | } |
| | | page.newLine(matDto.getMaknx() + "[数量" + strQty +"]"); |
| | | // page.newLine(matDto.getMaknx() + "【数量" + matDto.getCount() +"】"); |
| | | } |
| | | } |
| | | page.newLine("\n"); |
| | | } |
| | | |
| | | // 设置字体 |
| | | page.setFont(new Font("宋体",Font.PLAIN,12)); |
| | | // 设置文本颜色 |
| | | page.setForeground(Color.red); |
| | | // 设置显示特技为快速打出 |
| | | page.setDisplayStyle(styles[6]); |
| | | area.clearPages(); |
| | | area.addPage(page); |
| | | pf.addArea(area); |
| | | if (pf.validate() != null) { |
| | | News.info("pf out of range"); |
| | | } else { |
| | | // 更新节目 |
| | | screen.writeProgram(pf); |
| | | // resetStatus = false; |
| | | } |
| | | close(); |
| | | } |
| | | |
| | | private void reset() throws Bx5GException { |
| | | if (!connect()) { |
| | | return; |
| | | } |
| | | // if (resetStatus) { |
| | | // return; |
| | | // } |
| | | pf = new ProgramBxFile( 0, screen.getProfile()); |
| | | pf.setFrameShow(false); |
| | | // 分别输入X,Y,width,height |
| | | area = new TextCaptionBxArea( 0,0,96,48, screen.getProfile()); |
| | | // 创建一个数据页 |
| | | TextBxPage page = new TextBxPage(); |
| | | |
| | | // List<String> list = null; |
| | | // try { |
| | | // String ledDefaultMsg = Parameter.get().getLedDefaultMsg(); |
| | | // list = JSON.parseArray(ledDefaultMsg, String.class); |
| | | // } catch (Exception ignore) { |
| | | // } |
| | | // if (!Cools.isEmpty(list)) { |
| | | // for (String str : list) { |
| | | // page.newLine(str); |
| | | // } |
| | | // } else { |
| | | // page.newLine("自动化立体仓库"); |
| | | // page.newLine("西格迈股份有限公司"); |
| | | // } |
| | | page.newLine("力源智能仓储"); |
| | | |
| | | // 设置字体 |
| | | page.setFont(new Font("宋体",Font.PLAIN,13)); |
| | | // 设置文本颜色 |
| | | page.setForeground(Color.red); |
| | | // 设置显示特技为快速打出 |
| | | page.setDisplayStyle(styles[6]); |
| | | area.clearPages(); |
| | | area.addPage(page); |
| | | pf.addArea(area); |
| | | // 更新节目 |
| | | if (pf.validate() != null) { |
| | | News.info("pf out of range"); |
| | | } else { |
| | | // 更新节目 |
| | | screen.writeProgram(pf); |
| | | // resetStatus = true; |
| | | } |
| | | close(); |
| | | } |
| | | private void write7(List<LedCommand> list) { |
| | | |
| | | private void write(List<LedCommand> list) { |
| | | commandList = list; |
| | | |
| | | StringBuilder sb = new StringBuilder(); |
| | |
| | | sb.append("目标站:").append(command.getStaNo()).append("\n"); |
| | | if (!command.isEmptyMk()) { |
| | | for (MatDto matDto : command.getMatDtos()) { |
| | | sb.append("物料编码:").append(matDto.getMatNo()).append("\n"); |
| | | sb.append("数量:").append(matDto.getCount()).append("\n"); |
| | | sb.append(matDto.getSpecs()).append("-").append(matDto.getBatch()).append("\n"); |
| | | } |
| | | } |
| | | sb.append("\n"); |
| | |
| | | } |
| | | |
| | | |
| | | private void reset7() { |
| | | private void reset() { |
| | | commandList = null; |
| | | |
| | | stringBuffer.delete(0, stringBuffer.length()); |
| | |
| | | |
| | | @Override |
| | | public boolean connect() { |
| | | String methodName = Thread.currentThread().getStackTrace()[1].getMethodName(); |
| | | |
| | | boolean connRes = false; |
| | | try { |
| | | connRes = screen.connect(slave.getIp(),slave.getPort()); |
| | | screen.turnOn(); |
| | | } catch (Exception ignore) { |
| | | } |
| | | if (connRes) { |
| | | News.info(methodName + ":led连接成功 ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort()); |
| | | } else { |
| | | News.error(methodName + ":led连接失败!!! ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort()); |
| | | } |
| | | return connRes; |
| | | return true; |
| | | } |
| | | |
| | | @Override |
| | | public void close() { |
| | | |
| | | } |
| | | |
| | | public static void main(String[] args) throws Exception { |
| | | String strQty = "1234"; |
| | | int index = strQty.lastIndexOf("."); |
| | | if(index>=0) { |
| | | strQty=strQty.substring(0, index); |
| | | } |
| | | System.out.println("2==>>"+strQty); |
| | | |
| | | Bx5GEnv.initial(3000); |
| | | Bx5GScreenClient screen = new Bx5GScreenClient("my"); |
| | | DisplayStyleFactory.DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyleFactory.DisplayStyle[0]); |
| | | if (!screen.connect("192.168.10.101",5005)) { |
| | | System.err.println("连接失败!!!!"); |
| | | return; |
| | | } |
| | | screen.turnOn(); |
| | | |
| | | |
| | | while (true) { |
| | | Thread.sleep(5000L); |
| | | |
| | | ProgramBxFile pf = new ProgramBxFile( 0, screen.getProfile()); |
| | | pf.setFrameShow(false); |
| | | // 分别输入X,Y,width,heigth |
| | | TextCaptionBxArea area = new TextCaptionBxArea( 0,0,192,96,screen.getProfile()); |
| | | |
| | | // 创建一个数据页 |
| | | // 第一行数据 |
| | | TextBxPage page = new TextBxPage("出库任务(303)"); |
| | | page.newLine("源库位:0100204"); |
| | | page.newLine("目标站:1000"); |
| | | // 设置字体 |
| | | page.setFont( new Font("宋体",Font.PLAIN,15)); |
| | | // 设置文本颜色 |
| | | page.setForeground(Color.red); |
| | | // 设置显示特技为快速打出 |
| | | page.setDisplayStyle(styles[6]); |
| | | area.clearPages(); |
| | | area.addPage(page); |
| | | pf.addArea( area ); |
| | | |
| | | // 更新节目 |
| | | // 更新节目 |
| | | if (pf.validate() != null) { |
| | | System.out.println("pf out of range"); |
| | | News.info("pf out of range"); |
| | | } else { |
| | | // 更新节目 |
| | | screen.writeProgram(pf); |
| | | } |
| | | } |
| | | |
| | | // 继开与控制器之间的链接 |
| | | // screen.disconnect(); |
| | | } |
| | | |
| | | public static void main1(String[] args) throws Exception { |
| | | Bx5GEnv.initial(3000); |
| | | // 创建screen对象,用于对控制器进行访问,客户端模式 |
| | | Bx5GScreenClient screen = new Bx5GScreenClient("my"); |
| | | // 创建screen对象,用于对控制器进行访问,串口模式 |
| | | // Bx5GScreenRS screen = new Bx5GScreenRS("MyScreen"); |
| | | |
| | | // 在对控制器交互之前,需要先与控制器建立连接 |
| | | boolean conn = screen.connect("192.168.10.61",5005); |
| | | System.out.println(conn); |
| | | // 与控制器交互完成后,需断开与控制器之间的连接 |
| | | // screen.disconnect(); |
| | | |
| | | // 以下为一些简单控制命令的使用方法 |
| | | // 开关机命令 |
| | | // screen.turnOff();// 关机 |
| | | screen.turnOn();// 开机 |
| | | // screen.syncTime();// 校时 |
| | | // screen.ping();// ping命令 |
| | | // // 查询控制器状态 |
| | | // screen.checkControllerStatus(); |
| | | // // 查询控制器当前固件版本 |
| | | // screen.checkFirmware(); |
| | | // // 查询控制器内存 |
| | | // screen.checkMemVolumes(); |
| | | // // 锁定屏幕当前画面 |
| | | // screen.lock(); |
| | | // // 解除锁定屏幕当前画面 |
| | | // screen.unlock(); |
| | | |
| | | Bx5GScreen.Result <ReturnControllerStatus> result1 = |
| | | screen.checkControllerStatus(); |
| | | if (result1.isOK()) |
| | | { |
| | | ReturnControllerStatus status = result1.reply; |
| | | System.out.println(status.getBrightness()); |
| | | System.out.println(status.getRtcDay()); |
| | | System.out.println(status.getScreenOnOff()); |
| | | // |
| | | // status 还有很对其他接口,可以根据实际需求再次调用以获取相应状态 |
| | | } |
| | | |
| | | // |
| | | // 以下是静态区部分 Demo |
| | | |
| | | // 创建节目文件 |
| | | ProgramBxFile pf = new ProgramBxFile( 0,screen.getProfile() ); |
| | | // 是否显示节目边框 |
| | | pf.setFrameShow(true); |
| | | // 节目边框的移动速度 |
| | | pf.setFrameSpeed(20); |
| | | // 使用第几个内置边框 |
| | | pf.loadFrameImage(13); |
| | | |
| | | DisplayStyleFactory.DisplayStyle[] styles = DisplayStyleFactory.getStyles().toArray(new DisplayStyleFactory.DisplayStyle[0]); |
| | | // 创建一个文本区 |
| | | // 分别输入X,Y,width,heigth |
| | | // 注意区域坐标和宽度高度,不要越界 |
| | | TextCaptionBxArea area = new TextCaptionBxArea( 0,0,160,64,screen.getProfile() ); |
| | | |
| | | // 创建一个数据页 |
| | | // 第一行数据 |
| | | TextBxPage page = new TextBxPage("入库"); |
| | | // 第二行数据 |
| | | page.newLine( "物料:" ); |
| | | page.newLine("接收器 RX18 XH 6V (数量:2)"); |
| | | page.newLine("中控 BM蓝牙 英文 6V (数量:1)"); |
| | | page.newLine("线束 S2588-1-XX 无实物(数量:5)"); |
| | | page.newLine("目标库位:0100204"); |
| | | // 设置字体 |
| | | page.setFont( new Font("宋体",Font.PLAIN,12) ); |
| | | // 设置显示特技为快速打出 |
| | | page.setDisplayStyle( styles[2] ); |
| | | |
| | | // 数据页可以是图片 |
| | | // ImageFileBxPage iPage = new ImageFileBxPage( "E;a/001.bmp" ); |
| | | // |
| | | // // 数据页可以是txt文件 |
| | | // TextFileBxPage tPage = new TextFileBxPage("E:a/001.txt"); |
| | | |
| | | // 将前面的page添加到area中 area中可以添加多个page 其中page可以是字符串,可以是txt文件,可以是图片,不可以是表格,如果需要Led屏上显示表格,请先将表格绘制成图片 |
| | | area.addPage( page ); |
| | | // area.addPage( iPage ); |
| | | // area.addPage( tPage ); |
| | | // 将area添加到节目中 节目中可以添加多个area |
| | | pf.addArea( area ); |
| | | |
| | | // 更新节目 |
| | | screen.writeProgram( pf ); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | // |
| | | // 以下是动态区部分 Demo |
| | | // 动态区的特点 |
| | | |
| | | // DynamicBxAreaRule(id, runMode, immediatePlay, timeout) |
| | | // runMode 运行模式: |
| | | // 0:循环显示。 |
| | | // 1:显示完成后静止显示最后一页数据。 |
| | | // 2:循环显示,超过设定时间后数据仍未更新时不再显示。 |
| | | // 3:循环显示,超过设定时间后数据仍未更新时显示 Logo 信息。 |
| | | // 4:循环显示,显示完最后一页后就不再显示。 |
| | | // immediatePlay 是否立即播放: |
| | | // 0:与异步节目一起播放。 |
| | | // 1:异步节目停止播放,仅播放动态区域。 |
| | | // 2:当播放完节目编号最高的异步节目后播放该动态区域。 |
| | | |
| | | // |
| | | // 定义一个动态区 |
| | | // 可以通过ID来更新不同的动态区内容, 此处 ID 为 0 |
| | | // DynamicBxAreaRule dynRule = new DynamicBxAreaRule(0, (byte) 0, (byte) 1, 0); |
| | | //dArea.addProgram("P000"); |
| | | //dArea.addProgram("P001"); |
| | | |
| | | // int posX = 440; |
| | | // int posY = 4; |
| | | // TextCaptionBxArea dAreaContent = new TextCaptionBxArea(posX, posY, 64, 16, screen.getProfile()); |
| | | // TextBxPage page = new TextBxPage("动态第一次尝试"); |
| | | // page.setDisplayStyle(DisplayStyleFactory.getStyle(4)); |
| | | // dAreaContent.addPage(page); |
| | | // |
| | | // // 发送动态区之前,如果需要删除之前的动态区,可以调用以下接口 |
| | | // // 通常如果动态区的位置或大小没有发生改变,不用删除 |
| | | // screen.deleteAllDynamic(); |
| | | // |
| | | // // 更新动态区 |
| | | // screen.writeDynamic(dynRule, dAreaContent); |
| | | // Thread.sleep(15000); |
| | | // |
| | | // // |
| | | // // 下面模拟再次更新动态区 |
| | | // page = new TextBxPage("再次尝试"); |
| | | // TextBxPage page2 = new TextBxPage("成功"); |
| | | // |
| | | // dAreaContent.clearPages(); |
| | | // dAreaContent.addPage(page); |
| | | // dAreaContent.addPage(page2); |
| | | // |
| | | // // 更新动态区 |
| | | // screen.writeDynamic(dynRule, dAreaContent); |
| | | |
| | | // |
| | | // 继开与控制器之间的链接 |
| | | screen.disconnect(); |
| | | |
| | | |
| | | } |
| | | |
| | | } |
| | |
| | | # LED1 |
| | | led[0]: |
| | | id: 1 |
| | | ip: 10.10.10.81 |
| | | ip: 10.10.10.11 |
| | | port: 5005 |
| | | devpPlcId: ${wcs-slave.devp[0].id} |
| | | staArr: 100 |
| | | # LED2 |
| | | led[1]: |
| | | id: 2 |
| | | ip: 10.10.10.202 |
| | | ip: 10.10.10.12 |
| | | port: 5005 |
| | | devpPlcId: ${wcs-slave.devp[0].id} |
| | | staArr: 102 |
| | | # LED3 |
| | | led[2]: |
| | | id: 1 |
| | | ip: 10.10.10.81 |
| | | id: 3 |
| | | ip: 10.10.10.13 |
| | | port: 5005 |
| | | devpPlcId: ${wcs-slave.devp[0].id} |
| | | staArr: 104 |
| | | # LED4 |
| | | led[3]: |
| | | id: 2 |
| | | ip: 10.10.10.202 |
| | | id: 4 |
| | | ip: 10.10.10.14 |
| | | port: 5005 |
| | | devpPlcId: ${wcs-slave.devp[1].id} |
| | | staArr: 200 |
| | | # LED5 |
| | | led[4]: |
| | | id: 1 |
| | | ip: 10.10.10.81 |
| | | id: 5 |
| | | ip: 10.10.10.15 |
| | | port: 5005 |
| | | devpPlcId: ${wcs-slave.devp[1].id} |
| | | staArr: 202 |
| | | # LED6 |
| | | led[5]: |
| | | id: 2 |
| | | ip: 10.10.10.202 |
| | | id: 6 |
| | | ip: 10.10.10.16 |
| | | port: 5005 |
| | | devpPlcId: ${wcs-slave.devp[1].id} |
| | | staArr: 204 |
| | | # LED7 |
| | | led[6]: |
| | | id: 1 |
| | | ip: 10.10.10.81 |
| | | id: 7 |
| | | ip: 10.10.10.17 |
| | | port: 5005 |
| | | devpPlcId: ${wcs-slave.devp[2].id} |
| | | staArr: 300 |
| | | # LED8 |
| | | led[7]: |
| | | id: 2 |
| | | ip: 10.10.10.202 |
| | | id: 8 |
| | | ip: 10.10.10.18 |
| | | port: 5005 |
| | | devpPlcId: ${wcs-slave.devp[2].id} |
| | | staArr: 302 |
| | | # LED9 |
| | | led[8]: |
| | | id: 1 |
| | | ip: 10.10.10.81 |
| | | id: 9 |
| | | ip: 10.10.10.17 |
| | | port: 5005 |
| | | devpPlcId: ${wcs-slave.devp[2].id} |
| | | staArr: 304 |
| | |
| | | <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>Monitor-APP</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) |
| | | document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.97465e7b.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.59968a66.js></script><script src=./static/js/index.da60b755.js></script></body></html> |
| | | document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.97465e7b.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.59968a66.js></script><script src=./static/js/index.30a93d9a.js></script></body></html> |
New file |
| | |
| | | (function(n){function e(e){for(var t,r,u=e[0],s=e[1],c=e[2],p=0,l=[];p<u.length;p++)r=u[p],Object.prototype.hasOwnProperty.call(i,r)&&i[r]&&l.push(i[r][0]),i[r]=0;for(t in s)Object.prototype.hasOwnProperty.call(s,t)&&(n[t]=s[t]);d&&d(e);while(l.length)l.shift()();return a.push.apply(a,c||[]),o()}function o(){for(var n,e=0;e<a.length;e++){for(var o=a[e],t=!0,u=1;u<o.length;u++){var s=o[u];0!==i[s]&&(t=!1)}t&&(a.splice(e--,1),n=r(r.s=o[0]))}return n}var t={},i={index:0},a=[];function r(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.e=function(n){var e=[],o=i[n];if(0!==o)if(o)e.push(o[2]);else{var t=new Promise((function(e,t){o=i[n]=[e,t]}));e.push(o[2]=t);var a,u=document.createElement("script");u.charset="utf-8",u.timeout=120,r.nc&&u.setAttribute("nonce",r.nc),u.src=function(n){return r.p+"static/js/"+({"pages-home-home~pages-index-index":"pages-home-home~pages-index-index","pages-home-home":"pages-home-home","pages-index-index":"pages-index-index","pages-index":"pages-index","pages-index-monitor":"pages-index-monitor","pages-test-test":"pages-test-test"}[n]||n)+"."+{"pages-home-home~pages-index-index":"a563cfa8","pages-home-home":"d3a1b468","pages-index-index":"3bd687c2","pages-index":"e825a13a","pages-index-monitor":"42c280e3","pages-test-test":"1a751597"}[n]+".js"}(n);var s=new Error;a=function(e){u.onerror=u.onload=null,clearTimeout(c);var o=i[n];if(0!==o){if(o){var t=e&&("load"===e.type?"missing":e.type),a=e&&e.target&&e.target.src;s.message="Loading chunk "+n+" failed.\n("+t+": "+a+")",s.name="ChunkLoadError",s.type=t,s.request=a,o[1](s)}i[n]=void 0}};var c=setTimeout((function(){a({type:"timeout",target:u})}),12e4);u.onerror=u.onload=a,document.head.appendChild(u)}return Promise.all(e)},r.m=n,r.c=t,r.d=function(n,e,o){r.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:o})},r.r=function(n){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,e){if(1&e&&(n=r(n)),8&e)return n;if(4&e&&"object"===typeof n&&n&&n.__esModule)return n;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var t in n)r.d(o,t,function(e){return n[e]}.bind(null,t));return o},r.n=function(n){var e=n&&n.__esModule?function(){return n["default"]}:function(){return n};return r.d(e,"a",e),e},r.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},r.p="./",r.oe=function(n){throw console.error(n),n};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],s=u.push.bind(u);u.push=e,u=u.slice();for(var c=0;c<u.length;c++)e(u[c]);var d=s;a.push([0,"chunk-vendors"]),o()})({0:function(n,e,o){n.exports=o("bfc5")},"219d":function(n,e,o){"use strict";o.r(e);var t=o("6c7d"),i=o.n(t);for(var a in t)["default"].indexOf(a)<0&&function(n){o.d(e,n,(function(){return t[n]}))}(a);e["default"]=i.a},4923:function(n,e,o){"use strict";(function(n){var e=o("4ea4").default;o("13d5"),o("d3b7"),o("ddb0"),o("ac1f"),o("5319");var t=e(o("e143")),i={keys:function(){return[]}};n["____CA903B7____"]=!0,delete n["____CA903B7____"],n.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"uni-app",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8",pageOrientation:"landscape"}},n.__uniConfig.compilerVersion="3.8.12",n.__uniConfig.darkmode=!1,n.__uniConfig.themeConfig={},n.__uniConfig.uniPlatform="h5",n.__uniConfig.appId="__UNI__CA903B7",n.__uniConfig.appName="Monitor-APP",n.__uniConfig.appVersion="1.0.1",n.__uniConfig.appVersionCode="100",n.__uniConfig.router={mode:"hash",base:"./"},n.__uniConfig.publicPath="./",n.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:6e4},n.__uniConfig.debug=!1,n.__uniConfig.networkTimeout={request:3e4,connectSocket:6e4,uploadFile:6e4,downloadFile:6e4},n.__uniConfig.sdkConfigs={},n.__uniConfig.qqMapKey=void 0,n.__uniConfig.googleMapKey=void 0,n.__uniConfig.aMapKey=void 0,n.__uniConfig.aMapSecurityJsCode=void 0,n.__uniConfig.aMapServiceHost=void 0,n.__uniConfig.locale="",n.__uniConfig.fallbackLocale=void 0,n.__uniConfig.locales=i.keys().reduce((function(n,e){var o=e.replace(/\.\/(uni-app.)?(.*).json/,"$2"),t=i(e);return Object.assign(n[o]||(n[o]={}),t.common||t),n}),{}),n.__uniConfig.nvue={"flex-direction":"column"},n.__uniConfig.__webpack_chunk_load__=o.e,t.default.component("pages-home-home",(function(n){var e={component:Promise.all([o.e("pages-home-home~pages-index-index"),o.e("pages-home-home")]).then(function(){return n(o("5caa"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(n){return n(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(n){return n(__uniConfig["async"]["error"])}}),e})),t.default.component("pages-test-test",(function(n){var e={component:o.e("pages-test-test").then(function(){return n(o("52c7"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(n){return n(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(n){return n(__uniConfig["async"]["error"])}}),e})),t.default.component("pages-index",(function(n){var e={component:o.e("pages-index").then(function(){return n(o("ed73"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(n){return n(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(n){return n(__uniConfig["async"]["error"])}}),e})),t.default.component("pages-index-index",(function(n){var e={component:Promise.all([o.e("pages-home-home~pages-index-index"),o.e("pages-index-index")]).then(function(){return n(o("aad2"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(n){return n(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(n){return n(__uniConfig["async"]["error"])}}),e})),t.default.component("pages-index-monitor",(function(n){var e={component:o.e("pages-index-monitor").then(function(){return n(o("715b"))}.bind(null,o)).catch(o.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(e.loading={name:"SystemAsyncLoading",render:function(n){return n(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(e.error={name:"SystemAsyncError",render:function(n){return n(__uniConfig["async"]["error"])}}),e})),n.__uniRoutes=[{path:"/",alias:"/pages/home/home",component:{render:function(n){return n("Page",{props:Object.assign({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationStyle:"custom",titleNView:!1})},[n("pages-home-home",{slot:"page"})])}},meta:{id:1,name:"pages-home-home",isNVue:!1,maxWidth:0,pagePath:"pages/home/home",isQuit:!0,isEntry:!0,windowTop:0}},{path:"/pages/test/test",component:{render:function(n){return n("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",titleNView:!1})},[n("pages-test-test",{slot:"page"})])}},meta:{name:"pages-test-test",isNVue:!1,maxWidth:0,pagePath:"pages/test/test",windowTop:0}},{path:"/pages/index",component:{render:function(n){return n("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",titleNView:!1})},[n("pages-index",{slot:"page"})])}},meta:{name:"pages-index",isNVue:!1,maxWidth:0,pagePath:"pages/index",windowTop:0}},{path:"/pages/index/index",component:{render:function(n){return n("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom",titleNView:!1})},[n("pages-index-index",{slot:"page"})])}},meta:{name:"pages-index-index",isNVue:!1,maxWidth:0,pagePath:"pages/index/index",windowTop:0}},{path:"/pages/index/monitor",component:{render:function(n){return n("Page",{props:Object.assign({},__uniConfig.globalStyle,{navigationStyle:"custom"})},[n("pages-index-monitor",{slot:"page"})])}},meta:{name:"pages-index-monitor",isNVue:!1,maxWidth:0,pagePath:"pages/index/monitor",windowTop:0}},{path:"/choose-location",component:{render:function(n){return n("Page",{props:{navigationStyle:"custom"}},[n("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(n){return n("Page",{props:{navigationStyle:"custom"}},[n("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}],n.UniApp&&new n.UniApp}).call(this,o("c8ba"))},"6c7d":function(n,e,o){"use strict";o("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};e.default=t},"799e":function(n,e,o){"use strict";var t=o("af77"),i=o.n(t);i.a},"8e14":function(n,e,o){var t=o("24fb");e=t(!1),e.push([n.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/*每个页面公共css */",""]),n.exports=e},"9c3e":function(n,e,o){"use strict";o.r(e);var t=o("ef1c"),i=o("219d");for(var a in i)["default"].indexOf(a)<0&&function(n){o.d(e,n,(function(){return i[n]}))}(a);o("799e");var r=o("f0c5"),u=Object(r["a"])(i["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],void 0);e["default"]=u.exports},af77:function(n,e,o){var t=o("8e14");t.__esModule&&(t=t.default),"string"===typeof t&&(t=[[n.i,t,""]]),t.locals&&(n.exports=t.locals);var i=o("4f06").default;i("5e05cc02",t,!0,{sourceMap:!1,shadowMode:!1})},bfc5:function(n,e,o){"use strict";var t=o("4ea4").default,i=t(o("5530"));o("e260"),o("e6cf"),o("cca6"),o("a79d"),o("4923"),o("1c31");var a=t(o("9c3e")),r=t(o("e143"));r.default.config.productionTip=!1,r.default.prototype.baseHttp="http://",a.default.mpType="app";var u=new r.default((0,i.default)({},a.default));u.$mount()},ef1c:function(n,e,o){"use strict";o.d(e,"b",(function(){return t})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){}));var t=function(){var n=this.$createElement,e=this._self._c||n;return e("App",{attrs:{keepAliveInclude:this.keepAliveInclude}})},i=[]}}); |
New file |
| | |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-home-home"],{"14a5":function(t,n,e){"use strict";e.r(n);var i=e("cbda"),r=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=r.a},1690:function(t,n,e){"use strict";e.r(n);var i=e("f732"),r=e("14a5");for(var a in r)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(a);e("d6ea");var s=e("f0c5"),o=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"71f2edbe",null,!1,i["a"],void 0);n["default"]=o.exports},"4e53":function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("e9c4");i(e("f887"));var r=i(e("6bf8")),a={data:function(){return{series:[],homeViewShow:!0,infoViewShow:!1,errorInfoViewShow:!1,homeMode:[],infoMode:[],errorInfoMode:[],baseInfo:{xDistance:1,yDistance:2,xDuration:3,yDuration:4,usedPr:50,used:3537,stockCount:"",emptyCount:"",noneCount:""},chartsData:{Line:{categories:[],series:[]},Pie:{series:[{data:[]}]}},duration:1e3,calendar:"",ringOpts:{},chartsDataLine1:{},chartsDataPie2:{},fontSize:"",height:"",showCharts:!1,ejectShow:!1,baseIP:"",basePort:"",baseLedId:"",baseCrnId:"",baseUrl:"",info:null,error:null,infoType:0,text:"",infoText:{title:"",staNo:"",matnr:"",maknx:"",specs:"",count:"",error:"",barcode:""},swiperList:[],timeOut:!1,times:0,currDate:""}},onShow:function(){},mounted:function(){var t=uni.getStorageSync("BaseIp"),n=uni.getStorageSync("BaseLedId"),e=uni.getStorageSync("BasePort"),i=uni.getStorageSync("BaseCrnId"),r=uni.getStorageSync("UPROJ");this.baseUrl=r,this.baseIP=t,this.baseLedId=n,this.basePort=e,this.baseCrnId=i},onLoad:function(){var t=this;setInterval((function(){t.getServerData(),t.initlineChart(),t.initPieChart(),t.getOther(),t.getDate2(),t.getInfo(),t.getError(),t.getUrl(),t.controller()}),1e3)},methods:{timeOut:function(){console.log(this.times)},getUrl:function(){this.commonUrl=this.baseHttp+this.baseIP+":"+this.basePort+"/"+this.baseUrl},getServerData:function(){this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line)),this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie))},getInfo2:function(){var t=r.default.dataInfo2,n=t.data;if(n.data&&""!==n.data){if(2==this.infoType||3==this.infoType)return;this.infoType=1,101===n.data[0].ioType?this.infoText.title="全板出库":103===n.data[0].ioType?this.infoText.title="检料出库":107===n.data[0].ioType?this.infoText.title="盘点出库":1===n.data[0].ioType?this.infoText.title="入库":10===n.data[0].ioType?this.infoText.title="空托入库":110===n.data[0].ioType&&(this.infoText.title="空托出库"),this.infoText.barcode=n.data[0].barcode,this.infoText.workNo=n.data[0].workNo,this.infoText.sourceLocNo=n.data[0].sourceLocNo,this.infoText.staNo=n.data[0].staNo,this.swiperList=n.data[0].matDtos}else{if(2==this.infoType||3==this.infoType)return;this.infoType=0}},getError2:function(){var t=r.default.dataError2,n=t.data;if(n.data&&""!==n.data){var e=n.data;if(1==this.infoType)return this.infoType=3,this.infoText.title="其他信息",void(this.infoText.error=e);this.infoType=2,this.infoText.title="其他信息",this.infoText.error=e}else{if(1==this.infoType)return;this.infoType=0}},getInfo:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/led",method:"GET",data:{ledId:t.baseLedId},success:function(n){t.timeOut=!1,t.times=0;var e=n.data;if(e.data&&""!==e.data){if(2==t.infoType||3==t.infoType)return;t.infoType=1,101===e.data[0].ioType?t.infoText.title="全板出库":103===e.data[0].ioType?t.infoText.title="检料出库":107===e.data[0].ioType?t.infoText.title="盘点出库":1===e.data[0].ioType?t.infoText.title="入库":10===e.data[0].ioType?t.infoText.title="空托入库":110===e.data[0].ioType&&(t.infoText.title="空托出库"),t.infoText.barcode=e.data[0].barcode,t.infoText.workNo=e.data[0].workNo,t.infoText.sourceLocNo=e.data[0].sourceLocNo,t.infoText.staNo=e.data[0].staNo,t.swiperList=e.data[0].matDtos}else{if(2==t.infoType||3==t.infoType)return;t.infoType=0}},fail:function(n){t.timeOut=!0,t.times=t.times+3,t.infoType=0}})},getError:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/led/error",data:{ledId:t.baseLedId},method:"GET",success:function(n){t.timeOut=!1,t.times=0;var e=n.data;if(console.log(e),e.data&&""!==e.data){var i=e.data;if(1==t.infoType)return t.infoType=3,t.infoText.title="其他信息",void(t.infoText.error=i);t.infoType=2,t.infoText.title="其他信息",t.infoText.error=i}else{if(1==t.infoType)return;t.infoType=0}},fail:function(n){t.timeOut=!0,t.infoType=0}})},controller:function(){var t=this;switch(this.infoType){case 0:return void(this.errorInfoViewShow?(this.errorInfoViewShow=!1,this.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"]}),1e3)):this.infoViewShow?(this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"]}),1e3)):this.errorInfoViewShow&&this.infoViewShow&&(this.errorInfoViewShow=!1,this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],setTimeout((function(){t.homeViewShow=!0,t.homeMode=["fade","slide-bottom"]}),1e3)));case 1:return void(this.homeViewShow?(this.homeViewShow=!1,this.homeMode=["fade","slide-bottom"],setTimeout((function(){t.infoViewShow=!0,t.infoMode=["fade","slide-bottom"]}),1e3)):this.errorInfoViewShow&&(this.errorInfoViewShow=!1,this.errorInfoMode=["fade","slide-bottom"],setTimeout((function(){t.infoViewShow=!0,t.infoMode=["fade","slide-bottom"]}),1e3)));case 2:return void(this.homeViewShow?(this.homeViewShow=!1,this.homeMode=["fade","slide-bottom"],setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"]}),1e3)):this.infoViewShow&&(this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"]}),1e3)));case 3:return void(this.homeViewShow?(this.homeViewShow=!1,this.homeMode=["fade","slide-bottom"],setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"]}),1e3)):this.infoViewShow&&(this.infoViewShow=!1,this.infoMode=["fade","slide-bottom"],setTimeout((function(){t.errorInfoViewShow=!0,t.errorInfoMode=["fade","slide-bottom"]}),1e3)))}},handle:function(t){this.homeViewShow=!this.homeViewShow,this.modeClass=t},handle1:function(t){this.infoViewShow=!this.infoViewShow,this.modeClass=t},handle2:function(t){this.errorInfoViewShow=!this.errorInfoViewShow,this.modeClass=t},ejected:function(){this.ejectShow=!0},ejectClose:function(){this.ejectShow=!1},ejectConfirm:function(){uni.setStorageSync("BaseIp",this.baseIP),uni.setStorageSync("BaseLedId",this.baseLedId),uni.setStorageSync("BasePort",this.basePort),uni.setStorageSync("BaseCrnId",this.baseCrnId),uni.setStorageSync("UPROJ",this.baseUrl),this.getUrl(),this.ejectShow=!1},getDate2:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/date",method:"GET",success:function(n){var e=n.data.data;t.calendar=e.year+"年"+e.month+"月"+e.day+"日 "+e.hour+":"+e.minute+":"+e.second+" "+e.week,t.currDate=e.year+"/"+e.month+"/"+e.day}})},getDate:function(){var t,n,e,i,r,a,s,o=new Date;switch(t=o.getFullYear(),n=o.getMonth()+1<10?"0"+(o.getMonth()+1):o.getMonth()+1,e=o.getDate()<10?"0"+o.getDate():o.getDate(),i=o.getHours()<10?"0"+o.getHours():o.getHours(),r=o.getMinutes()<10?"0"+o.getMinutes():o.getMinutes(),a=o.getSeconds()<10?"0"+o.getSeconds():o.getSeconds(),s=o.getDay(),s){case 0:s="星期日";break;case 1:s="星期一";break;case 2:s="星期二";break;case 3:s="星期三";break;case 4:s="星期四";break;case 5:s="星期五";break;default:s="星期六"}this.calendar=t+"年"+n+"月"+e+"日 "+i+":"+r+":"+a+" "+s},getDateFormat:function(t){var n=new Date(this.currDate);n.setDate(n.getDate()+t);var e=n.getMonth()+1,i=n.getDate(),r=e+"-"+i;return r},initlineChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/line/charts",method:"GET",success:function(n){var e=n.data;200===e.code&&(t.chartsData.Line.categories=[t.getDateFormat(-11),t.getDateFormat(-10),t.getDateFormat(-9),t.getDateFormat(-8),t.getDateFormat(-7),t.getDateFormat(-6),t.getDateFormat(-5),t.getDateFormat(-4),t.getDateFormat(-3),t.getDateFormat(-2),t.getDateFormat(-1),t.getDateFormat(0)],t.chartsData.Line.series=e.data.rows)}})},initPieChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/loc/rep",method:"GET",success:function(n){var e=n.data;200===e.code&&(t.chartsData.Pie.series[0].data=e.data.pie,t.baseInfo.stockCount=e.data.stockCunt,t.baseInfo.emptyCount=e.data.emptyCount,t.baseInfo.noneCount=e.data.noneCount,t.baseInfo.used=e.data.used,t.baseInfo.usedPr=e.data.usedPr)}})},getOther:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/other",data:{crnId:t.baseCrnId,ledId:t.baseLedId},success:function(n){var e=n.data;200===e.code?(t.baseInfo.xDistance=e.data.xDistance,t.baseInfo.yDistance=e.data.yDistance,t.baseInfo.xDuration=e.data.xDuration,t.baseInfo.yDuration=e.data.yDuration):e.code}})}}};n.default=a},"5caa":function(t,n,e){"use strict";e.r(n);var i=e("7d6c"),r=e("eabc");for(var a in r)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(a);e("a278");var s=e("f0c5"),o=Object(s["a"])(r["default"],i["b"],i["c"],!1,null,"048fa192",null,!1,i["a"],void 0);n["default"]=o.exports},"7d6c":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return i}));var i={uniTransition:e("9b17").default,yBox:e("1690").default,qiunDataCharts:e("1f58").default},r=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("v-uni-view",{staticClass:"container"},[i("uni-transition",{attrs:{duration:t.duration,"mode-class":t.homeMode,show:t.homeViewShow}},[i("v-uni-view",{staticClass:"home-view"},[i("v-uni-view",{staticClass:"head"},[i("v-uni-text",[t._v("自动仓库WCS监控平台")])],1),i("v-uni-view",{staticClass:"time-tools"},[t._v(t._s(t.calendar))]),i("v-uni-view",{staticClass:"button-left",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejected()}}}),i("v-uni-view",{staticClass:"button-right",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejected()}}}),i("v-uni-view",{staticClass:"main"},[i("v-uni-view",{staticClass:"mian-item"},[i("v-uni-view",{staticClass:"mian-item-box"},[i("y-box",[i("v-uni-view",{staticClass:"box-item"},[i("v-uni-text",{staticClass:"item-title"},[t._v("自动化立体仓库")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("Automatic Storageand Retrieval System")]),i("v-uni-text",{staticClass:"item-text",staticStyle:{"text-align":"left"}},[t._v("利用立体仓库设备可实现仓库高层合理化、存取自动化、操作简便化;自动化立体仓库是当前技术水平较高的形式。自动化立体仓库的主体由货架、巷道式堆垛起重机、入(出)库工作台和自动运进(出)及操作控制系统组成。货架是钢结构或钢筋混凝土结构的建筑物或结构体,货架内是标准尺寸的货位空间,巷道堆垛起重机穿行于货架之间的巷道中,完成存、取货的工作。管理上采用计算机及条形码技术。")])],1),i("v-uni-view",{staticClass:"box-item"},[i("v-uni-text",{staticClass:"item-title"},[t._v("仓库数据")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("warehouse data")]),i("v-uni-view",{staticClass:"img-box"},[i("v-uni-view",{staticClass:"item-img"},[i("v-uni-image",{attrs:{src:e("7be7"),mode:"aspectFit"}}),i("v-uni-view",{staticClass:"flex-col",staticStyle:{width:"calc(100% - 5vw)"}},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{position:"relative"}},[i("v-uni-view",{staticStyle:{width:"2vw","padding-left":"2vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.xDistance))]),i("v-uni-view",{staticStyle:{position:"absolute",bottom:"0",left:"10vw"}},[t._v("KM")])],1),i("v-uni-view",{staticStyle:{height:"100%","text-align":"left","text-indent":"2em"}},[t._v("累计走行距离(千米)")])],1)],1),i("v-uni-view",{staticClass:"item-img"},[i("v-uni-image",{attrs:{src:e("feb8"),mode:"aspectFit"}}),i("v-uni-view",{staticClass:"flex-col",staticStyle:{width:"calc(100% - 5vw)"}},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{position:"relative"}},[i("v-uni-view",{staticStyle:{width:"2vw","padding-left":"2vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.yDistance))]),i("v-uni-view",{staticStyle:{position:"absolute",bottom:"0",left:"10vw"}},[t._v("KM")])],1),i("v-uni-view",{staticStyle:{height:"100%","text-align":"left","text-indent":"2em"}},[t._v("累计升降距离(千米)")])],1)],1),i("v-uni-view",{staticClass:"item-img"},[i("v-uni-image",{attrs:{src:e("00ce"),mode:"aspectFit"}}),i("v-uni-view",{staticClass:"flex-col",staticStyle:{width:"calc(100% - 5vw)"}},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{position:"relative"}},[i("v-uni-view",{staticStyle:{"-width":"2vw","padding-left":"2vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.xDuration))]),i("v-uni-view",{staticStyle:{position:"absolute",bottom:"0",left:"10vw"}},[t._v("H")])],1),i("v-uni-view",{staticStyle:{height:"100%","text-align":"left","text-indent":"2em"}},[t._v("累计走行时长(小时)")])],1)],1),i("v-uni-view",{staticClass:"item-img"},[i("v-uni-image",{attrs:{src:e("05a1"),mode:"aspectFit"}}),i("v-uni-view",{staticClass:"flex-col",staticStyle:{width:"calc(100% - 5vw)"}},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{position:"relative"}},[i("v-uni-view",{staticStyle:{width:"2vw","padding-left":"2vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.yDuration))]),i("v-uni-view",{staticStyle:{position:"absolute",bottom:"0",left:"10vw"}},[t._v("H")])],1),i("v-uni-view",{staticStyle:{height:"100%","text-align":"left","text-indent":"2em"}},[t._v("累计升降时长(小时)")])],1)],1)],1)],1),i("v-uni-view",{staticClass:"box-item"},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"flex-col",staticStyle:{"align-items":"flex-start","justify-content":"flex-start"}},[i("v-uni-text",{staticClass:"item-title"},[t._v("库位使用率")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("EQUIPMENT USAGE THIS MONTH")])],1),i("v-uni-view",{staticStyle:{"margin-left":"auto"}},[i("v-uni-view",{staticClass:"flex-col",staticStyle:{"align-items":"flex-end","justify-content":"flex-end"}},[i("v-uni-text",{staticClass:"item-title"},[t._v(t._s(t.baseInfo.usedPr)+"%")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("同比上月 + 5%")])],1)],1)],1),i("v-uni-view",{staticClass:"flex-col",staticStyle:{width:"100%","align-items":"flex-start",position:"relative","font-size":"1vw"}},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{width:"100%",position:"relative","margin-top":"5%"}},[i("v-uni-view",{staticClass:"progressBar",staticStyle:{width:"80%",height:"2vw"}},[i("v-uni-view",{staticClass:"progress",style:"width:"+t.baseInfo.usedPr+"%"})],1),i("v-uni-view",{staticStyle:{position:"absolute",bottom:"0",right:"0","font-size":"2.5vw",color:"#FF5722"}},[t._v(t._s(t.baseInfo.used))])],1)],1)],1)],1)],1)],1),i("v-uni-view",{staticClass:"mian-item"},[i("v-uni-view",{staticClass:"mian-item-box"},[i("v-uni-view",{staticStyle:{width:"100%",height:"100%"}},[i("v-uni-view",{staticStyle:{height:"35%"}},[i("y-box",[i("v-uni-view",{staticClass:"box-item"},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"flex-col",staticStyle:{"align-items":"flex-start","justify-content":"flex-start"}},[i("v-uni-text",{staticClass:"item-title"},[t._v("入出库统计")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("ORDER STATISTICS")])],1),i("v-uni-view",{staticStyle:{"margin-left":"auto"}},[i("v-uni-view",{staticClass:"flex-col",staticStyle:{"align-items":"flex-end","justify-content":"flex-end"}},[i("v-uni-text",{staticClass:"item-title"},[t._v("31")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("今日订单数")])],1)],1)],1),i("v-uni-view",{staticClass:"charts-box"},[i("qiun-data-charts",{attrs:{type:"line",chartData:t.chartsDataLine1,echartsH5:!0,echartsApp:!0}})],1)],1)],1)],1),i("v-uni-view",{staticStyle:{height:"2%"}}),i("v-uni-view",{staticStyle:{height:"43%"}},[i("y-box",[i("v-uni-view",{staticClass:"box-item"},[i("v-uni-view",{staticClass:"flex-row",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"flex-col",staticStyle:{"align-items":"flex-start","justify-content":"flex-start"}},[i("v-uni-text",{staticClass:"item-title"},[t._v("库存类型")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("INCOME DATE")])],1),i("v-uni-view",{staticStyle:{"margin-left":"auto"}},[i("v-uni-view",{staticClass:"flex-col",staticStyle:{"align-items":"flex-end","justify-content":"flex-end"}},[i("v-uni-text",{staticClass:"item-title"},[t._v("今天")]),i("v-uni-text",{staticClass:"item-subTitle"},[t._v("Today")])],1)],1)],1),i("v-uni-view",{staticClass:"flex-row",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"charts-box-ring"},[i("qiun-data-charts",{attrs:{type:"ring",opts:{legend:{position:"bottom"}},eopts:t.ringOpts,chartData:t.chartsDataPie2,echartsH5:!0,echartsApp:!0}})],1),i("v-uni-view",[i("v-uni-view",{staticClass:"flex-row sub-info"},[i("v-uni-image",{attrs:{src:e("82fe"),mode:"aspectFit"}}),i("v-uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"}},[t._v("在库")]),i("v-uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.stockCount))])],1),i("v-uni-view",{staticClass:"flex-row sub-info",staticStyle:{"margin-top":"2vh"}},[i("v-uni-image",{attrs:{src:e("1cd5"),mode:"aspectFit"}}),i("v-uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"}},[t._v("空库")]),i("v-uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.emptyCount))])],1),i("v-uni-view",{staticClass:"flex-row sub-info",staticStyle:{"margin-top":"2vh"}},[i("v-uni-image",{attrs:{src:e("b64b0"),mode:"aspectFit"}}),i("v-uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw"}},[t._v("锁定")]),i("v-uni-view",{staticStyle:{width:"8vw",height:"4vw","line-height":"4vw","font-size":"2vw"}},[t._v(t._s(t.baseInfo.noneCount))])],1)],1)],1)],1)],1)],1),i("v-uni-view",{staticStyle:{height:"2%"}}),i("v-uni-view",{staticStyle:{height:"18%"}},[i("y-box",[i("v-uni-view",{staticClass:"flex-col",staticStyle:{width:"100%",height:"100%","font-size":"4vh","justify-content":"center","letter-spacing":"1vh"}},[t._v("自动仓库WCS监控平台")])],1)],1)],1)],1)],1)],1)],1)],1),i("uni-transition",{attrs:{duration:t.duration,"mode-class":t.infoMode,show:t.infoViewShow}},[i("v-uni-view",{staticClass:"home-view"},[i("v-uni-view",{staticClass:"head"},[i("v-uni-text",[t._v(t._s(t.infoText.title))])],1),i("v-uni-view",{staticClass:"time-tools"},[t._v(t._s(t.calendar))]),i("v-uni-view",{staticClass:"button-left",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejected()}}}),i("v-uni-view",{staticClass:"button-right",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejected()}}}),i("v-uni-view",{staticClass:"info-main"},[i("v-uni-view",{staticClass:"info-box"},[i("y-box",[i("v-uni-view",{staticClass:"text-content"},[i("v-uni-view",{staticClass:"swiper-head"},[i("v-uni-view",{staticStyle:{width:"30%"}},[t._v("托盘码: "+t._s(t.infoText.barcode))]),i("v-uni-view",{staticStyle:{width:"20%"}},[t._v("工作号: "+t._s(t.infoText.workNo))]),i("v-uni-view",{staticStyle:{width:"30%"}},[t._v("源库位: "+t._s(t.infoText.sourceLocNo))]),i("v-uni-view",{staticStyle:{width:"20%"}},[t._v("目标站: "+t._s(t.infoText.staNo))])],1),i("v-uni-view",{staticClass:"swiper-body"},[i("v-uni-swiper",{staticClass:"swiper-body-main",attrs:{vertical:"true","display-multiple-items":"3",circular:"true",autoplay:!0,interval:3e3,duration:2e3}},t._l(t.swiperList,(function(n,e){return i("v-uni-swiper-item",{key:e,staticClass:"swiper-item"},[i("v-uni-view",{staticStyle:{width:"30%"}},[t._v(t._s(e+1)+" / "+t._s(t.swiperList.length))]),i("v-uni-view",{staticStyle:{width:"40%"}},[t._v("名称: "+t._s(n.maknx))]),i("v-uni-view",{staticStyle:{width:"30%"}},[t._v("客户: "+t._s(n.manu))]),i("v-uni-view",{staticStyle:{width:"30%"}},[t._v("出库: "+t._s(n.count)+" / 总数: "+t._s(n.total))]),i("v-uni-view",{staticStyle:{width:"40%"}},[t._v("规格: "+t._s(n.specs))]),i("v-uni-view",{staticStyle:{width:"30%"}},[t._v("备注: "+t._s(n.memo))])],1)})),1)],1)],1)],1)],1)],1)],1)],1),i("uni-transition",{attrs:{duration:t.duration,"mode-class":t.errorInfoMode,show:t.errorInfoViewShow}},[i("v-uni-view",{staticClass:"error-info-view"},[i("v-uni-view",{staticClass:"head"},[i("v-uni-text",[t._v(t._s(t.infoText.title))])],1),i("v-uni-view",{staticClass:"time-tools"},[t._v(t._s(t.calendar))]),i("v-uni-view",{staticClass:"button-left"}),i("v-uni-view",{staticClass:"button-right"}),i("v-uni-view",{staticClass:"info-main"},[i("v-uni-view",{staticClass:"info-box"},[i("y-box",[i("v-uni-view",{staticClass:"info-box-text"},[i("v-uni-view",{staticClass:"flex-col info-box-text-item"},[t._v(t._s(t.infoText.error))])],1)],1)],1)],1)],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.ejectShow,expression:"ejectShow"}],staticClass:"eject-mask"},[i("v-uni-view",{staticClass:"eject"},[i("v-uni-view",{staticClass:"eject-title"},[t._v("修改 / 配置")]),i("v-uni-scroll-view",{staticClass:"eject-input",attrs:{"scroll-y":!0}},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("ip:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseIP,callback:function(n){t.baseIP=n},expression:"baseIP"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("port:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.basePort,callback:function(n){t.basePort=n},expression:"basePort"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("ledId:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseLedId,callback:function(n){t.baseLedId=n},expression:"baseLedId"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("CrnId:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseCrnId,callback:function(n){t.baseCrnId=n},expression:"baseCrnId"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("Url:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseUrl,callback:function(n){t.baseUrl=n},expression:"baseUrl"}})],1)],1)],1),i("v-uni-view",{staticClass:"eject-button"},[i("v-uni-view",{staticClass:"button-item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejectClose.apply(void 0,arguments)}}},[t._v("取 消")]),i("v-uni-view",{staticClass:"button-item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejectConfirm.apply(void 0,arguments)}}},[t._v("确 认")])],1)],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.timeOut,expression:"timeOut"}],staticStyle:{color:"#FFF",position:"fixed",bottom:"10px",left:"10px"}},[t._v("连接超时: "+t._s(t.times)+" s")])],1)},a=[]},"907e":function(t,n,e){var i=e("e688");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=e("4f06").default;r("6acf5f8e",i,!0,{sourceMap:!1,shadowMode:!1})},"9df8":function(t,n,e){var i=e("bbbf");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var r=e("4f06").default;r("5a0018ba",i,!0,{sourceMap:!1,shadowMode:!1})},a278:function(t,n,e){"use strict";var i=e("9df8"),r=e.n(i);r.a},bbbf:function(t,n,e){var i=e("24fb"),r=e("1de5"),a=e("2617"),s=e("88ac");n=i(!1);var o=r(a),l=r(s);n.push([t.i,'\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/* @import url("../../static/css/common.css"); */.text-content[data-v-048fa192]{width:100%;height:100%;font-size:%?44?%\r\n\t/* background-color: aliceblue;\t */}.swiper-head[data-v-048fa192]{width:100%;height:10%;background-color:rgba(54,94,226,.5);display:flex;\r\n\t/* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */align-items:center}.swiper-body[data-v-048fa192]{width:100%;height:90%\r\n\t/* background-color: #aa0000; */}.swiper-body-main[data-v-048fa192]{width:100%;height:100%\r\n\t/* background-color: #00a8ff; */}.swiper-item[data-v-048fa192]{display:flex;flex-wrap:wrap;align-items:center;text-align:start;border-bottom:2px solid #000;background-color:rgba(0,0,0,.2)}.swiper-item[data-v-048fa192]:nth-child(2n-1){\r\n\t/* background-color: rgba(255, 255, 255, .1); */}\r\n/* 列 */.flex-col[data-v-048fa192]{display:flex;flex-direction:column}\r\n/* 行 */.flex-row[data-v-048fa192]{display:flex;flex-direction:row}.container[data-v-048fa192]{width:100vw;min-height:100vh;background-color:#00163e;color:#fff;text-align:center}\r\n/* 主视图 */.home-view[data-v-048fa192]{width:100vw;min-height:100vh;background-image:url('+o+");background-size:100vw 100vh}.home-right[data-v-048fa192]{width:50vw;height:89vh\r\n\t/* background-color: cadetblue; */}.home-right-box[data-v-048fa192]{width:98%;height:98%}.head[data-v-048fa192]{width:100vw;height:11vh;font-size:4vw;font-weight:700;display:flex;align-items:center;justify-content:center;-webkit-transform:scale(.7);transform:scale(.7)}.time-tools[data-v-048fa192]{position:absolute;right:2%;top:2%;font-size:1vw;-webkit-transform:scale(.8);transform:scale(.8)}.button-left[data-v-048fa192]{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:21.3%;width:13.5%;height:8.5%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.button-right[data-v-048fa192]{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:65%;width:13.5%;height:8.5%}.img-box[data-v-048fa192]{width:100%;\r\n\t/* background-color: #666666; */display:flex;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;font-size:1vw}.item-img[data-v-048fa192]{width:50%;margin-top:5%;display:flex;flex-direction:row;\r\n\t/* background-color: #00ffff; */justify-content:flex-start;align-items:flex-start}.item-img uni-image[data-v-048fa192]{height:5vw;width:5vw}.progressBar[data-v-048fa192]{margin-top:9%;\r\n\t/* width: 100%; */height:20%;background-color:#233751;border-radius:5vw}.progress[data-v-048fa192]{\r\n\t/* width: 90%; */height:100%;background-color:#ff5722;border-radius:5vw}.charts-box[data-v-048fa192]{width:80%;height:24vh;margin-left:10%}.charts-box-ring[data-v-048fa192]{width:50%;height:24vh\r\n\t/* background-color: #00ffff; */}.sub-info[data-v-048fa192]{font-size:1.5vw}.sub-info uni-image[data-v-048fa192]{width:3.5vw;height:3.5vw}\r\n/* 共用 */.main[data-v-048fa192]{width:100vw;height:88vh;margin-top:1vh;display:flex}.mian-item[data-v-048fa192]{width:50%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.mian-item-box[data-v-048fa192]{width:98%;height:98%}.box-item[data-v-048fa192]{width:100%;margin-top:4%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}.item-title[data-v-048fa192]{font-size:1.5vw;font-weight:700}.item-subTitle[data-v-048fa192]{font-size:.5vw;text-indent:0}.item-text[data-v-048fa192]{font-size:1vw;text-indent:2em;letter-spacing:1px;line-height:3vh}\r\n/* 全板/拣料信息 */.info-view[data-v-048fa192]{width:100vw;min-height:100vh;background-image:url("+o+");background-size:100vw 100vh}.info-main[data-v-048fa192]{width:100vw;height:88vh;display:flex;justify-content:center;align-items:center}.info-box[data-v-048fa192]{width:98%;height:98%}\r\n/* 异常信息 */.error-info-view[data-v-048fa192]{width:100vw;min-height:100vh;background-image:url("+o+");background-size:100vw 100vh}\r\n/* 弹出:配置区域 */.eject-mask[data-v-048fa192]{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:999;display:flex;align-items:center;justify-content:center}.eject[data-v-048fa192]{position:relative;width:40vw;height:40vh;background-color:#fff;border-radius:2rem}.eject-title[data-v-048fa192]{width:100%;height:5vh;line-height:6vh;font-size:3vh;font-weight:700;color:#606266;text-align:center}.eject-input[data-v-048fa192]{margin-top:2vh;height:25vh;\r\n\t/* background-color: #00163E; */::-webkit-scrollbar{display:none}}.item[data-v-048fa192]{display:flex;align-items:center;margin:1vh 0 0 0;font-size:1.5vw;color:#363636}.desc[data-v-048fa192]{display:inline-block;width:40%;text-align:right;color:#606266}.input[data-v-048fa192]{display:flex;align-items:center;padding-left:5px;padding-right:5px;width:100%;height:3vh;border:.1vh solid #cfd4dc;margin-right:20%;text-align:start}.eject-input uni-input[data-v-048fa192]{width:100%;height:3vh;font-size:1vw}.eject-button[data-v-048fa192]{display:flex;align-items:center;position:absolute;bottom:0;height:6vh;line-height:6vh;width:100%;border-top:1px solid #ccc}.button-item[data-v-048fa192]{width:50%;height:100%;font-size:1.5vw;font-weight:700;text-align:center;color:#909399}.button-item[data-v-048fa192]:last-child{color:#67c23a;border-left:1px solid #ccc}.info-box-text[data-v-048fa192]{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.info-box-text-item[data-v-048fa192]{height:20%;font-size:8vh;justify-content:center}",""]),t.exports=n},cbda:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("a9e3");var i={props:{title:{type:[String,Number],default:"标题"}},computed:{titleText:function(){return this.title}},data:function(){return{}}};n.default=i},d6ea:function(t,n,e){"use strict";var i=e("907e"),r=e.n(i);r.a},e688:function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,".box[data-v-71f2edbe]{width:calc(100% - .2vh);height:calc(100% - .2vh);position:relative;border:.1vh solid #145088;display:flex;justify-content:center}.box-main[data-v-71f2edbe]{width:96%;height:100%;\n\t/* background-color: #31c4c4; */display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.box-border[data-v-71f2edbe]{position:absolute;\n\t/* background-color: #4CD964; */width:1.5vh;height:1.5vh}.box-border1[data-v-71f2edbe]{top:0;left:0;border-left:.1vh solid #31c4c4;border-top:.1vh solid #31c4c4}.box-border2[data-v-71f2edbe]{top:0;right:0;border-right:.1vh solid #31c4c4;border-top:.1vh solid #31c4c4}.box-border3[data-v-71f2edbe]{bottom:0;left:0;border-bottom:.1vh solid #31c4c4;border-left:.1vh solid #31c4c4}.box-border4[data-v-71f2edbe]{bottom:0;right:0;border-right:.1vh solid #31c4c4;border-bottom:.1vh solid #31c4c4}",""]),t.exports=n},eabc:function(t,n,e){"use strict";e.r(n);var i=e("4e53"),r=e.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);n["default"]=r.a},f732:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){}));var i=function(){var t=this.$createElement,n=this._self._c||t;return n("v-uni-view",{staticClass:"box"},[n("v-uni-view",{staticClass:"box-border box-border1"}),n("v-uni-view",{staticClass:"box-border box-border2"}),n("v-uni-view",{staticClass:"box-border box-border3"}),n("v-uni-view",{staticClass:"box-border box-border4"}),n("v-uni-view",{staticClass:"box-main"},[this._t("default")],2)],1)},r=[]}}]); |
New file |
| | |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-test-test"],{"125c":function(t,a,n){var e=n("24fb");a=e(!1),a.push([t.i,".clear[data-v-43b25569]{position:fixed;top:0;left:0;z-index:9999;background:transparent;border:none}.clear[data-v-43b25569]:hover{background:#fff}",""]),t.exports=a},4714:function(t,a,n){var e=n("125c");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var r=n("4f06").default;r("0b24bcfe",e,!0,{sourceMap:!1,shadowMode:!1})},"47ad":function(t,a,n){"use strict";n("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e={data:function(){return{data:"",url:"http://10.10.10.120:9090/wcs/h5/index.html"}},onShow:function(){var t=this;uni.getStorage({key:"data",success:function(a){t.data=a.data}})},methods:{setUrl:function(){""!=this.url&&(uni.setStorage({key:"data",data:this.url}),this.data=this.url)},clearUrl:function(){this.data="",this.url="http://10.10.10.120:9090/wcs/h5/index.html",uni.removeStorage({key:"data"})}}};a.default=e},"52c7":function(t,a,n){"use strict";n.r(a);var e=n("f30a"),r=n("9264");for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(a,t,(function(){return r[t]}))}(i);n("717a");var u=n("f0c5"),o=Object(u["a"])(r["default"],e["b"],e["c"],!1,null,"43b25569",null,!1,e["a"],void 0);a["default"]=o.exports},"717a":function(t,a,n){"use strict";var e=n("4714"),r=n.n(e);r.a},9264:function(t,a,n){"use strict";n.r(a);var e=n("47ad"),r=n.n(e);for(var i in e)["default"].indexOf(i)<0&&function(t){n.d(a,t,(function(){return e[t]}))}(i);a["default"]=r.a},f30a:function(t,a,n){"use strict";n.d(a,"b",(function(){return e})),n.d(a,"c",(function(){return r})),n.d(a,"a",(function(){}));var e=function(){var t=this,a=t.$createElement,n=t._self._c||a;return n("v-uni-view",[n("v-uni-button",{staticClass:"clear",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.clearUrl.apply(void 0,arguments)}}},[t._v("Clear")]),""!=t.data?n("v-uni-web-view",{attrs:{src:t.data}}):t._e(),""==t.data?n("v-uni-view",{staticStyle:{"margin-top":"100px"}},[n("v-uni-input",{attrs:{type:"text",placeholder:"输入URL"},model:{value:t.url,callback:function(a){t.url=a},expression:"url"}}),n("v-uni-button",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.setUrl.apply(void 0,arguments)}}},[t._v("设置")])],1):t._e()],1)},r=[]}}]); |
| | |
| | | "id": "site-100", |
| | | "text": "100", |
| | | "top": 176, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "left": 1236, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-102", |
| | | "text": "102", |
| | | "top": 237, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "left": 1236, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-101", |
| | | "text": "101", |
| | | "top": 176, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "left": 1154, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | |
| | | "text": "112", |
| | | "top": 176, |
| | | "left": 1072, |
| | | "width": 65, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-105", |
| | | "text": "105", |
| | | "top": 284, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "left": 1154, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-103", |
| | | "text": "103", |
| | | "top": 237, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "left": 1154, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | |
| | | "id": "site-104", |
| | | "text": "104", |
| | | "top": 284, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "left": 1236, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | |
| | | "id": "site-200", |
| | | "text": "200", |
| | | "top": 176, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "left": 1236, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-202", |
| | | "text": "202", |
| | | "top": 237, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "left": 1236, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-201", |
| | | "text": "201", |
| | | "top": 176, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "left": 1154, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | |
| | | "text": "212", |
| | | "top": 176, |
| | | "left": 1072, |
| | | "width": 65, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-205", |
| | | "text": "205", |
| | | "top": 284, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "left": 1154, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-203", |
| | | "text": "203", |
| | | "top": 237, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "left": 1154, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | |
| | | "id": "site-204", |
| | | "text": "204", |
| | | "top": 284, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "left": 1236, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | |
| | | "id": "site-300", |
| | | "text": "300", |
| | | "top": 176, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "left": 1236, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-302", |
| | | "text": "302", |
| | | "top": 237, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "left": 1236, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-301", |
| | | "text": "301", |
| | | "top": 176, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "left": 1154, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | |
| | | "text": "312", |
| | | "top": 176, |
| | | "left": 1072, |
| | | "width": 65, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-305", |
| | | "text": "305", |
| | | "top": 284, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "left": 1154, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | | "id": "site-303", |
| | | "text": "303", |
| | | "top": 237, |
| | | "left": 1138, |
| | | "width": 65, |
| | | "left": 1154, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |
| | |
| | | "id": "site-304", |
| | | "text": "304", |
| | | "top": 284, |
| | | "left": 1204, |
| | | "width": 65, |
| | | "left": 1236, |
| | | "width": 80, |
| | | "height": 23 |
| | | }, { |
| | | "type": "stn", |