Beispiel #1
0
  @Override
  public void deCodeSkyData(SkyData data) {
    setDlanName(data.getString("dlanName"));
    setDlanItemId(data.getString("dlanId"));
    //        setIsEncrypt(data.getInt("isEncrypt"));
    int i = data.getInt("childcount");
    for (int j = 0; j < i; j++) {
      SkyData childdata = data.getSkyData("child" + j);
      UIData childuidata = UIDataFactory.getUIData(childdata);
      list.add((DlanPushData) childuidata);
    }

    this.setCmd(
        data.getString("cmd"),
        data.getString("cmdparams"),
        SkyModuleDefs.SKY_SERVICE.valueOf(data.getString("cmdservice")));
    this.setErrLog(data.getString("errorlog"));
  }