generated from wenjy/SlnMesnac
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.
27 lines
536 B
C#
27 lines
536 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public class ScanStatusSocket
|
|
{
|
|
public DateTime CreateTime
|
|
{
|
|
get
|
|
{
|
|
DateTimeOffset dateTimeOffset = DateTimeOffset.FromUnixTimeMilliseconds(timestamp);
|
|
return dateTimeOffset.UtcDateTime;
|
|
}
|
|
}
|
|
|
|
public long timestamp { get; set; }
|
|
|
|
public int data_type { get; set; }
|
|
|
|
public int is_alarm { get; set; }
|
|
|
|
public List<string> device_status { get; set; }
|
|
|
|
|
|
public List<string> status_txt { get; set; }
|
|
|
|
|
|
} |