Example #1
0
  public void shwoImg(byte[] wbytes, byte[] dbytes) {
    ImageViewer watcherImg = new ImageViewer(shell, getStyle());
    ImageViewer doorImg = new ImageViewer(shell, getStyle());

    watcherImg.shwoImageByBytes("Ѻ½â¾¯²ìÇ©Ãû£º", wbytes, 600, 500);
    doorImg.shwoImageByBytes("¼àÞ¯²ìÇ©Ãû£º", dbytes, 600, 500);
    shell.layout();
  }
Example #2
0
  public void shwoImg(byte[] wbytes, byte[] dbytes, byte[] odbytes, byte[] owbytes) {
    ImageViewer watcherImg = new ImageViewer(shell, getStyle());
    ImageViewer doorImg = new ImageViewer(shell, getStyle());
    ImageViewer out_watcherImg = new ImageViewer(shell, getStyle());
    ImageViewer out_doorImg = new ImageViewer(shell, getStyle());

    watcherImg.shwoImageByBytes("´øÁ쾯²ìÇ©Ãû£¨½ø£©£º", wbytes, 600, 500);
    doorImg.shwoImageByBytes("¼àÞ¯²ìÇ©Ãû£¨½ø£©£º", dbytes, 600, 500);
    out_watcherImg.shwoImageByBytes("´øÁ쾯²ìÇ©Ãû£¨³ö£©£º", owbytes, 600, 500);
    out_doorImg.shwoImageByBytes("¼àÞ¯²ìÇ©Ãû£¨³ö£©£º", odbytes, 600, 500);
    shell.layout();
  }