Beispiel #1
0
        public static void Save(IValueSink sink, ActionCommand value)
        {
            sink.EnterSequence();
            Value <Option <ObjectId> > .Save(sink, value.DeviceIdentifier);

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

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

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

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

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

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

            Value <bool> .Save(sink, value.QuitOnFailure);

            Value <bool> .Save(sink, value.WriteSuccessful);

            sink.LeaveSequence();
        }
Beispiel #2
0
 public static void Save(IValueSink sink, ActionCommand value)
 {
     sink.EnterSequence();
     Value<Option<ObjectId>>.Save(sink, value.DeviceIdentifier);
     Value<ObjectId>.Save(sink, value.ObjectIdentifier);
     Value<PropertyIdentifier>.Save(sink, value.PropertyIdentifier);
     Value<Option<uint>>.Save(sink, value.PropertyArrayIndex);
     Value<GenericValue>.Save(sink, value.PropertyValue);
     Value<Option<uint>>.Save(sink, value.Priority);
     Value<Option<uint>>.Save(sink, value.PostDelay);
     Value<bool>.Save(sink, value.QuitOnFailure);
     Value<bool>.Save(sink, value.WriteSuccessful);
     sink.LeaveSequence();
 }