[TraDemGen][Test] Adapted the code to the new StdAir API for EventStruct.
[TraDemGen][Test] Adapted the code to the new StdAir API for EventStruct.

airsim/tvlsim,airsim/tvlsim,airsim/tvlsim,airsim/tvlsim,airsim/tvlsim,airsim/tvlsim,airsim/tvlsim,airsim/tvlsim,airsim/tvlsim