时间改为8

dep_nodyang
nodyang 1 year ago
parent 3c96697d35
commit f815fe9bca

@ -1,4 +1,5 @@
using DevExpress.Xpo.Helpers; using DevExpress.Xpo.Helpers;
using DevExpress.XtraRichEdit.Model;
using FastReport.Dialog; using FastReport.Dialog;
@ -53,7 +54,12 @@ namespace Mesnac.Action.ChemicalWeighing.LjReport.DayWhiteEmbryo
endTime = control.FirstOrDefault(x => x.Name == "endTime") as MCDateTimePicker; endTime = control.FirstOrDefault(x => x.Name == "endTime") as MCDateTimePicker;
dataGridView.AutoGenerateColumns = true; dataGridView.AutoGenerateColumns = true;
mCDateTimePicker.Value = DateTime.Now.AddDays(0); mCDateTimePicker.Value = DateTime.Now.AddDays(0);
startDate.Value = DateTime.Now.AddDays(-3); startDate.Value = DateTime.Now.AddDays(-1);
startTime.Value = Convert.ToDateTime(DateTime.Now.ToString("08:00:00"));
endTime.Value = Convert.ToDateTime(DateTime.Now.ToString("20:00:00"));
dt = new DataTable(); dt = new DataTable();
dt.Columns.Add("机台", typeof(string)); dt.Columns.Add("机台", typeof(string));

@ -1,3 +1,3 @@
<DataSources> <DataSources>
<DataSourceItem Name="DataSource1" Driver="MS SQL Server" Server="127.0.0.1" UserName="sa" Password="123456" DataBase="CWSSHG" ConnectionTimeout="5" DriverAssembly="ICSharpCode.Data.SQLServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" DriverClass="ICSharpCode.Data.Core.DatabaseDrivers.SQLServer.SQLServerDatabaseDriver" DataSourceClass="ICSharpCode.Data.Core.DatabaseObjects.Database" /> <DataSourceItem Name="DataSource1" Driver="MS SQL Server" Server="192.168.0.100" UserName="sa" Password="123456" DataBase="CWSSHG" ConnectionTimeout="5" DriverAssembly="ICSharpCode.Data.SQLServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" DriverClass="ICSharpCode.Data.Core.DatabaseDrivers.SQLServer.SQLServerDatabaseDriver" DataSourceClass="ICSharpCode.Data.Core.DatabaseObjects.Database" />
</DataSources> </DataSources>

@ -25,6 +25,7 @@
<Property name="DbOptionType">None</Property> <Property name="DbOptionType">None</Property>
<Property name="MCVisible">True</Property> <Property name="MCVisible">True</Property>
<Property name="MCEnabled">True</Property> <Property name="MCEnabled">True</Property>
<Property name="AutoGenerateColumns">False</Property>
<Property name="MultiSelect">False</Property> <Property name="MultiSelect">False</Property>
<Property name="Location">349, 12</Property> <Property name="Location">349, 12</Property>
<Property name="Name">MoreData</Property> <Property name="Name">MoreData</Property>

Loading…
Cancel
Save