PLCnext API Documentation 25.0.2.69
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Arp::Io::Interbus::Services::DeviceConfiguration Class Reference

Contains parameter of an Interbus module for ReadConfiguration() and WriteConfiguration() of the Interbus. More...

#include <DeviceConfiguration.hpp>

Inheritance diagram for Arp::Io::Interbus::Services::DeviceConfiguration:
Inheritance graph

Public Member Functions

 DeviceConfiguration (void)
 Constructs an DeviceConfiguration instance.
 
 DeviceConfiguration (uint16 deviceNumber, uint16 deviceCode, uint16 deviceLevel, uint16 groupNumber)
 Constructs an DeviceConfiguration instance.
 
void Serialize (RscWriter &writer) const
 Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter. More...
 
void Deserialize (RscReader &reader)
 Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader. More...
 
- Public Member Functions inherited from Arp::Base::Rsc::Commons::RscSerializable
 RscSerializable (void)=default
 The default constructor.
 

Static Public Member Functions

static size_t GetFieldCount (void)
 Returns the count of fields More...
 

Public Attributes

uint16 DeviceNumber = 0
 Device number: High Byte: BusSegmentNo, Low Byte: Position. For direct conneted local bus: BusSegmentNo 0, Position wtih left to right order, starting with 1.
 
uint16 DeviceCode = 0
 Device code: High Byte: Length Code, Low Byte: ID Code, see device documentation.
 
uint16 DeviceLevel = 0
 Device level: Level between 0 and 15, for direct conneted local bus 0.
 
uint16 GroupNumber = 0
 Group number: High Byte: Group, Low Byte: Alternative Only need for Control_Active_Configuration, default 0xFFFF.
 

Detailed Description

Contains parameter of an Interbus module for ReadConfiguration() and WriteConfiguration() of the Interbus.

Member Function Documentation

◆ Deserialize()

void Arp::Io::Interbus::Services::DeviceConfiguration::Deserialize ( RscReader reader)

Deserializes the datatype. All fields of the datatype have to be deserialized in use of RscReader.

Parameters
readerReference to RscReader.

◆ GetFieldCount()

size_t Arp::Io::Interbus::Services::DeviceConfiguration::GetFieldCount ( void  )
static

Returns the count of fields

Returns
Count of fields.

The field count is used for serialization via Rsc

◆ Serialize()

void Arp::Io::Interbus::Services::DeviceConfiguration::Serialize ( RscWriter writer) const

Serializes the datatype. All fields of the datatype have to be serialized in use of RscWriter.

Parameters
writerReference to RscWriter

The documentation for this class was generated from the following files: