basicvalueobjectsarticle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
basicvalueobjectsarticle [2021/10/11 18:57]
wikiadmin [Array Types]
basicvalueobjectsarticle [2021/10/13 13:05] (current)
wikiadmin [Other Types]
Line 1: Line 1:
 =====Value Objects===== =====Value Objects=====
  
-ValueObjects (Value Objects) are the basic containers of data in MIStudio/MIX and TransSECS applications. Value objects are transferred between servers, manipulators, and graphics in MIStudio through Connections (wired or managed). Value Objects will appear in TransSECS when you configure the Data Items you use for SECS/GEM messages. Value Objects are automatically created by all Data Sources when a new data value is generated. A Value Object contains, at the very minimum these properties: the Data "value", a Quality , a Timestamp , and a Color.+ValueObjects (Value Objects) are the basic containers of data in MIStudio/MIX and TransSECS applications. Value objects are transferred between servers, manipulators, and graphics in MIStudio through Connections (wired or managed). Value Objects will appear in TransSECS when you configure the Data Items you use for SECS/GEM messages. Value Objects are automatically created by all Data Sources when a new data value is generated. A Value Object contains, at the very minimum these properties: the Data "value", a Quality, a Timestamp, and a Color.
  
 In scripts these ValueObjects are generally accessed as the incomingValue and the values you get or send to data sources in the project. More information on using ValueObjects in scripts can be found here: In scripts these ValueObjects are generally accessed as the incomingValue and the values you get or send to data sources in the project. More information on using ValueObjects in scripts can be found here:
  
 [[incomingvalue_and_server_values|Incoming Values and Server Values in Scripts]] [[incomingvalue_and_server_values|Incoming Values and Server Values in Scripts]]
 +
 +====Value Object Properties====
  
 ===The Value=== ===The Value===
Line 35: Line 37:
 =====Value Object Types==== =====Value Object Types====
  
-=== Integer Types === 
  
-Integer type value objects are numericcan be store Boolean,Short,Int, and Long.+=== Long Value Object (LongValueObject) === 
 +The LongValueObject can be created from any integer-type value, including boolean,byteshort, integer, and long.
  
-=== Real Types ===+[[longvalueobjects|Long Value Objects]]
  
-Real type Value Objects are Float and Double numeric values.+===  Real Types ===
  
-=== String Type ===+Real type Value Objects are [[doublevalueobject|Double Value Objects]]. These can store any size floating point numbers. 
 + 
 + 
 + 
 + 
 + 
 +=== String Value Object ===
  
 A StringValueObject contains a String value. Only Strings are stored, so in scripting only getStringValue() can be used to access its value. If you use setXXXXValue() on a StringValueObject you will be converting a numeric data type to a String (and will normally store two decimal places for a real number unless you first convert the real to a string with more decimal places). A StringValueObject contains a String value. Only Strings are stored, so in scripting only getStringValue() can be used to access its value. If you use setXXXXValue() on a StringValueObject you will be converting a numeric data type to a String (and will normally store two decimal places for a real number unless you first convert the real to a string with more decimal places).
 +
 +[[stringvalueobjects|String Value Object]]
  
 === Array Types === === Array Types ===
Line 55: Line 65:
 [[TwoDValueObjects|Two Dimensional Value Objects]] [[TwoDValueObjects|Two Dimensional Value Objects]]
  
-=== Other Types ===+==== Other Types ===
 + 
 +[[daterangevalueobject|Date Range Value Object]] is a ValueObject which contains a date range (two dates, a start date and an end date). 
 + 
 +[[binaryvalueobjects|Binary Value Object]] is a ValueObject which contains a byte array (byte[]) 
 + 
 + 
  • basicvalueobjectsarticle.1633996663.txt.gz
  • Last modified: 2021/10/11 18:57
  • by wikiadmin