We at Chamsys/Chauvet would really benefit from the addition of a HasDefaultValue() function on the IGdtfDmxChannelFunction interface.
At present 0 (zero) is returned if there is a DefaultValue set to 0, or if there is no DefaultValue.
If there is no DefaultValue we would then want to assign our own default value - depending on the Channel's attribute.
My code enhancement is based on the already existing IGdtfDmxChannel HasHighlight() function.
Attached are the 5 codefiles I changed.
HasDefaultValue.zip
Many thanks
Jordan Walters
Software Engineer
ChamSys Ltd
Unit H5 Adanac North, Adanac Drive, Nursling, Southampton, SO16 0BT
E: jordan.walters@chamsys.co.uk
W: www.chamsys.co.uk