Jazz Soft Contact us?   JazzSoft@live.com     English   English  Japanese  Chinese (Traditional)  Chinese (Simlified)
Factory Automation & Yield Management Solution Provider 
Skip Navigation LinksHome > Products > Swing > Swing SECS II Reference > Properties > Value

Dorian.Core is added. Dorian now supports .NET 6 and 7.

Swing SECS II Reference   

Properties
Appearance
Array
BlockNumber
BorderStyle
DeviceID
EBit
Function
List
Msg
Pointer
PType
RBit
SessionID
Show
SourceID
Stream
SType
SystemBytes
TransactionID
Type
Value
ValueHex
WBit

Methods
Add
Init
Reply

Events

Value Property

Node value in decimal.

Syntax

Visual Basic



Visual C++


Return Value

Example

Visual Basic

If Cint(.Value) = 201 Then
  Text1.Text = "CEID is 201"
End If


Visual C++

if(::atoi(m_msg.GetValue())==201)
  m_text1 = "CEID is 201";

Remarks

If node is array, the result is separated by space code.

Visual Basic


.List = "{<u2 10 20 30 40>}"
Dim strResult As String
.Pointer = "1"
strResult = .Value   ' "10 20 30 40" is returned


Visual C++


m_msg.SetList("{<u2 10 20 30 40>}");
m_msg.SetPointer("1");
CString strBuf=m_msg.GetValue();   // "10 20 30 40" is returned

If you want to extract one of array, use bracket. Index of array begins with 0.

Visual Basic


.List = "{<u2 10 20 30 40>}"
Dim strResult As String
.Pointer = "1[2]"
strResult = .Value   ' "30" is returned


Visual C++


m_msg.SetList("{<u2 10 20 30 40>}");
m_msg.SetPointer("1[2]");
CString strBuf=m_msg.GetValue();   // "30" is returned

This property is read only. User can not set value.

See Also

Contact us?   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.