PLCnext API Documentation 23.6.0.37
|
This service provides operations to read and write settings from resp. to the device. More...
#include <IDeviceSettingsService.hpp>
Public Types | |
using | Ptr = std::shared_ptr< IDeviceSettingsService > |
using | ReadValuesResultDelegate = delegate< void(IRscReadEnumerator< DeviceSettingResult > &)> |
using | ReadValuesSettingsDelegate = delegate< void(IRscWriteEnumerator< RscString< 512 > > &)> |
using | WriteValuesResultDelegate = delegate< void(IRscReadEnumerator< AccessErrorCode > &)> |
using | WriteValuesSettingItemsDelegate = delegate< void(IRscWriteEnumerator< DeviceSettingItem > &)> |
![]() | |
typedef std::shared_ptr< IRscService > | Ptr |
Public Member Functions | |
IDeviceSettingsService (void)=default | |
Constructs an IDeviceSettingsService instance. | |
virtual DeviceSettingResult | ReadValue (const RscString< 512 > &setting)=0 |
This operation reads a single setting. More... | |
virtual void | ReadValues (ReadValuesSettingsDelegate settingsDelegate, ReadValuesResultDelegate resultDelegate)=0 |
This operation reads a list of settings. More... | |
virtual AccessErrorCode | WriteValue (const DeviceSettingItem &settingItem)=0 |
This operation writes a single setting. More... | |
virtual void | WriteValues (WriteValuesSettingItemsDelegate settingItemsDelegate, WriteValuesResultDelegate resultDelegate)=0 |
This operation writes a list of settings. More... | |
![]() | |
IRscService (void)=default | |
Constructs an IRscService instance. | |
virtual | ~IRscService (void)=default |
Destructs this instance and frees all resouces. | |
Static Public Member Functions | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
![]() | |
static IRscServiceProxyFactory & | GetProxyFactory (void) |
Returns a reference to service proxy factory to create a proxy instance of the service More... | |
This service provides operations to read and write settings from resp. to the device.
The service is defined in the library Arp.Device.Interface.
A current documentation of available device settings can be found in the Phoenix Contact "PLCnext Info Center", e.g.: PLCnext Info Center: IDeviceSettingsService.
Realtime Usage: This API call does not have to be deterministic in runtime behaviour, so an asynchronous execution should be considered.
|
pure virtual |
This operation reads a single setting.
setting | String containing the respective setting. |
|
pure virtual |
This operation reads a list of settings.
settings | Array of strings containing the respective settings. |
|
pure virtual |
This operation writes a single setting.
settingItem | Arp.Device.Interface.Services.DeviceSettingItem containing a string for selecting the respective setting and its new value. |
|
pure virtual |
This operation writes a list of settings.
settingItems | Array of Arp.Device.Interface.Services.DeviceSettingItem each containing a string for selecting the respective setting and its new value. |