ZooFlow: Remove modcurrent, move flowsearch, small changes

This commit is contained in:
Jonathan Jenne
2021-01-12 10:58:27 +01:00
parent e8358e2921
commit 6fd11a09c7
13 changed files with 38 additions and 29 deletions

View File

@@ -281,22 +281,23 @@ Public Class ClassInit
For Each oLine In oLines
_Logger.Debug(oLine.Trim)
If oLine = "NO_BASICCONF" Then
NOBASIC_CONF = True
My.Application.User.HideBasicConfig = True
ElseIf oLine.StartsWith("SEARCH_STRING_ATTRID") Then
Try
Dim oResult = oLine.Replace("SEARCH_STRING_ATTRID=", "")
SEARCH_STRING_ATTRID = oResult
My.Application.Search.StringAttributeId = Long.Parse(oResult)
Catch ex As Exception
SEARCH_STRING_ATTRID = ""
My.Application.Search.StringAttributeId = -1
End Try
ElseIf oLine.StartsWith("SEARCH_INT_ATTRID") Then
Try
Dim oResult = oLine.Replace("SEARCH_INT_ATTRID=", "")
SEARCH_INTEGER_ATTRID = oResult
Catch ex As Exception
SEARCH_INTEGER_ATTRID = ""
End Try
My.Application.Search.IntegerAttributeId = Long.Parse(oResult)
Catch ex As Exception
My.Application.Search.IntegerAttributeId = -1
End Try
Else
_Logger.Info($"Wrong WorkingMode: {oLine}")
End If