CanEasy COM-Help
CanEasy::IServiceParamCol Interface Reference
Inheritance diagram for CanEasy::IServiceParamCol:
CanEasy::IDataEntryColBase CanEasy::ICol

Detailed Description

Collection of service parameter

interface IServiceParamCol : IDataEntryColBase
{
HRESULT AddStaticParam([in] BSTR sName, [in] long lStartBits, [in] long lBitCount, [in] enum ByteOrder enByteOrder, [out, retval] IStaticServiceParam**);
HRESULT AddDynamicParam([in] BSTR sName, [in] long lStartByte, [in] long lByteCount, [in] enum ByteOrder enByteOrder, [out, retval] IDynamicServiceParam**);
};

Definition at line 9428 of file cand_tlb.idl.

Member Function Documentation

◆ AddDynamicParam()

HRESULT CanEasy::IServiceParamCol::AddDynamicParam ( [in] BSTR  sName,
[in] long  lStartByte,
[in] long  lByteCount,
[in] enum ByteOrder  enByteOrder,
[out, retval] IDynamicServiceParam **   
)

Adds a new dynamic (byte aligned) parameter

Parameters
sNameName of the parameter
lStartByteStart byte of the new item
lByteCountByte length of the new item
enByteOrderByte order of the new item
Returns
New created parameter

◆ AddStaticParam()

HRESULT CanEasy::IServiceParamCol::AddStaticParam ( [in] BSTR  sName,
[in] long  lStartBits,
[in] long  lBitCount,
[in] enum ByteOrder  enByteOrder,
[out, retval] IStaticServiceParam **   
)

Adds a new static (bit mask) parameter

Parameters
sNameName of the parameter
lStartBitsStartbit of the new item
lBitCountBit length of the new item
enByteOrderByte order of the new item
Returns
New created parameter
CanEasy::ByteOrder
ByteOrder
The ByteOrder enumeration defines the byte order of a signal.
Definition: cand_tlb.idl:246
CanEasy::IServiceParamCol::AddStaticParam
HRESULT AddStaticParam([in] BSTR sName, [in] long lStartBits, [in] long lBitCount, [in] enum ByteOrder enByteOrder, [out, retval] IStaticServiceParam **)
CanEasy::IServiceParamCol::AddDynamicParam
HRESULT AddDynamicParam([in] BSTR sName, [in] long lStartByte, [in] long lByteCount, [in] enum ByteOrder enByteOrder, [out, retval] IDynamicServiceParam **)