mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
UI - Moved exception viewer to its own seperate window
Conditions - Started adding list conditions
This commit is contained in:
1 parent
930a7b4ef7
commit
6803bc5a37
36 files changed
+930
-471
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Artemis.Plugins.Modules.General.DataModel.Windows;
|
||||
|
||||
namespace Artemis.Plugins.Modules.General.DataModel
|
||||
@@ -8,10 +9,13 @@ namespace Artemis.Plugins.Modules.General.DataModel
|
||||
public GeneralDataModel()
|
||||
{
|
||||
TimeDataModel = new TimeDataModel();
|
||||
TestTimeList = new List<TimeDataModel>();
|
||||
}
|
||||
|
||||
public WindowDataModel ActiveWindow { get; set; }
|
||||
public TimeDataModel TimeDataModel { get; set; }
|
||||
|
||||
public List<TimeDataModel> TestTimeList { get; set; }
|
||||
}
|
||||
|
||||
public class TimeDataModel : Core.Plugins.Abstract.DataModels.DataModel
|
||||
|
||||
@@ -31,6 +31,11 @@ namespace Artemis.Plugins.Modules.General
|
||||
DisplayName = "General";
|
||||
DisplayIcon = "AllInclusive";
|
||||
ExpandsDataModel = true;
|
||||
|
||||
DataModel.TestTimeList.Add(new TimeDataModel {CurrentTime = DateTime.Now.AddDays(1), CurrentTimeUTC = DateTime.UtcNow.AddDays(1)});
|
||||
DataModel.TestTimeList.Add(new TimeDataModel {CurrentTime = DateTime.Now.AddDays(2), CurrentTimeUTC = DateTime.UtcNow.AddDays(2)});
|
||||
DataModel.TestTimeList.Add(new TimeDataModel {CurrentTime = DateTime.Now.AddDays(3), CurrentTimeUTC = DateTime.UtcNow.AddDays(3)});
|
||||
DataModel.TestTimeList.Add(new TimeDataModel {CurrentTime = DateTime.Now.AddDays(4), CurrentTimeUTC = DateTime.UtcNow.AddDays(4)});
|
||||
}
|
||||
|
||||
public override void DisablePlugin()
|
||||
|
||||
Reference in new issue
Block a user