Ejemplo n.º 1
0
 @Override
 public void deCodeSkyData(SkyData data) {
   Log.v("heni", "NoSignalData deCodeSkyData.");
   this.curSource = data.getString("source");
   this.isNosignal = data.getBoolean("isNosignal");
   this.setCmd(
       data.getString("cmd"),
       data.getString("cmdparams"),
       SkyModuleDefs.SKY_SERVICE.valueOf(data.getString("cmdservice")));
 }
Ejemplo n.º 2
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"));
  }