Class HistoryDataQuery
历史数据查询参数
Inheritance
System.Object
HistoryDataQuery
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FBoxClientDriver.Contract
Assembly: FBoxClientDriver.Contract.dll
Syntax
public class HistoryDataQuery
Constructors
HistoryDataQuery()
无参构造函数
Declaration
public HistoryDataQuery()
HistoryDataQuery(String, DateTime, DateTime, Int32, String)
构造函数
Declaration
public HistoryDataQuery(string boxNo, DateTime beginTime, DateTime endTime, int limit = 100, string name = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | boxNo | 盒子编码 |
System.DateTime | beginTime | 开始时间 |
System.DateTime | endTime | 结束时间 |
System.Int32 | limit | 查询条数 |
System.String | name | 报警条目编码,若不为0,则查出指定编码的记录,否则不做限制 |
Properties
BeginTime
开始时间(包含此时间点)
Declaration
public DateTime BeginTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
BoxNo
盒子编码
Declaration
public string BoxNo { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EndTime
结束时间(不包含此时间点)
Declaration
public DateTime EndTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Limit
查询条数
Declaration
public int Limit { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Name
报警条目编码,若设置为0,则查所有条目的记录,若不为0,则查指定目记录
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |