Jazz Soft 您要聯絡嗎?   JazzSoft@live.com     繁體字漢語   英語  日語  繁體字漢語  簡體字漢語
提供半導體工廠自動化與生産效率改善法 
Skip Navigation Links首頁 > 產品一覽 > Swing > Swing SECS II 詳細資料 > Properties > Value

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

Swing SECS II 詳細資料   

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

您要聯絡嗎?   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.