private void TraceSession(sessionType s)
        {
            Tracer.TraceInfo(
                " App: {0} Session ID: {1} ResID: {2} Agg({3})",
                s.initialapp,
                s.id,
                s.initialappresourceid,
                s.initialappresourceaggregated);

            Tracer.TraceInfo(" Publisher: {0} Server type: {1}", s.publishername, s.servertype);
        }
Exemplo n.º 2
0
            public SessionInfo()
            {
                id = 0;
                lapsTotal = 0;
                lapsComplete = 0;
                leadChanges = 0;
                cautions = 0;
                cautionLaps = 0;

                fastestlap = 0;
                fastestdriver = new DriverInfo();
                fastestlapnum = 0;

                time = 0;
                sessiontimeremaining = 0;
                sessionlength = 0;
                sessionstarttime = -1;
                sessionstartpos = 0;
                finishline = Int32.MaxValue;

                type = sessionType.invalid;
                state = sessionState.invalid;
                flag = sessionFlag.invalid;
                startlight = sessionStartLight.off;

                standings = new List<StandingsItem>();
                followedDriver = new StandingsItem();
            }