Examples of MeasureType


Examples of net.opengis.fes20.MeasureType

     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @generated
     */
    public NotificationChain basicSetDistance(MeasureType newDistance, NotificationChain msgs) {
        MeasureType oldDistance = distance;
        distance = newDistance;
        if (eNotificationRequired()) {
            ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Fes20Package.DISTANCE_BUFFER_TYPE__DISTANCE, oldDistance, newDistance);
            if (msgs == null) msgs = notification; else msgs.add(notification);
        }
View Full Code Here

Examples of org.openhab.binding.withings.internal.model.MeasureType

  private void updateItemState(String itemName,
      WithingsBindingConfig withingsBindingConfig,
      List<MeasureGroup> measures) {

    MeasureType measureType = withingsBindingConfig.measureType;

    Float lastMeasureValue = findLastMeasureValue(measures, measureType);

    if (lastMeasureValue != null) {
      eventPublisher.postUpdate(itemName, new DecimalType(
View Full Code Here

Examples of org.openhab.binding.withings.internal.model.MeasureType

  @Override
  public void processBindingConfiguration(String context, Item item,
      String bindingConfig) throws BindingConfigParseException {
    super.processBindingConfiguration(context, item, bindingConfig);

    MeasureType measureType = MeasureType.valueOf(bindingConfig
        .toUpperCase());

    if (measureType == null) {
      throw new BindingConfigParseException("Could not convert string '"
          + bindingConfig + "' to according measure type.");
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.