Jazz Soft お問い合わせ   JazzSoft@live.com     日本語   英語  日本語  中国語(繁体字)  中国語(簡体字)
工場自動化と歩留り管理ソリューション 
Skip Navigation Linksホーム > 製品一覧 > Swing > Swing SECS II リファレンス > プロパティ > Value

Dorian.Core が追加されました。Dorian は .NET 6 と 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.

構文

Visual Basic



Visual C++


戻り値

使用例

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";

特記事項

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.

参照

お問い合わせ   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.