Пример #1
0
 public Destination(DaysOfWeek validDays, Time fromTime, Time toTime, Recipient recipient, uint processIdentifier, bool issueConfirmedNotifications, EventTransitionBits transitions)
 {
     this.ValidDays = validDays;
     this.FromTime = fromTime;
     this.ToTime = toTime;
     this.Recipient = recipient;
     this.ProcessIdentifier = processIdentifier;
     this.IssueConfirmedNotifications = issueConfirmedNotifications;
     this.Transitions = transitions;
 }
Пример #2
0
 public static void Save(IValueSink sink, Recipient value)
 {
     sink.EnterChoice((byte)value.Tag);
     switch(value.Tag)
     {
         case Tags.Device:
             Value<DeviceWrapper>.Save(sink, (DeviceWrapper)value);
             break;
         case Tags.Address:
             Value<AddressWrapper>.Save(sink, (AddressWrapper)value);
             break;
         default:
             throw new Exception();
     }
     sink.LeaveChoice();
 }
Пример #3
0
 public RecipientProcess(Recipient recipient, uint processIdentifier)
 {
     this.Recipient = recipient;
     this.ProcessIdentifier = processIdentifier;
 }
Пример #4
0
 public RecipientProcess(Recipient recipient, uint processIdentifier)
 {
     this.Recipient         = recipient;
     this.ProcessIdentifier = processIdentifier;
 }