Condition operators - Marked built-in operators as internal

Display conditions - Added docs to the service and profile types
Color gradient - Added docs
Storage - Moved profile entities to separate namespaces
Data bindings - Added entities to storage
Data bindings - Started implementing in the core
This commit is contained in:
SpoinkyNL committed 2020-08-30 23:09:38 +02:00
1 parent d34992c719
commit e5d1b7b23f
43 files changed
+1059 -324

No files matched your search

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using Artemis.Storage.Entities.Profile.Conditions;
namespace Artemis.Storage.Entities.Profile.Abstract
{
@@ -1,9 +1,7 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.Generic;
using Artemis.Storage.Entities.Profile.Abstract;
namespace Artemis.Storage.Entities.Profile
namespace Artemis.Storage.Entities.Profile.Conditions
{
public class DisplayConditionGroupEntity : DisplayConditionPartEntity
{
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using Artemis.Storage.Entities.Profile.Abstract;
namespace Artemis.Storage.Entities.Profile
namespace Artemis.Storage.Entities.Profile.Conditions
{
public class DisplayConditionListEntity : DisplayConditionPartEntity
{
@@ -1,7 +1,7 @@
using System;
using Artemis.Storage.Entities.Profile.Abstract;
namespace Artemis.Storage.Entities.Profile
namespace Artemis.Storage.Entities.Profile.Conditions
{
public class DisplayConditionListPredicateEntity : DisplayConditionPartEntity
{
@@ -1,7 +1,7 @@
using System;
using Artemis.Storage.Entities.Profile.Abstract;
namespace Artemis.Storage.Entities.Profile
namespace Artemis.Storage.Entities.Profile.Conditions
{
public class DisplayConditionPredicateEntity : DisplayConditionPartEntity
{
@@ -1,6 +1,6 @@
using System;
namespace Artemis.Storage.Entities.Profile
namespace Artemis.Storage.Entities.Profile.Conditions
{
public class ProfileConditionEntity
{
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
namespace Artemis.Storage.Entities.Profile.DataBindings
{
public class DataBindingEntity
{
public DataBindingEntity()
{
Modifiers = new List<DataBindingModifierEntity>();
}
public Guid? SourceDataModelGuid { get; set; }
public string SourcePropertyPath { get; set; }
public int DataBindingMode { get; set; }
public TimeSpan EasingTime { get; set; }
public int EasingFunction { get; set; }
public List<DataBindingModifierEntity> Modifiers { get; set; }
}
}
@@ -0,0 +1,19 @@
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 Guid? ParameterDataModelGuid { get; set; }
public string ParameterPropertyPath { get; set; }
// Stored as a string to be able to control serialization and deserialization ourselves
public string ParameterStaticValue { get; set; }
}
}
@@ -0,0 +1,12 @@
using System;
namespace Artemis.Storage.Entities.Profile
{
public class KeyframeEntity
{
public TimeSpan Position { get; set; }
public int Timeline { get; set; }
public string Value { get; set; }
public int EasingFunction { get; set; }
}
}
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using Artemis.Storage.Entities.Profile.DataBindings;
namespace Artemis.Storage.Entities.Profile
{
@@ -17,13 +18,6 @@ namespace Artemis.Storage.Entities.Profile
public bool KeyframesEnabled { get; set; }
public List<KeyframeEntity> KeyframeEntities { get; set; }
}
public class KeyframeEntity
{
public TimeSpan Position { get; set; }
public int Timeline { get; set; }
public string Value { get; set; }
public int EasingFunction { get; set; }
public DataBindingEntity DataBindingEntity { get; set; }
}
}