示例#1
0
        internal override string ForChart(PrintOptions printOptions = null)
        {
            string str = string.Empty;

            for (int day = printOptions.FirstDay; day <= printOptions.LastDay; day++)
            {
                str += day > printOptions.FirstDay ? "," : string.Empty;
                str += $"\"{day}\":{{{bagsUnloaded.ForChart(day)},{bagsLoaded.ForChart(day)},{lostBags.ForChart(day)}}}";
            }
            return(str);
        }
示例#2
0
        internal override string ForChart(PrintOptions printOptions = null)
        {
            string str = string.Empty;

            for (int day = printOptions.FirstDay; day <= printOptions.LastDay; day++)
            {
                str += day > printOptions.FirstDay ? "," : string.Empty;
                str += $"\"{day}\":{{{nArriving.ForChart(day)},{nConnecting.ForChart(day)},{nBoarded.ForChart(day)},{nMissed.ForChart(day)}}}";
            }
            return(str);
        }
示例#3
0
        internal override string ForChart(PrintOptions printOptions = null)
        {
            string str = string.Empty;

            for (int day = printOptions.FirstDay; day <= printOptions.LastDay; day++)
            {
                str += day > printOptions.FirstDay ? "," : string.Empty;
                str += $"\"{day}\":{{{fuelRequested.ForChart(day)},{fuelDelivered.ForChart(day)},{planesRefueled.ForChart(day)},{fuelingFailures.ForChart(day)},{StatLoader.airportData.fuelStats.avgFuelPrice.ForChart(day)}}}";
            }
            return(str);
        }