public static TrackInfoModel ConvertModel(TrackInfo info, int i)
        {
            TrackInfoModel model = new TrackInfoModel();

            model.ID              = i;
            model.TcChannelID     = info.TcChannelID;
            model.Name            = info.Name;
            model.Channel_type    = info.Channel_type;
            model.Typestr         = info.Typestr;
            model.Channel_address = info.Channel_address;
            model.Longitude       = info.Longitude;
            model.Latitude        = info.Latitude;
            model.Capimg          = info.Capimg;
            {
                CapCount cap = new CapCount();
                for (int j = 0; j < info.Capimg.Count; j++)
                {
                    cap = info.Capimg[j];
                    if (j == Convert.ToInt32(cap.Feaid))
                    {
                        break;
                    }
                }
                model.CurrentCapimg = cap.Capimg;
                DateTime time = DateTimeConvert.LongTimeToDateTime(cap.Time);
                model.Time        = time.ToString("yyyyMMdd");
                model.InstallDate = time.ToString("HH:mm:dd");
            }
            return(model);
        }