IDatasource3 (ITF) ¶ INTERFACE IDatasource3 EXTENDS IDatasource2 Extension of IDatasource2 supporting some new properties Properties: UpdateRate CustomRequestHandling , inherited from IDatasource Error , inherited from IDatasource2 State , inherited from IDatasource2 Methods: SetUpdateRateReduction EnqueueCustomRequest , inherited from IDatasource SetCredentialsProvider , inherited from IDatasource Structure: SetUpdateRateReduction (Method) UpdateRate (Property)
IDatasource3.SetUpdateRateReduction (METH) ¶ METHOD SetUpdateRateReduction Sets the parameters for update rate reduction InOut: Scope Name Type Comment Input uiFactor UINT Reduction factor tMaxValue TIME The maximum level allowed
ICustomRequestCallback.RequestFinished (METH) ¶ METHOD RequestFinished This method will be called when the execution of the given request is finished. Note The method will be called no matter whether the request was executed successfully or not. Callees can find out about this fact by evaluating the according result. InOut: Scope Name Type Comment Input request ICustomRequest The request that was finished response ICustomResponse The response to the request. Valid only in case the result is ERR_OK. Note Please remark that this object is no longer valid when this method returns. result SysTypes.RTS_IEC_RESULT The result of the execution as one of the runtime system error codes (see CmpErrors.library) or one of Errors . In case the service was sent successfully, ERR_OK will be set as the result
ICustomRequestHandling (ITF) ¶ INTERFACE ICustomRequestHandling EXTENDS __SYSTEM.IQueryInterface Methods: ReleaseRequest Structure: ReleaseRequest (Method)
ICustomRequestHandling.ReleaseRequest (METH) ¶ METHOD ReleaseRequest : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Return ReleaseRequest SysTypes.RTS_IEC_RESULT Input request ICustomRequest
ICustomResponse (ITF) ¶ INTERFACE ICustomResponse EXTENDS __SYSTEM.IQueryInterface
IDataItemBase (ITF) ¶ INTERFACE IDataItemBase EXTENDS __SYSTEM.IQueryInterface Properties: ErrorCode Quality TimeStamp TypeClass Structure: ErrorCode (Property) Quality (Property) TimeStamp (Property) TypeClass (Property)
IDataItemBase.ErrorCode (PROP) ¶ PROPERTY ErrorCode : SysTypes.RTS_IEC_RESULT Returns an error code representing the reason for problems with this item. Valid only if IDataItemBase.Quality yields ItemQuality.Bad
IDataItemBase.Quality (PROP) ¶ PROPERTY Quality : ItemQuality Returns the quality information of this item. For details have a look at IDataItemBase.ErrorCode
IDataItemBase.TimeStamp (PROP) ¶ PROPERTY TimeStamp : TIME Returns the time when this item was monitored for the last time.