Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public TimeWrapper(Time item)
 {
     this.Item = item;
 }
Exemplo n.º 3
0
 public static TimeStamp NewTime(Time time)
 {
     return new TimeWrapper(time);
 }
Exemplo n.º 4
0
 public DateAndTime(Date date, Time time)
 {
     this.Date = date;
     this.Time = time;
 }
Exemplo n.º 5
0
 /// <summary>
 /// Puts a value into the sink
 /// </summary>
 /// <param name="value">The value to put</param>
 public void PutTime(Time value)
 {
     _require(StreamOp.Time);
     _writer.WriteTime(value, _state.Tag);
     _moveNext();
 }
Exemplo n.º 6
0
 /// <summary>
 /// Writes a time value to the stream
 /// </summary>
 /// <param name="value">The value to write</param>
 /// <param name="tag">The tag number, or 255 for an application tag</param>
 public void WriteTime(Time value, byte tag = 255)
 {
     _writeLengthHeader(tag, ApplicationTag.Time, 4);
     _writer.Write(value.Hour);
     _writer.Write(value.Minute);
     _writer.Write(value.Second);
     _writer.Write(value.Hundredths);
 }
Exemplo n.º 7
0
 public TimeValue(Time time, GenericValue value)
 {
     this.Time = time;
     this.Value = value;
 }