write¶
Canonical path: o6.write
write
¶
Implement this VariableType's value write, or one concrete member path.
@o6.write marks an ordinary VariableType instance method as its value-write
implementation. The decorator preserves the method and its Python signature,
so subclasses can override it without repeating the decorator, and calling it
directly still works.
@o6.write("member.child") instead resolves a Python member path when the
containing Object finishes, and stores the implementation and containing
Object on that concrete Variable. The callback receives the requested
DataValue plus range and session keyword arguments.
See Server callbacks for the
shared read/write/call precedence and reset behaviour.