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

Contains the information where a diagnosis is located on the device according to "Guideline for PROFINET - Diagnosis for PROFINET" More...

#include <DiagnosisSource.hpp>

Inheritance diagram for Arp::Io::ProfinetStack::Controller::Services::DiagnosisSource:
Inheritance graph

Public Member Functions

 DiagnosisSource (void)
 Constructs an DiagnosisSource instance.
 
 DiagnosisSource (uint16 aRUserID, uint32 nodeID, uint32 aPI, uint16 slot, uint16 subslot, uint16 channelNumber, boolean accumulative, DiagnosisDirection direction)
 Constructs an DiagnosisSource 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...
 
void Serialize (JRscWriter &writer) const
 Serializes the datatype. All fields of the datatype have to be serialized in use of JRscWriter. More...
 
void Deserialize (JRscReader &reader)
 Deserializes the datatype. All fields of the datatype have to be deserialized in use of JRscReader. 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 ARUserID = 0
 User ID of the application relation
 
uint32 NodeID = 0
 NodeID of the diagnosis source
 
uint32 API = 0
 Application Process Identifier of the diagnosis source
 
uint16 Slot = 0
 Slot numer of the diagnosis source
 
uint16 Subslot = 0
 Subslot number of the diagnosis source
 
uint16 ChannelNumber = 0
 Channel Number of the diagnosis source. If set to 0x8000 the channel number adresses the whole submodule.
 
boolean Accumulative = false
 If set to true the diagnosis source addresses a channel group.
 
DiagnosisDirection Direction = static_cast<DiagnosisDirection>(0)
 Direction of the channel of the diagnosis source.
 

Detailed Description

Contains the information where a diagnosis is located on the device according to "Guideline for PROFINET - Diagnosis for PROFINET"

Member Function Documentation

◆ Deserialize() [1/2]

void Arp::Io::ProfinetStack::Controller::Services::DiagnosisSource::Deserialize ( JRscReader &  reader)

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

Parameters
readerReference to RscReader.

◆ Deserialize() [2/2]

void Arp::Io::ProfinetStack::Controller::Services::DiagnosisSource::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::ProfinetStack::Controller::Services::DiagnosisSource::GetFieldCount ( void  )
static

Returns the count of fields

Returns
Count of fields.

The field count is used for serialization via Rsc

◆ Serialize() [1/2]

void Arp::Io::ProfinetStack::Controller::Services::DiagnosisSource::Serialize ( JRscWriter &  writer) const

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

Parameters
writerReference to RscWriter

◆ Serialize() [2/2]

void Arp::Io::ProfinetStack::Controller::Services::DiagnosisSource::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: