|
楼主 |
发表于 2020-1-28 21:36:02
|
显示全部楼层
Sub addSam()
Dim intDir As Integer
Dim intRI As Integer
Dim I As Integer
'-------------------------------
'查询各机构状态,按动作顺序动作
'--------------------------------
Select Case stepI(0)
Case 0
Call ZeroInjector(&HFC)
stepI(0) = 1
For intRI = intEndpointStartReagent To intEndpointEndReagent - 1
If intAddSamNum + intEndpointStart = intSameReagent(intRI) Then
If intAddSamNum >= 1 Then
If intSamAddWater < 2 then sngWashTimeFC = 3
Exit For
Else
sngWashTimeFC = 1.1
End If
End If
If boolSamBlank(intNowReagentFC) = False Then
sngWashTimeFC = 3
Else
sngWashTimeFC = 1.1
End If
Exit For
End If
Next intRI
Case 1
下面都是类似的代码 |
|