Container for a combination of an error code and a value which is a result for a read operation to a single setting.
More...
#include <DiagnosticInfo.hpp>
|
| DiagnosticInfo (void) |
| Constructs an DiagnosticInfo instance.
|
|
| DiagnosticInfo (uint16 arUserId, uint16 diagCode) |
| Constructs an DiagnosticInfo 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 specific identifier of this AR
|
|
uint16 | DiagCode = 0 |
| Special status of this AR, bitwise coded. More...
|
|
Container for a combination of an error code and a value which is a result for a read operation to a single setting.
A sequence of instances of this structure is used as result by Arp.Io.ProfinetStack.Controller.Services.IArDataService.GetArDiagnosis.
◆ Deserialize() [1/2]
void Arp::Io::ProfinetStack::Controller::Services::DiagnosticInfo::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::DiagnosticInfo::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::DiagnosticInfo::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::DiagnosticInfo::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::DiagnosticInfo::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 |
◆ DiagCode
uint16 Arp::Io::ProfinetStack::Controller::Services::DiagnosticInfo::DiagCode = 0 |
Special status of this AR, bitwise coded.
- Bit 0: set if not connected
- Bit 1: set if data invalid
- Bit 2: set if diagnosis is available
- Bit 3: set if module difference is available in case of configuration difference
- Bit 4: set if AR is deactivated
- Bit 5: set if neighborhood information is not available
- Bit 6: neighborhood information not unique
- Bit 7 - Identify.cnf on alias received, but name of the device is already configured in another AR
- Bit 8: Maintenance Required Information is available
- Bit 9: Maintenance Demanded Information is available
- Bit 10: Channel or Manufacturer Specific Diagnosis Information are available
- Bit 11..15: reserved (shall be 0)
The documentation for this class was generated from the following files:
- Arp/Io/ProfinetStack/Controller/Services/DiagnosticInfo.hpp
- Arp/Io/ProfinetStack/Controller/Services/DiagnosticInfo.cpp