PLCnext API Documentation 25.0.2.69
RecordParameters.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
24class ARP_EXPORT RecordParameters : public RscSerializable
25{
26public: // construction/destruction
28 RecordParameters(uint16 id, uint16 stationAddress, uint16 slot, uint16 index, uint16 length);
29
30public: // Properties
34 uint16 Id = 0;
35
39 uint16 StationAddress = 0;
40
44 uint16 Slot = 0;
45
49 uint16 Index = 0;
50
54 uint16 Length = 0;
55
56public: // Rsc operations
57 void Serialize(RscWriter& writer)const;
58 void Deserialize(RscReader& reader);
59 static size_t GetFieldCount(void);
60};
61
62} // end of namespace Arp::Io::Profibus::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
Parameters to address a module.
Definition: RecordParameters.hpp:25
RecordParameters(void)
Constructs an RecordParameters instance.
std::uint16_t uint16
The Arp unsigned integer type of 2 byte size.
Definition: PrimitiveTypes.hpp:29
Namespace for Profibus services
Root namespace for the PLCnext API