PLCnext API Documentation 26.0.1.58
SoftwareVersionType.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 <vector>
12#include "Arp/Base/Rsc/Commons/RscString.hxx"
13
14// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
15
16namespace Arp::Services::SoftwareUpdate::Services
17{
18
19using namespace Arp;
20using namespace Arp::Base::Rsc::Commons;
21using namespace Arp::Base::Rsc::Commons::Services;
22using namespace Arp::Base::JRsc::Commons;
23
28class ARP_EXPORT SoftwareVersionType : public RscSerializable
29{
30public: // construction/destruction
32 SoftwareVersionType(const RscString<512>& manufacturer, const RscString<512>& manufacturerUri, const RscString<512>& softwareRevision, const std::vector<RscString<512>>& patchIdentifiers, DateTime releaseDate, const RscString<512>& changeLogReference);
33
34public: // Properties
40
46
52
57 std::vector<RscString<512>> PatchIdentifiers;
58
64
70
71public: // Rsc operations
72 void Serialize(RscWriter& writer)const;
73 void Deserialize(RscReader& reader);
74 void Serialize(JRscWriter& writer)const;
75 void Deserialize(JRscReader& reader);
76 static size_t GetFieldCount(void);
77};
78
79} // end of namespace Arp::Services::SoftwareUpdate::Services
This class contains date and time informations.
Definition: DateTime.hpp:27
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
Detailed description of a particular software version (current, pending or fallback)....
Definition: SoftwareVersionType.hpp:29
RscString< 512 > Manufacturer
Manufacturer of the software package(informative for the user). This is "PHOENIX CONTACT GmbH & Co....
Definition: SoftwareVersionType.hpp:39
std::vector< RscString< 512 > > PatchIdentifiers
The list of patches that was applied to the software version.
Definition: SoftwareVersionType.hpp:57
RscString< 512 > ChangeLogReference
A URL to a web site with detailed information about the particular version.
Definition: SoftwareVersionType.hpp:69
SoftwareVersionType(void)
Constructs an SoftwareVersionType instance.
RscString< 512 > ManufacturerUri
Uri to uniquely identify the manufacturer of the software package. This is "http://phoenixcontact....
Definition: SoftwareVersionType.hpp:45
DateTime ReleaseDate
Release date of the software version. If the version information is about patches,...
Definition: SoftwareVersionType.hpp:63
RscString< 512 > SoftwareRevision
The version number of the software / firmware The format and semantic of the string is vendor-specifi...
Definition: SoftwareVersionType.hpp:51
Namespace for the JSON RSC extension
Root namespace for the PLCnext API