diff --git a/AUTS_Win/bin/Debug/UTS_Core.dll b/AUTS_Win/bin/Debug/UTS_Core.dll index c228975..93667b2 100644 Binary files a/AUTS_Win/bin/Debug/UTS_Core.dll and b/AUTS_Win/bin/Debug/UTS_Core.dll differ diff --git a/AUTS_Win/bin/Debug/UTS_Core.pdb b/AUTS_Win/bin/Debug/UTS_Core.pdb index 4f4ceea..9997a4e 100644 Binary files a/AUTS_Win/bin/Debug/UTS_Core.pdb and b/AUTS_Win/bin/Debug/UTS_Core.pdb differ diff --git a/AUTS_Win/obj/Debug/AUTS_Win.vbproj.AssemblyReference.cache b/AUTS_Win/obj/Debug/AUTS_Win.vbproj.AssemblyReference.cache index d563297..d790fea 100644 Binary files a/AUTS_Win/obj/Debug/AUTS_Win.vbproj.AssemblyReference.cache and b/AUTS_Win/obj/Debug/AUTS_Win.vbproj.AssemblyReference.cache differ diff --git a/UTS_Core/UTSModule/Station/RowNode.vb b/UTS_Core/UTSModule/Station/RowNode.vb index c85b36a..0866c75 100644 --- a/UTS_Core/UTSModule/Station/RowNode.vb +++ b/UTS_Core/UTSModule/Station/RowNode.vb @@ -268,7 +268,7 @@ Namespace UTSModule.Station CanDelete = True CanChangeLever = True Case RowTypeEnum.Flow - CanAddChildNode = False + CanAddChildNode = True CanChangeContent = True CanDelete = True CanChangeLever = True diff --git a/UTS_Core/UTSModule/Station/StationPlanGrid.vb b/UTS_Core/UTSModule/Station/StationPlanGrid.vb index 186736c..4eb0df2 100644 --- a/UTS_Core/UTSModule/Station/StationPlanGrid.vb +++ b/UTS_Core/UTSModule/Station/StationPlanGrid.vb @@ -1392,7 +1392,6 @@ Namespace UTSModule.Station Public Sub SetNodeRecordShowMode(recode As Boolean) If _headNode Is Nothing Then Return - ' _grd.AutoRedraw = False LockGridAutoRedraw() For i As Integer = 0 To _headNode.RowList.Count - 1 @@ -1414,8 +1413,7 @@ Namespace UTSModule.Station Next UnLockGridAutoRedraw() - '_grd.AutoRedraw = True - '_grd.Refresh() + End Sub Public Sub SetNodeExpand(expand As Boolean) @@ -1427,27 +1425,11 @@ Namespace UTSModule.Station If _headNode.RowList(i).RowType = RowNode.RowTypeEnum.FixedModule Then _grd.Row(i).Visible = True - '隐藏Main节点的子节点 - '_headNode.RowList(i).Expanded = expand - 'For Each node As RowNode In _headNode.RowList(i).Children - ' _grd.Row(node.RowListIndex).Visible = expand - 'Next ElseIf _headNode.RowList(i).RowType = RowNode.RowTypeEnum.Module Then _headNode.RowList(i).Expanded = expand For Each node As RowNode In _headNode.RowList(i).Children _grd.Row(node.RowListIndex).Visible = expand - - - 'If expand Then - ' If String.IsNullOrEmpty(node.Description) AndAlso String.IsNullOrEmpty(node.CommandType) Then - ' _grd.Row(node.RowListIndex).Visible = False - ' Else - ' _grd.Row(node.RowListIndex).Visible = True - ' End If - 'Else - ' _grd.Row(node.RowListIndex).Visible = False - 'End If Next Else If expand Then diff --git a/UTS_Core/bin/Debug/UTS_Core.dll b/UTS_Core/bin/Debug/UTS_Core.dll index c228975..93667b2 100644 Binary files a/UTS_Core/bin/Debug/UTS_Core.dll and b/UTS_Core/bin/Debug/UTS_Core.dll differ diff --git a/UTS_Core/bin/Debug/UTS_Core.pdb b/UTS_Core/bin/Debug/UTS_Core.pdb index 4f4ceea..9997a4e 100644 Binary files a/UTS_Core/bin/Debug/UTS_Core.pdb and b/UTS_Core/bin/Debug/UTS_Core.pdb differ diff --git a/UTS_Core/obj/Debug/UTS_Core.dll b/UTS_Core/obj/Debug/UTS_Core.dll index c228975..93667b2 100644 Binary files a/UTS_Core/obj/Debug/UTS_Core.dll and b/UTS_Core/obj/Debug/UTS_Core.dll differ diff --git a/UTS_Core/obj/Debug/UTS_Core.pdb b/UTS_Core/obj/Debug/UTS_Core.pdb index 4f4ceea..9997a4e 100644 Binary files a/UTS_Core/obj/Debug/UTS_Core.pdb and b/UTS_Core/obj/Debug/UTS_Core.pdb differ