PLCnext API Documentation 25.0.2.69
SubmoduleDifference.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 SubmoduleDifference : public RscSerializable
26{
27public: // construction/destruction
29 SubmoduleDifference(uint32 nodeID, uint16 subslot, uint32 identNumber, uint16 state);
30
31public: // Properties
36
40 uint16 Subslot = 0;
41
45 uint32 IdentNumber = 0;
46
107 uint16 State = 0;
108
109public: // Rsc operations
110 void Serialize(RscWriter& writer)const;
111 void Deserialize(RscReader& reader);
112 void Serialize(JRscWriter& writer)const;
113 void Deserialize(JRscReader& reader);
114 static size_t GetFieldCount(void);
115};
116
117} // 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
Submodule data with differences
Definition: SubmoduleDifference.hpp:26
SubmoduleDifference(void)
Constructs an SubmoduleDifference 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
@ NodeID
Returns all diagnoses sources of one submodule identified by Arp.Io.ProfinetStack....
Root namespace for the PLCnext API