values[0].quality = CosDpQualityEnum.QualityGood;
values[0].timestamp = 0;
values[0].value = new CosDpValueUnion();
//storage for error
CosDpErrorSeqHolder errors = new CosDpErrorSeqHolder();
if (isDigitalControl)
{
//for digital control, anything other than 0 is treated as true value
//anyway we should never send digital control with value = false.