Examples of VariableInformation


Examples of org.openhab.binding.nibeheatpump.protocol.NibeHeatPumpDataParser.VariableInformation

            while (keys.hasMoreElements()) {

              int key = keys.nextElement();
              double value = regValues.get(key);

              VariableInformation variableInfo = NibeHeatPumpDataParser.VARIABLE_INFO_F1145_F1245
                  .get(key);

              if (variableInfo == null) {
                logger.debug("Unknown variable {}", key);
              } else {
View Full Code Here

Examples of org.pshdl.interpreter.VariableInformation

    } else {
      this.report = new ConsoleReporter();
    }
    final VariableInformation[] variables = em.variables;
    for (int i = 0; i < variables.length; i++) {
      final VariableInformation v = variables[i];
      varIdx.put(v.name, i);
      if (!"#null".equals(v.name)) {
        varListA.add(getIndexOf(a, v));
        varListB.add(getIndexOf(b, v));
      } else {
View Full Code Here

Examples of org.pshdl.interpreter.VariableInformation

  public void checkAllVarsLong() {
    final VariableInformation[] variables = em.variables;
    boolean hasDiff = false;
    for (int i = 0; i < variables.length; i++) {
      final VariableInformation v = variables[i];
      if (!"#null".equals(v.name)) {
        if (v.dimensions.length == 0) {
          final long aVal = a.getOutputLong(varListA.get(i));
          final long bVal = b.getOutputLong(varListB.get(i));
          if (aVal != bVal) {
View Full Code Here

Examples of org.pshdl.interpreter.VariableInformation

      writeStringArray(ModelTypes.annotations, model.annotations);
    }
    final Map<String, Integer> varIdx = new LinkedHashMap<>();
    final VariableInformation[] variables = model.variables;
    for (int i = 0; i < variables.length; i++) {
      final VariableInformation vi = variables[i];
      varIdx.put(vi.name, i);
      writeVariable(vi);
    }
    for (final InternalInformation ii : model.internals) {
      writeInternal(ii, varIdx.get(ii.info.name));
View Full Code Here

Examples of org.pshdl.interpreter.VariableInformation

        annotations = ex.readStringArray();
        break;
      }
      ex.close();
    }
    final VariableInformation res = new VariableInformation(dir, name, width, type, isRegister, isClock, isReset, annotations, dimensions);
    return res;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.