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.

44 lines
988 B
C#

using Rs.MotionPlat.Entitys;
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 Rs.MotionPlat
{
public partial class LocationData : BaseFormHeader
{
public LocationData()
{
InitializeComponent();
}
void BindData()
{
List<ProductLocationResult> results = OneGrabSixteenManager.Instance.GetResults().ToList();
dataGridView1.DataSource = results;
timer1.Enabled = true;
}
private void LocationData_Load(object sender, EventArgs e)
{
BindData();
}
private void btnLoadData_Click(object sender, EventArgs e)
{
BindData();
}
private void timer1_Tick(object sender, EventArgs e)
{
BindData();
}
}
}