mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Storage - Display conditions WIP
This commit is contained in:
1 parent
94f3d84530
commit
f39e4d719c
14 files changed
+92
-18
No files matched your search
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile.Abstract
|
||||
{
|
||||
public abstract class DisplayConditionPartEntity
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid ParentId { get; set; }
|
||||
|
||||
public List<DisplayConditionPartEntity> Children { get; set; }
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile
|
||||
namespace Artemis.Storage.Entities.Profile.Abstract
|
||||
{
|
||||
public abstract class EffectsEntity : PropertiesEntity
|
||||
{
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile
|
||||
namespace Artemis.Storage.Entities.Profile.Abstract
|
||||
{
|
||||
public abstract class PropertiesEntity
|
||||
{
|
||||
@@ -1,11 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile
|
||||
{
|
||||
public class BrushEntity
|
||||
{
|
||||
public Guid BrushPluginGuid { get; set; }
|
||||
public string BrushType { get; set; }
|
||||
public string Configuration { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Artemis.Storage.Entities.Profile.Abstract;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile
|
||||
{
|
||||
public class DisplayConditionGroupEntity : DisplayConditionPartEntity
|
||||
{
|
||||
public DisplayConditionGroupEntity()
|
||||
{
|
||||
Children = new List<DisplayConditionPartEntity>();
|
||||
}
|
||||
|
||||
public int BooleanOperator { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,9 @@
|
||||
using System;
|
||||
using Artemis.Storage.Entities.Profile.Abstract;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile
|
||||
{
|
||||
public class DisplayConditionPredicateEntity
|
||||
public class DisplayConditionPredicateEntity : DisplayConditionPartEntity
|
||||
{
|
||||
public Guid LeftDataModelGuid { get; set; }
|
||||
public string LeftPropertyPath { get; set; }
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Artemis.Storage.Entities.Profile.Abstract;
|
||||
using LiteDB;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile
|
||||
@@ -9,7 +10,6 @@ namespace Artemis.Storage.Entities.Profile
|
||||
public FolderEntity()
|
||||
{
|
||||
PropertyEntities = new List<PropertyEntity>();
|
||||
Conditions = new List<ProfileConditionEntity>();
|
||||
LayerEffects = new List<LayerEffectEntity>();
|
||||
ExpandedPropertyGroups = new List<string>();
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Artemis.Storage.Entities.Profile.Abstract;
|
||||
using LiteDB;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile
|
||||
@@ -10,7 +11,6 @@ namespace Artemis.Storage.Entities.Profile
|
||||
{
|
||||
Leds = new List<LedEntity>();
|
||||
PropertyEntities = new List<PropertyEntity>();
|
||||
Conditions = new List<ProfileConditionEntity>();
|
||||
LayerEffects = new List<LayerEffectEntity>();
|
||||
ExpandedPropertyGroups = new List<string>();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user