mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Added a layer of abstraction between RGB.NET and Artemis
This means Artemis can add extra functionality It also avoid having to reference RGB.NET for basic rendering Implemented rendering scaling
This commit is contained in:
1 parent
4126f5622e
commit
f72f145c7e
41 files changed
+725
-494
No files matched your search
+7
-6
@@ -2,16 +2,17 @@
|
||||
|
||||
namespace Artemis.Storage.Entities
|
||||
{
|
||||
public class SurfacePositionEntity
|
||||
public class DeviceEntity
|
||||
{
|
||||
public DeviceEntity()
|
||||
{
|
||||
Guid = System.Guid.NewGuid().ToString();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public string Guid { get; set; }
|
||||
|
||||
public int DeviceId { get; set; }
|
||||
public string DeviceName { get; set; }
|
||||
public string DeviceModel { get; set; }
|
||||
public string DeviceManufacturer { get; set; }
|
||||
|
||||
public int DeviceHashCode { get; set; }
|
||||
public double X { get; set; }
|
||||
public double Y { get; set; }
|
||||
public double Rotation { get; set; }
|
||||
@@ -5,12 +5,17 @@ namespace Artemis.Storage.Entities
|
||||
{
|
||||
public class SurfaceEntity
|
||||
{
|
||||
public SurfaceEntity()
|
||||
{
|
||||
Guid = System.Guid.NewGuid().ToString();
|
||||
}
|
||||
|
||||
[Key]
|
||||
public string Guid { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
|
||||
public virtual ICollection<SurfacePositionEntity> SurfacePositions { get; set; }
|
||||
public virtual ICollection<DeviceEntity> DeviceEntities { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user