/// <summary> /// Write variable value /// </summary> /// <remarks> /// Write variable node's value. The endpoint must be activated and connected /// and the module client and server must trust each other. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='endpointId'> /// The identifier of the activated endpoint. /// </param> /// <param name='body'> /// The write value request /// </param> public static ValueWriteResponseApiModel WriteValue(this IAzureOpcTwinClient operations, string endpointId, ValueWriteRequestApiModel body) { return(operations.WriteValueAsync(endpointId, body).GetAwaiter().GetResult()); }