Contains the information where a diagnosis is located on the device according to "Guideline for PROFINET - Diagnosis for PROFINET"
More...
#include <DiagnosisSource.hpp>
|
| 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...
|
|
| RscSerializable (void)=default |
| The default constructor.
|
|
|
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.
|
|
Contains the information where a diagnosis is located on the device according to "Guideline for PROFINET - Diagnosis for PROFINET"
◆ 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
-
reader | Reference 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
-
reader | Reference 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
-
writer | Reference 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
-
writer | Reference to RscWriter |
The documentation for this class was generated from the following files:
- Arp/Io/ProfinetStack/Controller/Services/DiagnosisSource.hpp
- Arp/Io/ProfinetStack/Controller/Services/DiagnosisSource.cpp