PLCnext API Documentation 25.0.2.69
DiagnosisSource.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/DiagnosisDirection.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
26class ARP_EXPORT DiagnosisSource : public RscSerializable
27{
28public: // construction/destruction
30 DiagnosisSource(uint16 aRUserID, uint32 nodeID, uint32 aPI, uint16 slot, uint16 subslot, uint16 channelNumber, boolean accumulative, DiagnosisDirection direction);
31
32public: // Properties
36 uint16 ARUserID = 0;
37
42
47
51 uint16 Slot = 0;
52
56 uint16 Subslot = 0;
57
61 uint16 ChannelNumber = 0;
62
66 boolean Accumulative = false;
67
71 DiagnosisDirection Direction = static_cast<DiagnosisDirection>(0);
72
73public: // Rsc operations
74 void Serialize(RscWriter& writer)const;
75 void Deserialize(RscReader& reader);
76 void Serialize(JRscWriter& writer)const;
77 void Deserialize(JRscReader& reader);
78 static size_t GetFieldCount(void);
79};
80
81} // 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 the information where a diagnosis is located on the device according to "Guideline for PROFI...
Definition: DiagnosisSource.hpp:27
DiagnosisSource(void)
Constructs an DiagnosisSource 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
DiagnosisDirection
Contains the defined values for the direction of a submodule channel
Definition: DiagnosisDirection.hpp:19
@ NodeID
Returns all diagnoses sources of one submodule identified by Arp.Io.ProfinetStack....
Root namespace for the PLCnext API