示例#1
0
  private BitpoolStation makeStationObj(BitPoolServerModelBitStationEntity station, Node child) {
    child.setAttribute("Pool key", new Value(station.getPoolKey()));
    child.setAttribute("Station id", new Value(station.getStationID()));
    child.setAttribute(
        "Registration date", new Value(conn.link.safeToString(station.getRegistrationDate())));

    return new BitpoolStation(getMe(), child);
  }