Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

More Information about underlying ​.NET controls of the AlarmApp and the HistoricalTrendApp

More Information about underlying ​.NET controls of the AlarmApp and the HistoricalTrendApp

  • Last UpdatedDec 01, 2025
  • 1 minute read

The AlarmApp and HistoricalTrendApp are OMI apps that provide a wrapper around .NET controls to expose various properties Other properties that are not directly expose through the OMI app can still be scripted, however, there are some restrictions when using .NET controls in an OMI ViewApp script.

  • The System Platform IDE only exposes public properties, methods, and events of a .Net Control. All public properties and methods can be used in named and predefined scripts. All public events can be used for event scripts.

    .NET methods, properties, and events set to Private scope are not available to configure and use in a ViewApp. Also, .NET properties with the Browsable attribute set to false cannot be viewed or used.

  • The following table lists .NET control primitive data types that can be used in ViewApp scripts.

    .NET Primitive Data Type

    .NET Type

    Description

    Boolean

    System.Boolean

    Logical true or false

    Byte

    System.byte

    8-bit unsigned integer

    SByte

    System.Sbyte

    8-bit signed integer

    Int16

    System.Int16

    16-bit signed integer

    UInt16

    System.UInt16

    16-bit unsigned integer

    Int32

    System.Int32

    32-bit signed integer

    UInt32

    System.UInt32

    32-bit unsigned integer

    Int64

    System.Int64

    64-bit signed integer

    UInt64

    System.UInt64

    64-bit unsigned integer

    Char

    System.char

    Single 16-bit Unicode character

    Double

    System.Double

    64-bit single-precision floating point

    Single

    System.Single

    32-bit single-precision floating point

The pointer primitive data types (IntPtr and UIntPtr) cannot be shown or configured from the Layout or ViewApp editors Properties grids. However,both data types can be used in ViewApp scripts.

Related Links
TitleResults for “How to create a CRG?”Also Available in