public override void write(ByteStream queue)
 {
     ObjectIdentifier.write(queue, 0);
     EventState.write(queue, 1);
     AcknowledgedTransitions.write(queue, 2);
     writeContextTag(queue, 3, true);
     EventTimeStamp1.write(queue);
     EventTimeStamp2.write(queue);
     EventTimeStamp3.write(queue);
     writeContextTag(queue, 3, false);
     NotifyType.write(queue, 4);
     EventEnable.write(queue, 5);
     writeContextTag(queue, 6, true);
     EventPriorities1.write(queue);
     EventPriorities2.write(queue);
     EventPriorities3.write(queue);
     writeContextTag(queue, 6, false);
 }