修改成型机取数逻辑

master
zhaoaomin 2 years ago
parent 13b9b11cf9
commit 6da8eca0c6

Binary file not shown.

@ -17,8 +17,49 @@ namespace XGL.Data.DBService
/// <param name="bdt"></param>
/// <param name="edt"></param>
/// <returns></returns>
public DataTable GetFormingMachineInfo(string devicecode)
{
public DataTable GetFormingMachineInfo(string devicecode,string workDate)
{
// string sql = $@"SELECT DISTINCT
// ord.workorder_id,
// ord.workorder_code,
// res.OrderCode,
// ord.product_name,
// product_code,
// isnull( car_num, 0 ) AS car_num,
// isnull( plan_time, '1900-01-01 08:00:00' ) AS plan_time,
// ord.status ,
// ord.route_code,
// ord.attr1,
// ord.shift_id
//FROM
// mes_material_transfer_result res
// LEFT JOIN pro_order_workorder ord ON res.OrderCode = ord.workorder_id
// LEFT JOIN pro_wet_material_plan_detail wet ON wet.workorder_id = res.OrderCode
// LEFT JOIN pro_rfid_process_detail rfid ON rfid.workorder_code = ord.workorder_code
// AND rfid.rfid = res.rfid
//WHERE
// equipmentCode = '{devicecode}'
// AND rfid.create_time >= (
// SELECT
// CONCAT ( CONVERT ( VARCHAR ( 10 ), GetDate( ), 120 ), ' ', Shift_Start_Time ) AS Shift_Start_Time
// FROM
// base_shifts_t
// WHERE
// Shift_Start_Time <= CONVERT ( TIME, GETDATE( ) )
// AND Shift_End_Time > CONVERT ( TIME, GETDATE( ) )
// )
// AND rfid.create_time<= (
// SELECT
// CONCAT ( CONVERT ( VARCHAR ( 10 ), GetDate( ), 120 ), ' ', Shift_End_Time ) AS Shift_End_Time
// FROM
// base_shifts_t
// WHERE
// Shift_Start_Time <= CONVERT ( TIME, GETDATE( ) )
// AND Shift_End_Time > CONVERT ( TIME, GETDATE( ) )
// ) And ord.prod_line_code like '%{devicecode}%'
//ORDER BY
// ( isnull( plan_time, '1900-01-01 08:00:00' ) ) DESC";
string sql = $@"SELECT DISTINCT
ord.workorder_id,
ord.workorder_code,
@ -30,36 +71,19 @@ namespace XGL.Data.DBService
ord.status ,
ord.route_code,
ord.attr1,
ord.shift_id
ord.shift_id ,(select count(*) from pro_rfid_process_detail
where CONVERT(VARCHAR(10), create_time , 120) = CONVERT(VARCHAR(10), '2023-10-20', 120 ) and workorder_code = ord.workorder_code) as totalCount
FROM
mes_material_transfer_result res
LEFT JOIN pro_order_workorder ord ON res.OrderCode = ord.workorder_id
pro_order_workorder ord
LEFT JOIN mes_material_transfer_result res ON res.OrderCode = ord.workorder_id
LEFT JOIN pro_wet_material_plan_detail wet ON wet.workorder_id = res.OrderCode
LEFT JOIN pro_rfid_process_detail rfid ON rfid.workorder_code = ord.workorder_code
AND rfid.rfid = res.rfid
WHERE
equipmentCode = '{devicecode}'
AND rfid.create_time >= (
SELECT
CONCAT ( CONVERT ( VARCHAR ( 10 ), GetDate( ), 120 ), ' ', Shift_Start_Time ) AS Shift_Start_Time
FROM
base_shifts_t
WHERE
Shift_Start_Time <= CONVERT ( TIME, GETDATE( ) )
AND Shift_End_Time > CONVERT ( TIME, GETDATE( ) )
)
AND rfid.create_time<= (
SELECT
CONCAT ( CONVERT ( VARCHAR ( 10 ), GetDate( ), 120 ), ' ', Shift_End_Time ) AS Shift_End_Time
FROM
base_shifts_t
WHERE
Shift_Start_Time <= CONVERT ( TIME, GETDATE( ) )
AND Shift_End_Time > CONVERT ( TIME, GETDATE( ) )
) And ord.prod_line_code like '%{devicecode}%'
CONVERT(VARCHAR(10), wet.plan_time , 120) = CONVERT(VARCHAR(10), '{workDate}', 120 )
And ord.prod_line_code like '%{devicecode}%'
ORDER BY
( isnull( plan_time, '1900-01-01 08:00:00' ) ) DESC";
DataSet dtset = Utils.netClientDBHelper.getDataSet(sql);
if (dtset != null && dtset.Tables.Count > 0 && dtset.Tables[0].Rows.Count > 0)
{

@ -108,9 +108,76 @@ namespace XGL.Views
{
List<FoamingMacModel> orderList = new List<FoamingMacModel>();
int currHour = DateTime.Now.Hour;
int currMinute = DateTime.Now.Minute;
//modelWareHouse = new List<WorkOrder>();
//userDbWareHouse = new DBService();
int shiftId = 0;
DataTable shiftlist = formingMachineService.GetShiftList();
string endTimeRecord = "";
string startTimeRecord = "";
foreach (DataRow shift in shiftlist.Rows)
{
string[] timeStart = shift["Shift_Start_Time"].ToString().Split(':');
string[] timeEnd = shift["Shift_End_Time"].ToString().Split(':');
// 创建两个不带日期的时间点
TimeSpan currTime = new TimeSpan(currHour, currMinute, 0); // 获取当前小时+分钟数
TimeSpan startTime = new TimeSpan(Convert.ToInt32(timeStart[0]), Convert.ToInt32(timeStart[1]), 0); // 表示9小时45分钟0秒
TimeSpan endTime = new TimeSpan(Convert.ToInt32(timeEnd[0]), Convert.ToInt32(timeEnd[1]), 0);
// 比较当前时间点和班次开始的时间点
int comparisonResultStart = TimeSpan.Compare(currTime, startTime);
// 比较当前时间点和班次结束的时间点
int comparisonResultEnd = TimeSpan.Compare(currTime, endTime);
//if (comparisonResultStart > 0) { Console.WriteLine("time1 大于 time2"); }
if (comparisonResultStart >= 0 && comparisonResultEnd < 0)
{
endTimeRecord = shift["Shift_Start_Time"].ToString();
startTimeRecord = shift["Shift_End_Time"].ToString();
shiftId = Convert.ToInt32(shift["shift_id"].ToString());
break;
}
else if (comparisonResultStart >= 0 || comparisonResultEnd < 0)
{
endTimeRecord = shift["Shift_Start_Time"].ToString();
startTimeRecord = shift["Shift_End_Time"].ToString();
shiftId = Convert.ToInt32(shift["shift_id"].ToString());
break;
}
//if (Convert.ToInt32(timeStart[0]) <= currHourWithDecimal && currHourWithDecimal < Convert.ToInt32(timeEnd[0]))
//{
// shiftId = shift.shiftId;
// break;
//}
//else if (currHourWithDecimal >= Convert.ToInt32(timeStart[0]) || currHourWithDecimal < Convert.ToInt32(timeEnd[0]))
//{
// shiftId = shift.shiftId;
// break;
//}
}
string[] endTimeReally = endTimeRecord.Split(':');
string[] startTimeReally = startTimeRecord.Split(':');
DateTime currShiftDate = DateTime.Now.Date;
TimeSpan currTimeNew = new TimeSpan(currHour, currMinute, 0); // 获取当前小时+分钟数
TimeSpan startTimeNew = new TimeSpan(Convert.ToInt32(startTimeReally[0]), Convert.ToInt32(startTimeReally[1]), 0); // 表示9小时45分钟0秒
TimeSpan endTimeNew = new TimeSpan(Convert.ToInt32(endTimeReally[0]), Convert.ToInt32(endTimeReally[1]), 0); // 表示9小时45分钟0秒
//计算白夜班工作日期用
int resultstart = TimeSpan.Compare(currTimeNew, startTimeNew);
// 比较当前时间点和班次结束的时间点
int resultEnd = TimeSpan.Compare(currTimeNew, endTimeNew);
//夜班、
if (resultstart < 0 && resultEnd < 0)
{
currShiftDate = DateTime.Now.Date.AddDays(-1);
}
//modelWareHouse = new List<WorkOrder>();
userDbWareHouse = new DBService();
DataTable dt = formingMachineService.GetFormingMachineInfo(deviceCode);
DataTable dt = formingMachineService.GetFormingMachineInfo(deviceCode, currShiftDate.ToString());
if (dt == null) return;
foreach (DataRow i in dt.Rows)
{
@ -127,6 +194,7 @@ namespace XGL.Views
order.process_id = i["route_code"].ToString();
order.attr1 = i["attr1"].ToString();
isbaiye= i["shift_id"].ToString();
order.totalCount = i["totalCount"].ToString();
if (isbaiye=="5")
{
order.isbai = "白班";
@ -152,6 +220,7 @@ namespace XGL.Views
{
this.dgWorkOrderInfo.ItemsSource = null;
this.dgWorkOrderInfo.ItemsSource = orderList;//dt.DefaultView;
dgWorkOrderInfo.SelectedIndex = 0;
}
),
System.Windows.Threading.DispatcherPriority.Render);
@ -169,9 +238,76 @@ namespace XGL.Views
{
List<FoamingMacModel> orderList = new List<FoamingMacModel>();
int currHour = DateTime.Now.Hour;
int currMinute = DateTime.Now.Minute;
//modelWareHouse = new List<WorkOrder>();
//userDbWareHouse = new DBService();
int shiftId = 0;
DataTable shiftlist = formingMachineService.GetShiftList();
string endTimeRecord = "";
string startTimeRecord = "";
foreach (DataRow shift in shiftlist.Rows)
{
string[] timeStart = shift["Shift_Start_Time"].ToString().Split(':');
string[] timeEnd = shift["Shift_End_Time"].ToString().Split(':');
// 创建两个不带日期的时间点
TimeSpan currTime = new TimeSpan(currHour, currMinute, 0); // 获取当前小时+分钟数
TimeSpan startTime = new TimeSpan(Convert.ToInt32(timeStart[0]), Convert.ToInt32(timeStart[1]), 0); // 表示9小时45分钟0秒
TimeSpan endTime = new TimeSpan(Convert.ToInt32(timeEnd[0]), Convert.ToInt32(timeEnd[1]), 0);
// 比较当前时间点和班次开始的时间点
int comparisonResultStart = TimeSpan.Compare(currTime, startTime);
// 比较当前时间点和班次结束的时间点
int comparisonResultEnd = TimeSpan.Compare(currTime, endTime);
//if (comparisonResultStart > 0) { Console.WriteLine("time1 大于 time2"); }
if (comparisonResultStart >= 0 && comparisonResultEnd < 0)
{
endTimeRecord = shift["Shift_Start_Time"].ToString();
startTimeRecord = shift["Shift_End_Time"].ToString();
shiftId = Convert.ToInt32(shift["shift_id"].ToString());
break;
}
else if (comparisonResultStart >= 0 || comparisonResultEnd < 0)
{
endTimeRecord = shift["Shift_Start_Time"].ToString();
startTimeRecord = shift["Shift_End_Time"].ToString();
shiftId = Convert.ToInt32(shift["shift_id"].ToString());
break;
}
//if (Convert.ToInt32(timeStart[0]) <= currHourWithDecimal && currHourWithDecimal < Convert.ToInt32(timeEnd[0]))
//{
// shiftId = shift.shiftId;
// break;
//}
//else if (currHourWithDecimal >= Convert.ToInt32(timeStart[0]) || currHourWithDecimal < Convert.ToInt32(timeEnd[0]))
//{
// shiftId = shift.shiftId;
// break;
//}
}
string[] endTimeReally = endTimeRecord.Split(':');
string[] startTimeReally = startTimeRecord.Split(':');
DateTime currShiftDate = DateTime.Now.Date;
TimeSpan currTimeNew = new TimeSpan(currHour, currMinute, 0); // 获取当前小时+分钟数
TimeSpan startTimeNew = new TimeSpan(Convert.ToInt32(startTimeReally[0]), Convert.ToInt32(startTimeReally[1]), 0); // 表示9小时45分钟0秒
TimeSpan endTimeNew = new TimeSpan(Convert.ToInt32(endTimeReally[0]), Convert.ToInt32(endTimeReally[1]), 0); // 表示9小时45分钟0秒
//计算白夜班工作日期用
int resultstart = TimeSpan.Compare(currTimeNew, startTimeNew);
// 比较当前时间点和班次结束的时间点
int resultEnd = TimeSpan.Compare(currTimeNew, endTimeNew);
//夜班、
if (resultstart < 0 && resultEnd < 0)
{
currShiftDate = DateTime.Now.Date.AddDays(-1);
}
//modelWareHouse = new List<WorkOrder>();
userDbWareHouse = new DBService();
DataTable dt = formingMachineService.GetFormingMachineInfo(deviceCode);
DataTable dt = formingMachineService.GetFormingMachineInfo(deviceCode,currShiftDate.ToString());
if (dt == null) return;
foreach (DataRow i in dt.Rows)
{

@ -1,2 +1,62 @@

//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlGeneratedNamespace {
/// <summary>
/// GeneratedInternalTypeHelper
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
/// <summary>
/// CreateInstance
/// </summary>
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
}
/// <summary>
/// GetPropertyValue
/// </summary>
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// SetPropertyValue
/// </summary>
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// CreateDelegate
/// </summary>
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
delegateType,
handler}, null)));
}
/// <summary>
/// AddEventHandler
/// </summary>
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
eventInfo.AddEventHandler(target, handler);
}
}
}

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Views\LanJu_Operator.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F3847F260B2AA5AA860550FA9CC5C0DD5E5EB17D5DB5AFA561237C65F7B3C7A9"
#pragma checksum "..\..\..\..\Views\LanJu_Operator.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B92E7E61C39C901A7FA4616B61E410627571E415C6089F472C16239020DF5B90"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
@ -98,7 +98,7 @@ namespace XGL.Views {
#line hidden
#line 517 "..\..\..\..\Views\LanJu_Operator.xaml"
#line 518 "..\..\..\..\Views\LanJu_Operator.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ContentControl Window1;
@ -216,13 +216,13 @@ namespace XGL.Views {
case 10:
this.dgWorkOrderInfo = ((System.Windows.Controls.DataGrid)(target));
#line 388 "..\..\..\..\Views\LanJu_Operator.xaml"
#line 389 "..\..\..\..\Views\LanJu_Operator.xaml"
this.dgWorkOrderInfo.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.dgWorkOrderInfo_LoadingRow);
#line default
#line hidden
#line 393 "..\..\..\..\Views\LanJu_Operator.xaml"
#line 394 "..\..\..\..\Views\LanJu_Operator.xaml"
this.dgWorkOrderInfo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgWorkOrderInfo_SelectionChanged);
#line default
@ -230,7 +230,7 @@ namespace XGL.Views {
return;
case 11:
#line 449 "..\..\..\..\Views\LanJu_Operator.xaml"
#line 450 "..\..\..\..\Views\LanJu_Operator.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.InOut_Click);
#line default

@ -1,5 +1,4 @@
// Updated by XamlIntelliSenseFileGenerator 2023-10-19 17:52:59
#pragma checksum "..\..\..\..\Views\LanJu_Operator.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F3847F260B2AA5AA860550FA9CC5C0DD5E5EB17D5DB5AFA561237C65F7B3C7A9"
#pragma checksum "..\..\..\..\Views\LanJu_Operator.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "B92E7E61C39C901A7FA4616B61E410627571E415C6089F472C16239020DF5B90"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
@ -34,217 +33,215 @@ using System.Windows.Shell;
using XGL.Tools;
namespace XGL.Views
{
namespace XGL.Views {
/// <summary>
/// LanJu_Operator
/// </summary>
public partial class LanJu_Operator : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector
{
#line default
#line hidden
#line 217 "..\..\..\..\Views\LanJu_Operator.xaml"
public partial class LanJu_Operator : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
#line 3 "..\..\..\..\Views\LanJu_Operator.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal XGL.Views.LanJu_Operator UCOperator;
#line default
#line hidden
#line 217 "..\..\..\..\Views\LanJu_Operator.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnPause;
#line default
#line hidden
#line 238 "..\..\..\..\Views\LanJu_Operator.xaml"
#line default
#line hidden
#line 238 "..\..\..\..\Views\LanJu_Operator.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnRecover;
#line default
#line hidden
#line 325 "..\..\..\..\Views\LanJu_Operator.xaml"
#line default
#line hidden
#line 325 "..\..\..\..\Views\LanJu_Operator.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnRefresh;
#line default
#line hidden
#line 344 "..\..\..\..\Views\LanJu_Operator.xaml"
#line default
#line hidden
#line 344 "..\..\..\..\Views\LanJu_Operator.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnCheckLog;
#line default
#line hidden
#line 364 "..\..\..\..\Views\LanJu_Operator.xaml"
#line default
#line hidden
#line 364 "..\..\..\..\Views\LanJu_Operator.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btnViewPlcvalue;
#line default
#line hidden
#line 378 "..\..\..\..\Views\LanJu_Operator.xaml"
#line default
#line hidden
#line 378 "..\..\..\..\Views\LanJu_Operator.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.DataGrid dgWorkOrderInfo;
#line default
#line hidden
#line 517 "..\..\..\..\Views\LanJu_Operator.xaml"
#line default
#line hidden
#line 518 "..\..\..\..\Views\LanJu_Operator.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ContentControl Window1;
#line default
#line hidden
#line default
#line hidden
private bool _contentLoaded;
/// <summary>
/// InitializeComponent
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
public void InitializeComponent()
{
if (_contentLoaded)
{
public void InitializeComponent() {
if (_contentLoaded) {
return;
}
_contentLoaded = true;
System.Uri resourceLocater = new System.Uri("/XGL;component/views/lanju_operator.xaml", System.UriKind.Relative);
#line 1 "..\..\..\..\Views\LanJu_Operator.xaml"
#line 1 "..\..\..\..\Views\LanJu_Operator.xaml"
System.Windows.Application.LoadComponent(this, resourceLocater);
#line default
#line hidden
#line default
#line hidden
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
{
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this.UCOperator = ((XGL.Views.LanJu_Operator)(target));
#line 12 "..\..\..\..\Views\LanJu_Operator.xaml"
this.UCOperator.Loaded += new System.Windows.RoutedEventHandler(this.UCOperator_Loaded);
#line default
#line hidden
return;
case 2:
this.btnPause = ((System.Windows.Controls.Button)(target));
#line 218 "..\..\..\..\Views\LanJu_Operator.xaml"
this.btnPause.Click += new System.Windows.RoutedEventHandler(this.btnPause_Click);
#line default
#line hidden
return;
case 3:
this.btnRecover = ((System.Windows.Controls.Button)(target));
#line 244 "..\..\..\..\Views\LanJu_Operator.xaml"
this.btnRecover.Click += new System.Windows.RoutedEventHandler(this.btnRecover_Click);
#line default
#line hidden
return;
case 4:
#line 265 "..\..\..\..\Views\LanJu_Operator.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Flow_Click);
#line default
#line hidden
return;
case 5:
#line 286 "..\..\..\..\Views\LanJu_Operator.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Material_Click);
#line default
#line hidden
return;
case 6:
#line 308 "..\..\..\..\Views\LanJu_Operator.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
#line default
#line hidden
return;
case 7:
this.btnRefresh = ((System.Windows.Controls.Button)(target));
#line 336 "..\..\..\..\Views\LanJu_Operator.xaml"
this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);
#line default
#line hidden
return;
case 8:
this.btnCheckLog = ((System.Windows.Controls.Button)(target));
#line 355 "..\..\..\..\Views\LanJu_Operator.xaml"
this.btnCheckLog.Click += new System.Windows.RoutedEventHandler(this.btnCheckLog_Click);
#line default
#line hidden
return;
case 9:
this.btnViewPlcvalue = ((System.Windows.Controls.Button)(target));
#line 375 "..\..\..\..\Views\LanJu_Operator.xaml"
this.btnViewPlcvalue.Click += new System.Windows.RoutedEventHandler(this.btnViewPlcvalue_Click);
#line default
#line hidden
return;
case 10:
this.dgWorkOrderInfo = ((System.Windows.Controls.DataGrid)(target));
#line 388 "..\..\..\..\Views\LanJu_Operator.xaml"
this.dgWorkOrderInfo.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.dgWorkOrderInfo_LoadingRow);
#line default
#line hidden
#line 393 "..\..\..\..\Views\LanJu_Operator.xaml"
this.dgWorkOrderInfo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgWorkOrderInfo_SelectionChanged);
#line default
#line hidden
return;
case 11:
#line 449 "..\..\..\..\Views\LanJu_Operator.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.InOut_Click);
#line default
#line hidden
return;
case 12:
this.Window1 = ((System.Windows.Controls.ContentControl)(target));
return;
case 1:
this.UCOperator = ((XGL.Views.LanJu_Operator)(target));
#line 12 "..\..\..\..\Views\LanJu_Operator.xaml"
this.UCOperator.Loaded += new System.Windows.RoutedEventHandler(this.UCOperator_Loaded);
#line default
#line hidden
return;
case 2:
this.btnPause = ((System.Windows.Controls.Button)(target));
#line 218 "..\..\..\..\Views\LanJu_Operator.xaml"
this.btnPause.Click += new System.Windows.RoutedEventHandler(this.btnPause_Click);
#line default
#line hidden
return;
case 3:
this.btnRecover = ((System.Windows.Controls.Button)(target));
#line 244 "..\..\..\..\Views\LanJu_Operator.xaml"
this.btnRecover.Click += new System.Windows.RoutedEventHandler(this.btnRecover_Click);
#line default
#line hidden
return;
case 4:
#line 265 "..\..\..\..\Views\LanJu_Operator.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Flow_Click);
#line default
#line hidden
return;
case 5:
#line 286 "..\..\..\..\Views\LanJu_Operator.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Material_Click);
#line default
#line hidden
return;
case 6:
#line 308 "..\..\..\..\Views\LanJu_Operator.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
#line default
#line hidden
return;
case 7:
this.btnRefresh = ((System.Windows.Controls.Button)(target));
#line 336 "..\..\..\..\Views\LanJu_Operator.xaml"
this.btnRefresh.Click += new System.Windows.RoutedEventHandler(this.btnRefresh_Click);
#line default
#line hidden
return;
case 8:
this.btnCheckLog = ((System.Windows.Controls.Button)(target));
#line 355 "..\..\..\..\Views\LanJu_Operator.xaml"
this.btnCheckLog.Click += new System.Windows.RoutedEventHandler(this.btnCheckLog_Click);
#line default
#line hidden
return;
case 9:
this.btnViewPlcvalue = ((System.Windows.Controls.Button)(target));
#line 375 "..\..\..\..\Views\LanJu_Operator.xaml"
this.btnViewPlcvalue.Click += new System.Windows.RoutedEventHandler(this.btnViewPlcvalue_Click);
#line default
#line hidden
return;
case 10:
this.dgWorkOrderInfo = ((System.Windows.Controls.DataGrid)(target));
#line 389 "..\..\..\..\Views\LanJu_Operator.xaml"
this.dgWorkOrderInfo.LoadingRow += new System.EventHandler<System.Windows.Controls.DataGridRowEventArgs>(this.dgWorkOrderInfo_LoadingRow);
#line default
#line hidden
#line 394 "..\..\..\..\Views\LanJu_Operator.xaml"
this.dgWorkOrderInfo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgWorkOrderInfo_SelectionChanged);
#line default
#line hidden
return;
case 11:
#line 450 "..\..\..\..\Views\LanJu_Operator.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.InOut_Click);
#line default
#line hidden
return;
case 12:
this.Window1 = ((System.Windows.Controls.ContentControl)(target));
return;
}
this._contentLoaded = true;
}
internal System.Windows.Controls.UserControl UCOperator;
}
}

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Views\LanJu_Prepare.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "76BD54D8BF0F6E7A8ECE2C47CABDF52FA9C4E66EFEDF9883C833C0084D24E9C7"
#pragma checksum "..\..\..\..\Views\LanJu_Prepare.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "33D69CB452FE5F2299BE31D78D3CBA48CA38056C209EE3FE643789B3726A24D3"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。

@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Views\LanJu_Prepare.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "76BD54D8BF0F6E7A8ECE2C47CABDF52FA9C4E66EFEDF9883C833C0084D24E9C7"
#pragma checksum "..\..\..\..\Views\LanJu_Prepare.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "33D69CB452FE5F2299BE31D78D3CBA48CA38056C209EE3FE643789B3726A24D3"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。

@ -1,4 +1,4 @@
D:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\obj\x86\Debug\GeneratedInternalTypeHelper.g.cs

FD:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\FormItem\FormBlankingBoard.xaml;;
FD:\WorkSpace\KHD\Project\Lanju\Lanju-client\shangjian\XGL\FormItem\FormBoard.xaml;;

Loading…
Cancel
Save