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.
66 lines
1.6 KiB
C#
66 lines
1.6 KiB
C#
using HighWayIot.Repository.domain;
|
|
using HighWayIot.Repository.service.Impl;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace RFIDSocket
|
|
{
|
|
public partial class RFIDLog : Form
|
|
{
|
|
|
|
List<RFIDContent> rFIDContents = new List<RFIDContent>();
|
|
BaseContentServiceImpl sql = new BaseContentServiceImpl();
|
|
public RFIDLog()
|
|
{
|
|
InitializeComponent();
|
|
StartTime.Value = DateTime.Now.AddDays(-3);
|
|
List<string> listStatus = new List<string>
|
|
{
|
|
"",
|
|
"NR",
|
|
"GR",
|
|
};
|
|
|
|
Dictionary<string, string> listTips = new Dictionary<string, string>
|
|
{
|
|
{"ok", "正常"},
|
|
{"noread", "无读"},
|
|
{"near", "近距离"},
|
|
{"short", "包过短"},
|
|
{"multi", "多标签"},
|
|
};
|
|
|
|
Init();
|
|
}
|
|
|
|
private void Init()
|
|
{
|
|
rFIDContents = sql.GetContentInfos();
|
|
}
|
|
|
|
private void TimeSelect_Click(object sender, EventArgs e)
|
|
{
|
|
if (LogContent != null)
|
|
{
|
|
LogContent.DataSource = null;
|
|
//LogContent.DataSource = LogControl.LogTimeSelect(rFIDContents, StartTime.Value, EndTime.Value);
|
|
}
|
|
}
|
|
|
|
|
|
private void SelectAll_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
|
|
}
|