This commit is contained in:
Andy Howard
2024-11-19 09:47:00 +00:00
parent c5ee285e27
commit 8b872cc8f3
214 changed files with 7924 additions and 5519 deletions
+4 -4
View File
@@ -626,8 +626,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Bus
public new class Params : SacsHierarchyItem.Params
{
// List filtering.
public List<SysId> IncludedIds { get; } = new List<SysId>();
public List<SysId> ExcludedIds { get; } = new List<SysId>();
public List<SysId> IdsIncluded { get; } = new List<SysId>();
public List<SysId> IdsExcluded { get; } = new List<SysId>();
// Asset.
public SysId AssetCatId { get; set; }
public String Search { get; set; }
@@ -646,8 +646,8 @@ namespace Sarand.BusinessMgr.Net.Standard.Base.Bus
{
List<StringPair> value = new List<StringPair>();
if (IncludedIds.Count > 0) value.Add("Assets included", IncludedIds.ToString());
if (ExcludedIds.Count > 0) value.Add("Assets excluded", ExcludedIds.ToString());
if (IdsIncluded.Count > 0) value.Add("Assets included", IdsIncluded.ToString());
if (IdsExcluded.Count > 0) value.Add("Assets excluded", IdsExcluded.ToString());
if (SysId.IsValid(AssetCatId)) value.Add("Asset category Id", AssetCatId.ToString());
if (ItemType > 0) value.Add("Item type", ItemType.ToString());
if (ItemId.IsValid(ItemId)) value.Add("Item Id", ItemId.ToString());