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.
73 lines
1.2 KiB
C#
73 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public class ScanLogSocket
|
|
{
|
|
/// <summary>
|
|
///
|
|
///</summary>
|
|
|
|
|
|
public DateTime CreateTime
|
|
{
|
|
get
|
|
{
|
|
DateTimeOffset dateTimeOffset = DateTimeOffset.FromUnixTimeMilliseconds(timestamp);
|
|
return dateTimeOffset.UtcDateTime;
|
|
}
|
|
}
|
|
|
|
public long timestamp { get; set; }
|
|
|
|
public int data_type { get; set; }
|
|
|
|
public string rfid { get; set; }
|
|
|
|
public string code { get; set; }
|
|
|
|
public string ocr { get; set; }
|
|
|
|
public string url { get; set; }
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Hk
|
|
{
|
|
public DateTime CreateTime
|
|
{
|
|
get
|
|
{
|
|
DateTimeOffset dateTimeOffset = DateTimeOffset.FromUnixTimeMilliseconds(timestamp);
|
|
return dateTimeOffset.UtcDateTime;
|
|
}
|
|
}
|
|
|
|
public long timestamp { get; set; }
|
|
|
|
public int data_type { get; set; }
|
|
|
|
public string rfid { get; set; }
|
|
|
|
public string code { get; set; }
|
|
|
|
public string ocr { get; set; }
|
|
|
|
public string url { get; set; }
|
|
|
|
|
|
|
|
public int is_alarm { get; set; }
|
|
|
|
public List<string> device_status { get; set; }
|
|
|
|
|
|
public List<string> status_txt { get; set; }
|
|
}
|
|
|
|
|
|
|
|
|
|
|