mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Fix build
This commit is contained in:
1 parent
bb56a45a7f
commit
e18195c277
4 files changed
+31
-14
No files matched your search
@@ -11,8 +11,22 @@ namespace Artemis.Core.Models.Profile
|
||||
{
|
||||
public class Profile : IProfileElement
|
||||
{
|
||||
internal Profile(PluginInfo pluginInfo, string name)
|
||||
{
|
||||
ProfileEntity = new ProfileEntity {RootFolder = new FolderEntity()};
|
||||
Guid = System.Guid.NewGuid().ToString();
|
||||
|
||||
PluginInfo = pluginInfo;
|
||||
Name = name;
|
||||
|
||||
Children = new List<IProfileElement>();
|
||||
}
|
||||
|
||||
internal Profile(PluginInfo pluginInfo, ProfileEntity profileEntity, IPluginService pluginService)
|
||||
{
|
||||
ProfileEntity = profileEntity;
|
||||
Guid = profileEntity.Guid;
|
||||
|
||||
PluginInfo = pluginInfo;
|
||||
Name = profileEntity.Name;
|
||||
|
||||
@@ -20,16 +34,11 @@ namespace Artemis.Core.Models.Profile
|
||||
Children = new List<IProfileElement> {Folder.FromFolderEntity(this, profileEntity.RootFolder, pluginService)};
|
||||
}
|
||||
|
||||
internal Profile(PluginInfo pluginInfo, string name)
|
||||
{
|
||||
PluginInfo = pluginInfo;
|
||||
Name = name;
|
||||
|
||||
Children = new List<IProfileElement>();
|
||||
}
|
||||
|
||||
public PluginInfo PluginInfo { get; }
|
||||
public bool IsActivated { get; private set; }
|
||||
|
||||
internal ProfileEntity ProfileEntity { get; set; }
|
||||
internal string Guid { get; set; }
|
||||
public int Order { get; set; }
|
||||
public string Name { get; set; }
|
||||
public List<IProfileElement> Children { get; set; }
|
||||
|
||||
@@ -23,11 +23,11 @@ namespace Artemis.Core.Models.Surface
|
||||
|
||||
internal Surface(RGBSurface rgbSurface, SurfaceEntity surfaceEntity, double scale)
|
||||
{
|
||||
RgbSurface = rgbSurface;
|
||||
SurfaceEntity = surfaceEntity;
|
||||
Scale = scale;
|
||||
Guid = surfaceEntity.Guid;
|
||||
|
||||
RgbSurface = rgbSurface;
|
||||
Scale = scale;
|
||||
Name = surfaceEntity.Name;
|
||||
IsActive = surfaceEntity.IsActive;
|
||||
Devices = new List<Device>();
|
||||
|
||||
Reference in new issue
Block a user