mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Conditions - Removed old systems
Data bindings - Removed old systems Data bindings - Implemented node system
This commit is contained in:
1 parent
32d4ec2812
commit
5675d1895b
157 files changed
+784
-8802
No files matched your search
@@ -1,14 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile.DataBindings
|
||||
{
|
||||
public class ConditionalDataBindingEntity : IDataBindingModeEntity
|
||||
{
|
||||
public ConditionalDataBindingEntity()
|
||||
{
|
||||
Values = new List<DataBindingConditionEntity>();
|
||||
}
|
||||
|
||||
public List<DataBindingConditionEntity> Values { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
using Artemis.Storage.Entities.Profile.Conditions;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile.DataBindings
|
||||
{
|
||||
public class DataBindingConditionEntity
|
||||
{
|
||||
public string Value { get; set; }
|
||||
public DataModelConditionGroupEntity Condition { get; set; }
|
||||
public int Order { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using Artemis.Storage.Entities.Profile.Nodes;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile.DataBindings
|
||||
{
|
||||
@@ -7,7 +8,7 @@ namespace Artemis.Storage.Entities.Profile.DataBindings
|
||||
public string Identifier { get; set; }
|
||||
public TimeSpan EasingTime { get; set; }
|
||||
public int EasingFunction { get; set; }
|
||||
|
||||
public IDataBindingModeEntity DataBindingMode { get; set; }
|
||||
|
||||
public NodeScriptEntity NodeScript { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile.DataBindings
|
||||
{
|
||||
public class DataBindingModifierEntity
|
||||
{
|
||||
public string ModifierType { get; set; }
|
||||
public Guid? ModifierTypePluginGuid { get; set; }
|
||||
|
||||
public int Order { get; set; }
|
||||
public int ParameterType { get; set; }
|
||||
|
||||
public DataModelPathEntity ParameterPath { get; set; }
|
||||
|
||||
// Stored as a string to be able to control serialization and deserialization ourselves
|
||||
public string ParameterStaticValue { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile.DataBindings
|
||||
{
|
||||
public class DirectDataBindingEntity : IDataBindingModeEntity
|
||||
{
|
||||
public DirectDataBindingEntity()
|
||||
{
|
||||
Modifiers = new List<DataBindingModifierEntity>();
|
||||
}
|
||||
|
||||
public DataModelPathEntity SourcePath { get; set; }
|
||||
public List<DataBindingModifierEntity> Modifiers { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
namespace Artemis.Storage.Entities.Profile.DataBindings
|
||||
{
|
||||
public interface IDataBindingModeEntity
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -6,14 +6,5 @@ namespace Artemis.Storage.Entities.Profile
|
||||
{
|
||||
public string Path { get; set; }
|
||||
public string DataModelId { get; set; }
|
||||
|
||||
public PathWrapperType WrapperType { get; set; }
|
||||
}
|
||||
|
||||
public enum PathWrapperType
|
||||
{
|
||||
None,
|
||||
List,
|
||||
Event
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using Artemis.Storage.Entities.Profile.Conditions;
|
||||
using Artemis.Storage.Entities.Profile.Nodes;
|
||||
|
||||
namespace Artemis.Storage.Entities.Profile
|
||||
{
|
||||
@@ -13,7 +14,7 @@ namespace Artemis.Storage.Entities.Profile
|
||||
|
||||
public bool IsSuspended { get; set; }
|
||||
public int ActivationBehaviour { get; set; }
|
||||
public DataModelConditionGroupEntity ActivationCondition { get; set; }
|
||||
public NodeScriptEntity ActivationCondition { get; set; }
|
||||
|
||||
public int HotkeyMode { get; set; }
|
||||
public ProfileConfigurationHotkeyEntity EnableHotkey { get; set; }
|
||||
|
||||
Reference in new issue
Block a user