Пример #1
0
  @Override
  public void refreshObject() {
    // here we need to read from the bus, only if the read flag is set at the data point
    if (this.value().isReadable()) {
      int value = connector.readInt(groupAddress, DPTXlator8BitUnsigned.DPT_SCALING.getID());
      this.value().set(value);
      this.value().setNull(false);
    }

    // run refresh from super class
    super.refreshObject();
  }