FirstStartMassCollectionSeq changes in progress

This commit is contained in:
Milan Hanajik
2017-07-27 16:38:46 +03:00
parent c9d3480c58
commit 8d623ae8fa
@@ -374,8 +374,14 @@ namespace TBF.BenchControl.TestMethods.FixedStartMassCollection
///
GenericDevices.IHasWMStatesForm dataEntryCmpnt =
TbfComponents.FindComponent(StateMachine.Procedure.DataEntry) as GenericDevices.IHasWMStatesForm;
if (dataEntryCmpnt != null)
{
if (dataEntryCmpnt is GenericDevices.IDataEntry && (dataEntryCmpnt as GenericDevices.IDataEntry).UsesCameras())
{
}
Bridge.OnActivity(this, Strings.Enter_water_meter_data);
State.Create(string.Format("{0}({1}) : Entering begin-state", test.Method, test.Name))
.AddOperation((dataEntryCmpnt as GenericDevices.IHasWMStatesForm).ShowTestStartFormOp())