PLCnext API Documentation 25.0.2.69
StandardDiagnosisInformation.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/JRsc/Commons/JRsc.hpp"
10#include "Arp/Base/Rsc/Commons/RscSerializable.hpp"
11#include "Arp/Io/ProfinetStack/Controller/Services/ChannelQualifier.hpp"
12
13// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
14
16{
17
18using namespace Arp;
19using namespace Arp::Base::Rsc::Commons;
20using namespace Arp::Base::Rsc::Commons::Services;
21using namespace Arp::Base::JRsc::Commons;
22
27{
28public: // construction/destruction
30 StandardDiagnosisInformation(ChannelQualifier severity, uint16 channelErrorType, uint16 extChannelErrorType, uint32 extChannelAddValue);
31
32public: // Properties
37
41 uint16 ChannelErrorType = 0;
42
47 uint16 ExtChannelErrorType = 0;
48
53 uint32 ExtChannelAddValue = 0;
54
55public: // Rsc operations
56 void Serialize(RscWriter& writer)const;
57 void Deserialize(RscReader& reader);
58 void Serialize(JRscWriter& writer)const;
59 void Deserialize(JRscReader& reader);
60 static size_t GetFieldCount(void);
61};
62
63} // end of namespace Arp::Io::ProfinetStack::Controller::Services
Any custom struct type which is intended to be marshalled in a Rsc serialization context,...
Definition: RscSerializable.hpp:35
Reads marshaled data of RSC services.
Definition: RscReader.hpp:34
Writes marshalled data of RSC services.
Definition: RscWriter.hpp:34
Contains diagnosis information in standard format.
Definition: StandardDiagnosisInformation.hpp:27
StandardDiagnosisInformation(void)
Constructs an StandardDiagnosisInformation instance.
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:33
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:29
Namespace for the JSON RSC extension
Namespace for Profinet I/O controller services
ChannelQualifier
Describes diagnosis severity.
Definition: ChannelQualifier.hpp:19
enum ARP_CXX_SYMBOL_EXPORT Severity
Enumeration of Severities for notifications
Definition: Severity.hpp:14
Root namespace for the PLCnext API