PLCnext API Documentation 25.0.2.69
RecordResult.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/Rsc/Commons/RscSerializable.hpp"
10
11// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
12
14{
15
16using namespace Arp;
17using namespace Arp::Base::Rsc::Commons;
18using namespace Arp::Base::Rsc::Commons::Services;
19
23class ARP_EXPORT RecordResult : public RscSerializable
24{
25public: // construction/destruction
27 RecordResult(boolean serviceDone, uint8 errorCode, uint8 errorDecode, uint8 errorCode1, uint8 errorCode2, uint16 addData1, uint16 addData2);
28
29public: // Properties
34 boolean ServiceDone = false;
35
40
44 uint8 ErrorDecode = 0;
45
49 uint8 ErrorCode1 = 0;
50
54 uint8 ErrorCode2 = 0;
55
59 uint16 AddData1 = 0;
60
64 uint16 AddData2 = 0;
65
66public: // Rsc operations
67 void Serialize(RscWriter& writer)const;
68 void Deserialize(RscReader& reader);
69 static size_t GetFieldCount(void);
70};
71
72} // 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
Result of the record service
Definition: RecordResult.hpp:24
RecordResult(void)
Constructs an RecordResult instance.
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:25
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:29
Namespace for Profinet I/O controller services
ErrorCode
Possible error codes for data-logger rsc services.
Definition: ErrorCode.hpp:19
Root namespace for the PLCnext API