You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
949 B
C#

9 months ago
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<string>();
var Type = typeof(DeviceData1001);
foreach (var Propety in Type.GetProperties())
{
Result.Add(Propety.Name);
}
return Result.ToArray();
}
}
}