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.
93 lines
2.5 KiB
C#
93 lines
2.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace Mesnac.Action.Intake.Qingquan.Report
|
|
{
|
|
public partial class DeliveryReportDetail : Form
|
|
{
|
|
public DeliveryReportDetail()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void report1_StartReport(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
public void ReprotStart()
|
|
{
|
|
this.report1.Load(Application.StartupPath + @"\data\MCProject\Report\DeliveryReport.frx");
|
|
DataTable deliveryReportDetail = ReportCommon.GetReportDetail(Mesnac.Basic.DataSourceFactory.MCDbType.Local, this.Startdate, this.Starttime, this.Enddate, this.Endtime, this.MaterName, this.EquipId, this.DestBin);
|
|
report1.RegisterData(deliveryReportDetail, "ppt_FeedingData");
|
|
report1.SetParameterValue("Startdate", this.Startdate);
|
|
report1.SetParameterValue("Starttime", this.Starttime);
|
|
report1.SetParameterValue("Enddate", this.Enddate);
|
|
report1.SetParameterValue("Endtime", this.Endtime);
|
|
report1.SetParameterValue("MaterName", this.MaterName);
|
|
report1.SetParameterValue("EquipId", this.EquipId);
|
|
report1.SetParameterValue("DestBin", this.DestBin);
|
|
report1.Show();
|
|
|
|
}
|
|
|
|
private string _startdate;
|
|
|
|
public string Startdate
|
|
{
|
|
get { return _startdate; }
|
|
set { _startdate = value; }
|
|
}
|
|
private string _starttime;
|
|
|
|
public string Starttime
|
|
{
|
|
get { return _starttime; }
|
|
set { _starttime = value; }
|
|
}
|
|
private string _enddate;
|
|
|
|
public string Enddate
|
|
{
|
|
get { return _enddate; }
|
|
set { _enddate = value; }
|
|
}
|
|
private string _endtime;
|
|
|
|
public string Endtime
|
|
{
|
|
get { return _endtime; }
|
|
set { _endtime = value; }
|
|
}
|
|
private string _materName;
|
|
|
|
public string MaterName
|
|
{
|
|
get { return _materName; }
|
|
set { _materName = value; }
|
|
}
|
|
private string _equipId;
|
|
|
|
public string EquipId
|
|
{
|
|
get { return _equipId; }
|
|
set { _equipId = value; }
|
|
}
|
|
private string _destBin;
|
|
|
|
public string DestBin
|
|
{
|
|
get { return _destBin; }
|
|
set { _destBin = value; }
|
|
}
|
|
|
|
|
|
}
|
|
}
|