public override string ToString()
        {
            var transCreate  = this.TransactionCreate.ToString("yyyy-MM-dd");
            var pickup       = this.PkupDate.ToString("yyyy-MM-dd");
            var outputFields = new List <string>
            {
                LoadId.ToString("D"),
                TransactionTypeId,
                transCreate,
                LoadShopMiles.ToString(),
                DirectMiles.ToString(),
                Stops.ToString(),
                Weight.ToString(),
                // Commodity, Ivan from AWS has removed Commodity from Smart Spot Pricing due to data quality issues
                EquipmentId,
                NbrSCACsRequest.ToString(),
                NbrCarriersRequest.ToString(),
                NbrSCACsPosted.ToString(),
                NbrContractSCACsPosted.ToString(),
                NbrSCACsHidden.ToString(),
                D3Zip,
                O3Zip,
                pickup,
                OrigState,
                DestState
            };

            return(string.Join(",", outputFields));
        }
        public override void Update()
        {
            base.Update();

            var residents = TransportUtil.GetResidentPassengerCount(LineID);
            var tourists  = TransportUtil.GetTouristPassengerCount(LineID);

            var lineName = TransportUtil.GetLineName(LineID);

            if (lineName != LineName)
            {
                var handlers = LineNameChanged;
                if (handlers != null)
                {
                    handlers(LineID);
                }
            }
            LineName = lineName;

            _name.text = LineName.Trim();

            /*bool clipped = false;
             * while (_name.width > 110)
             * {
             *  _name.text = _name.text.Remove(_name.text.Length - 1);
             *  clipped = true;
             * }
             * if (clipped)
             *  _name.text = _name.text.Trim() + "...";*/

            _stops.text          = Stops.ToString();
            _passengers.text     = String.Format("{0}/{1}", residents, tourists);
            _trips.text          = String.Format("{0}%", Trips);
            _vehicles.text       = Vehicles.ToString();
            _dayOnly.IsChecked   = TransportUtil.GetDay(LineID);
            _nightOnly.IsChecked = TransportUtil.GetNight(LineID);

            _color.selectedColor = TransportUtil.GetLineColor(LineID);
            IsChecked            = !TransportUtil.IsTransportLineHidden(LineID);
        }