b.append("ds[").append(ds.getDsName()).append("].last_ds = ").append(ds.getLastValue()).append("\n");
b.append("ds[").append(ds.getDsName()).append("].value = ").append(ds.getAccumValue()).append("\n");
b.append("ds[").append(ds.getDsName()).append("].unknown_sec = ").append(ds.getNanSeconds()).append("\n");
}
for (int i = 0; i < rrd.getArcCount(); i++) {
Archive arc = rrd.getArchive(i);
b.append("rra[").append(i).append("].cf = \"").append(arc.getConsolFun()).append("\"\n");
b.append("rra[").append(i).append("].rows = ").append(arc.getRows()).append("\n");
b.append("rra[").append(i).append("].pdp_per_row = ").append(arc.getSteps()).append("\n");
b.append("rra[").append(i).append("].xff = ").append(arc.getXff()).append("\n");
for (int j = 0; j < rrd.getDsCount(); j++) {
b.append("rra[").append(i).append("].cdp_prep[").append(j).append("].value = ").
append(arc.getArcState(j).getAccumValue()).append("\n");
b.append("rra[").append(i).append("].cdp_prep[").append(j).append("].unknown_datapoints = ").
append(arc.getArcState(j).getNanSteps()).append("\n");
}
}
return b.toString();
}