DataEntry.Camera (1) loads next image after 'Enter' key, (2) dealing with test parts fixed.
This commit is contained in:
@@ -63,7 +63,15 @@ namespace TBF.UI.Bench.Paths
|
||||
sharedButtons.DownClicked += downButton_Click;
|
||||
|
||||
/// Load the list of components from the database
|
||||
TbfComponents = BenchControl.TbfComponents.LoadComponentsFromDB(Config.FluentCommon.CreateSession(Users.Entities.DBKind.Config));
|
||||
try
|
||||
{
|
||||
TbfComponents = BenchControl.TbfComponents.LoadComponentsFromDB(Config.FluentCommon.CreateSession(Users.Entities.DBKind.Config));
|
||||
}
|
||||
catch
|
||||
{
|
||||
TbfComponents = new List<BenchControl.Generic.IComponent>();
|
||||
MessageBox.Show("Error occured when loading components");
|
||||
}
|
||||
|
||||
/// Find all master valves
|
||||
Valves = BenchControl.GenericDevices.ValveBase.MasterValves(TbfComponents);
|
||||
|
||||
Reference in New Issue
Block a user