PLCnext API Documentation 25.9.0.13
PnioStatus.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
12// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
13
15{
16
17using namespace Arp;
18using namespace Arp::Base::Rsc::Commons;
19using namespace Arp::Base::Rsc::Commons::Services;
20using namespace Arp::Base::JRsc::Commons;
21
25class ARP_EXPORT PnioStatus : public RscSerializable
26{
27public: // construction/destruction
29 PnioStatus(uint8 errorCode, uint8 errorDecode, uint8 errorCode1, uint8 errorCode2);
30
31public: // Properties
36
40 uint8 ErrorDecode = 0;
41
45 uint8 ErrorCode1 = 0;
46
50 uint8 ErrorCode2 = 0;
51
52public: // Rsc operations
53 void Serialize(RscWriter& writer)const;
54 void Deserialize(RscReader& reader);
55 void Serialize(JRscWriter& writer)const;
56 void Deserialize(JRscReader& reader);
57 static size_t GetFieldCount(void);
58};
59
60} // end of namespace Arp::Io::ProfinetStack::System::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 status information of a service call
Definition: PnioStatus.hpp:26
PnioStatus(void)
Constructs an PnioStatus instance.
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:25
Namespace for the JSON RSC extension
Namespace for Profinet I/O system services
ErrorCode
Possible error codes for data-logger rsc services.
Definition: ErrorCode.hpp:19
Root namespace for the PLCnext API