FSharp.Plc.Ads


Result

Namespace: FSharp.Plc.Ads.Experimental
Parent Module: Builder

Functions and values

Function or valueDescription
adsCode arg1
Signature: Result<'T> -> AdsErrorCode
Type parameters: 'T

returns ADS error code of ADS NOK

'T is type of successful return

throws System.InvalidOperationException when value is not ADS NOK

returns TwinCAT.Ads.AdsErrorCode

adsError arg1
Signature: Result<'T> -> string
Type parameters: 'T

returns additional information for ADS NOK

'T is type of successful return

throws System.InvalidOperationException when value is not ADS NOK

error arg1
Signature: Result<'T> -> string
Type parameters: 'T

returns error description of NOK

'T is type of successful return

throws System.InvalidOperationException when value is not NOK

isAdsNok arg1
Signature: Result<'T> -> bool
Type parameters: 'T

returns true if result is ADS NOK

'T is type of successful return

isNok arg1
Signature: Result<'T> -> bool
Type parameters: 'T

returns true if result is NOK

'T is type of successful return

isOk arg1
Signature: Result<'T> -> bool
Type parameters: 'T

returns true if result is OK

'T is type of successful return

value arg1
Signature: Result<'T> -> 'T
Type parameters: 'T

returns value of OK

'T is type of successful return

throws System.InvalidOperationException when value is not OK

Fork me on GitHub