Click or drag to resize

ComputedValueSetValue Method (MessageContextBase, IPacketWriter, IPacketReader)

When overriden in a derived class, updates the current value.

Namespace:  Demo3D.PLC.Comms.AttrDb
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
protected virtual bool SetValue(
	MessageContextBase? context,
	IPacketWriter? responseData,
	IPacketReader requestData
)

Parameters

context
Type: Demo3D.PLC.CommsMessageContextBase
Optional information about the request.
responseData
Type: Demo3D.IOIPacketWriter
The packet to place the response (if any), or null if no response is allowed.
requestData
Type: Demo3D.IOIPacketReader
The value to set.

Return Value

Type: Boolean
True if the value could be set.
See Also