public static void Save(IValueSink sink, DeviceObjectPropertyValue value)
 {
     sink.EnterSequence();
     Value<ObjectId>.Save(sink, value.DeviceIdentifier);
     Value<ObjectId>.Save(sink, value.ObjectIdentifier);
     Value<PropertyIdentifier>.Save(sink, value.PropertyIdentifier);
     Value<Option<uint>>.Save(sink, value.ArrayIndex);
     Value<GenericValue>.Save(sink, value.Value);
     sink.LeaveSequence();
 }
        public static void Save(IValueSink sink, DeviceObjectPropertyValue value)
        {
            sink.EnterSequence();
            Value <ObjectId> .Save(sink, value.DeviceIdentifier);

            Value <ObjectId> .Save(sink, value.ObjectIdentifier);

            Value <PropertyIdentifier> .Save(sink, value.PropertyIdentifier);

            Value <Option <uint> > .Save(sink, value.ArrayIndex);

            Value <GenericValue> .Save(sink, value.Value);

            sink.LeaveSequence();
        }