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.