mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
use '=', '<' and '>' as Compare arg of predicate
This commit is contained in:
parent
b6f248e8a6
commit
92a4c7bbbe
@ -241,6 +241,12 @@ def GetCriterion(elementType,
|
||||
|
||||
if Compare in [FT_LessThan, FT_MoreThan, FT_EqualTo]:
|
||||
aCriterion.Compare = EnumToLong(Compare)
|
||||
elif Compare == "=" or Compare == "==":
|
||||
aCriterion.Compare = EnumToLong(FT_EqualTo)
|
||||
elif Compare == "<":
|
||||
aCriterion.Compare = EnumToLong(FT_LessThan)
|
||||
elif Compare == ">":
|
||||
aCriterion.Compare = EnumToLong(FT_MoreThan)
|
||||
else:
|
||||
aCriterion.Compare = EnumToLong(FT_EqualTo)
|
||||
aTreshold = Compare
|
||||
|
Loading…
Reference in New Issue
Block a user