'Declaration
<NotNullAttribute()> Public Overloads Shared Function Create(Of TValue)( _ ByVal machineName As String, _ ByVal serverClass As String, _ ByVal itemId As String _ ) As DAWriteItemValueObserver(Of TValue)
'Usage
Dim machineName As String Dim serverClass As String Dim itemId As String Dim value As DAWriteItemValueObserver(Of TValue) value = DAWriteItemValueObserver.Create(Of TValue)(machineName, serverClass, itemId)
[NotNull()] public static DAWriteItemValueObserver<TValue> Create<TValue>( string machineName, string serverClass, string itemId )
[NotNull()] public: static DAWriteItemValueObserver<TValue^>^ Creategeneric<typename TValue> ( String^ machineName, String^ serverClass, String^ itemId )
Parameters
- machineName
- Name of the machine (empty string for local computer).
- serverClass
- Contains ProgID of the OPC server.
- itemId
- ID of the item that will be written into.
Type Parameters
- TValue
Return Value
Returns an observer that writes values into the given OPC item.