异常显示添加错误信息轮询显示
This commit is contained in:
commit
bf161904a9
5 files changed
+29
-23
No files matched your search
@@ -90,7 +90,7 @@
|
||||
</DataGrid>
|
||||
<Grid Width="600" Margin="0,40,0,0" HorizontalAlignment="Left" >
|
||||
<ScrollViewer VerticalScrollBarVisibility="Auto" PanningMode="VerticalOnly">
|
||||
<TextBlock x:Name="log" TextWrapping="Wrap" FontSize="25" Background="White"
|
||||
<TextBlock x:Name="log" FontSize="25" Background="White"
|
||||
Text="{Binding Sys_log}" />
|
||||
</ScrollViewer>
|
||||
<DataGrid x:Name="Receip" IsHitTestVisible="False" Visibility="Collapsed"
|
||||
|
||||
@@ -199,7 +199,6 @@ namespace DyeingComputer.View
|
||||
Parameter_set.ItemsSource = tblDatas.DefaultView;
|
||||
|
||||
}
|
||||
|
||||
private void Parameter_set_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e)
|
||||
{
|
||||
string VID;
|
||||
@@ -247,7 +246,6 @@ namespace DyeingComputer.View
|
||||
}
|
||||
}//参数设置
|
||||
|
||||
|
||||
DataTable tblDatas = new DataTable("Datas");
|
||||
public static object workName;
|
||||
public static SQLiteHelper SQLiteHelpers = null; //定义数据库
|
||||
@@ -284,7 +282,6 @@ namespace DyeingComputer.View
|
||||
}
|
||||
SQLiteHelpers.Close(); //关闭连接
|
||||
}
|
||||
|
||||
private void TechnologicalProcess_sql()
|
||||
{
|
||||
SQLiteHelpers = new SQLiteHelper(DBAddress); //数据库连接路径
|
||||
@@ -309,7 +306,6 @@ namespace DyeingComputer.View
|
||||
// FocusManager.SetFocusedElement(Grid, Grid);
|
||||
// Grid.DataContext = new MainWindowViewModel();
|
||||
}
|
||||
|
||||
private void UserControl_KeyDown(object sender, KeyEventArgs e) //键盘监控
|
||||
{
|
||||
if (errTabler.Rows.Count == 0)//无错误信息
|
||||
@@ -384,8 +380,7 @@ namespace DyeingComputer.View
|
||||
APILog.LOGlog(MainWindowViewModel.WorkNumder.ToString(), "UserActions", "STEP = " + n,
|
||||
"StepID="+ e.StepID + ";StepName="+ e.StepNAME+";P1="+ e.P1+
|
||||
";P2="+ e.P2+";P3="+ e.P3+";P4="+ e.P4+";P5="+ e.P5);
|
||||
User_Button = true;
|
||||
|
||||
User_Button = true;
|
||||
}
|
||||
public static void Dat()//行号刷新
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user