1 /*******************************************************************************
2 * Copyright (c) 2007, 2011 Association for Decentralized Information Management in
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * VTT Technical Research Centre of Finland - initial API and implementation
11 *******************************************************************************/
12 package org.simantics.modeling.preferences;
14 public class SubscriptionPreferences {
16 public static final String P_NODE = "org.simantics.modeling";
19 public static final String P_SUBSCRIPTION_DEADBAND = "subscriptionitem.deadband"; //$NON-NLS-1$
20 public static final String P_SUBSCRIPTION_INTERVAL = "subscriptionitem.interval"; //$NON-NLS-1$
22 public static final String P_SUBSCRIPTION_DEFAULT = "subscriptionitem.subscription"; //$NON-NLS-1$
23 public static final String P_SUBSCRIPTION_GAIN = "subscriptionitem.gain"; //$NON-NLS-1$
24 public static final String P_SUBSCRIPTION_BIAS = "subscriptionitem.bias"; //$NON-NLS-1$
25 public static final String P_SUBSCRIPTION_UNIT = "subscriptionitem.unit"; //$NON-NLS-1$
27 public static final double DEFAULT_SUBSCRIPTION_INTERVAL = 0.0;
28 public static final double DEFAULT_SUBSCRIPTION_DEADBAND = 0.;
29 public static final double DEFAULT_SUBSCRIPTION_BIAS = 0.0;
30 public static final double DEFAULT_SUBSCRIPTION_GAIN = 1.0;