using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LanShengModel { public class DeviceData1001 { public string? Status { get; set; } public DateTime? UpdateDate { get; set; } public int? AgreementVersion { get; set; } public int? DataTick { get; set; } public string? ICCID { get; set; } public string? Longitude { get; set; } public string? Latitude { get; set; } public int? ConnectStrLength { get; set; } public string? ConnectString { get; set; } public static string[] GetColumns() { var Result = new List(); var Type = typeof(DeviceData1001); foreach (var Propety in Type.GetProperties()) { Result.Add(Propety.Name); } return Result.ToArray(); } } }