valueobject_qualities

The following is a list of qualities that may be returned or set on a ValueObject

/** Impossible quality caused by a connector loop (connector will be disabled) */
  static public final int QUALITY_IMPOSSIBLE =  -1;
      /** The best data quality. */
  static public final int QUALITY_GOOD =  0;
  static public final int QUALITY_PROPERTYONLY =  300;//used in PropetyValueObject
  static public final int QUALITY_WARNING =  1000; //used only in ActiveBeanDelegate
  static public final int QUALITY_EGU_EXCEEDED =  1002;//used in OPC
  /** This is used when an active control has not "settled" on a value */
  static public final int QUALITY_TRANSITIONAL =  1003; //used in Slider and Knob
  /** When writing to some servers (notably PLCs) the value will be returned with this quality.  It is
   * an indicator that the value has been received by the server, but confirmation that it has been correctly
   * (or incorrectly) written to the real device has not been received.  The situation should resolve somewhat
   * rapidly moving to another quality (eg GOOD).
   */
  static public final int QUALITY_WRITE_IN_PROGRESS =  1004;//used in init of ActiveBeanDelegate
  /** This is a quality that is between good and bad, but still defined as unknown. */
  static public final int QUALITY_UNKNOWN =  1500; //used nowhere
  /** This value is sent as the server is removing a listener. */
  static public final int QUALITY_LAST_USABLE =  1600; //used in PLC and OPC and SimpleDataSource
  /** This is used for any control or data source that has a problem,
  * or when a server just starts up and the data value has not yet been initialized.
  */
  static public final int QUALITY_BAD =  2000;
  static public final int QUALITY_DEVICE_FAILURE =  2001;//used in Modbus and OPC
  /** This may be used for servers that connect to devices and the connection is lost. */
  static public final int QUALITY_COMM_FAILURE =  2002;//used in Modbus and OPC
  static public final int QUALITY_OUT_OF_SERVICE =  2003;//used in OPC
  static public final int QUALITY_EVALUATION_EXPIRED =  2004;//used when an evaluation is finished
  static public final int QUALITY_REMOTE_PROXY_INIT =  2100;//used in Trending
  /** The worst (highest number) quality. This is used for testing mainly,
  * or can be used to ensure all qualities are passed.
  */
  static public final int QUALITY_WORST =  99999;
  /** Widely used.  This is the quality assigned to the value associated with any graphic when the value object/graphic
   * is first created.  A value with quality QUALITY_INITIAL will never be passed through a connector.
   */
  static public final int QUALITY_INITIAL =  2200;
  /** When a Connector is removed from a graphic, or some fundamental change occurs that causes the existing
   * value to be invalid then the quality is changed to SOURCE_REMOVED.
   */
  static public final int QUALITY_SOURCE_REMOVED =  2210;
 
  /** Indicate the that data is not real data, but simulated. */
  public static final int QUALITY_SIMULATED = 1010;
 
  • valueobject_qualities.txt
  • Last modified: 2020/05/14 18:43
  • by wikiadmin