修正函数调用时记录项与测试表格对应问题
This commit is contained in:
@@ -198,9 +198,9 @@ Namespace UTSModule.Test
|
||||
_callNodeList.Add(node, New List(Of Integer) From {row})
|
||||
End If
|
||||
Else
|
||||
_rowList.Add(row, node)
|
||||
_nodeList.Add(node, row)
|
||||
End If
|
||||
_rowList.Add(row, node)
|
||||
|
||||
If node.SaveToDb Then
|
||||
_recodeRow.Add(row)
|
||||
@@ -371,6 +371,9 @@ Namespace UTSModule.Test
|
||||
End With
|
||||
End Sub
|
||||
|
||||
|
||||
Private lastNode As RowNode
|
||||
|
||||
''' <summary>
|
||||
''' 获取当前节点所在的记录行,0代表未找到对应节点
|
||||
''' </summary>
|
||||
@@ -381,13 +384,26 @@ Namespace UTSModule.Test
|
||||
If _nodeList.ContainsKey(node) Then
|
||||
row = _nodeList(node)
|
||||
ElseIf _callNodeList.ContainsKey(node) Then
|
||||
If _callNodeUpdateCount.ContainsKey(node) Then
|
||||
_callNodeUpdateCount(node) += 1
|
||||
If lastNode IsNot Nothing AndAlso lastNode.RowIndex = node.RowIndex Then
|
||||
|
||||
Else
|
||||
_callNodeUpdateCount.Add(node, 0)
|
||||
If _callNodeUpdateCount.ContainsKey(node) Then
|
||||
_callNodeUpdateCount(node) += 1
|
||||
Else
|
||||
_callNodeUpdateCount.Add(node, 0)
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
row = _callNodeList(node)(_callNodeUpdateCount(node))
|
||||
Dim index As Integer = _callNodeUpdateCount(node)
|
||||
If index >= _callNodeList(node).Count Then
|
||||
Console.WriteLine($"Error index:{node.RowIndex} - {node.Description}")
|
||||
row = _callNodeList(node).Count
|
||||
Else
|
||||
row = _callNodeList(node)(index)
|
||||
End If
|
||||
|
||||
lastNode = node
|
||||
End If
|
||||
Return row
|
||||
End Function
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
699509ef63c9fe7d057394fa581db0586651606c65fb3d5880b51f45c10bdd62
|
||||
d50386964020d7b08b002230465408748f1be424
|
||||
|
||||
@@ -111,3 +111,59 @@ D:\ML\Wen\AUTS\UTS_Core\obj\Debug\UTS_Core.vbproj.Up2Date
|
||||
D:\ML\Wen\AUTS\UTS_Core\obj\Debug\UTS_Core.dll
|
||||
D:\ML\Wen\AUTS\UTS_Core\obj\Debug\UTS_Core.xml
|
||||
D:\ML\Wen\AUTS\UTS_Core\obj\Debug\UTS_Core.pdb
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\UTS_Core.dll.config
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\UTS_Core.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\UTS_Core.pdb
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\UTS_Core.xml
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\BouncyCastle.Crypto.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\FlexCell.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\FluentFTP.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\Google.Protobuf.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\K4os.Compression.LZ4.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\K4os.Compression.LZ4.Streams.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\K4os.Hash.xxHash.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\MySql.Data.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\Newtonsoft.Json.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\SharpCompress.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\System.Buffers.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\System.Memory.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\System.Numerics.Vectors.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\System.Text.Encoding.CodePages.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\TeeChart.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\Ubiety.Dns.Core.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\Zstandard.Net.dll
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\FluentFTP.xml
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\Google.Protobuf.pdb
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\Google.Protobuf.xml
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\K4os.Compression.LZ4.xml
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\K4os.Compression.LZ4.Streams.xml
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\K4os.Hash.xxHash.xml
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\MySql.Data.xml
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\Newtonsoft.Json.xml
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\System.Buffers.xml
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\System.Memory.xml
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\System.Numerics.Vectors.xml
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\System.Runtime.CompilerServices.Unsafe.xml
|
||||
E:\Git\AUTS\UTS_Core\bin\Debug\System.Text.Encoding.CodePages.xml
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.vbprojAssemblyReference.cache
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.Resources.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UTSModule.Login.LoginForm.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UTSModule.Project.DlgCreateProject.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UTSModule.Project.DlgLoadProject.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UTSModule.Project.FrmProject.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UserControl1.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UTSModule.Station.DlgLoadStation.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UTSModule.Station.DlgStationPlanStyle.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UTSModule.Station.FrmStationDesign.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UTSModule.Station.FrmStationPlan.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UTSModule.Test.Controls.UtsInputBox.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UTSModule.Test.Controls.utsLabel.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UTSModule.Test.Controls.UtsMsgBox.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.UTSModule.Test.FrmStationTest.resources
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.vbproj.GenerateResource.cache
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.vbproj.CoreCompileInputs.cache
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.vbproj.CopyComplete
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.dll
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.xml
|
||||
E:\Git\AUTS\UTS_Core\obj\Debug\UTS_Core.pdb
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user