mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
24 lines
631 B
C#
24 lines
631 B
C#
using Artemis.Core.Modules;
|
|
|
|
namespace Artemis.Plugins.Modules.General.ViewModels
|
|
{
|
|
public class GeneralViewModel : ModuleViewModel
|
|
{
|
|
public GeneralViewModel(GeneralModule module) : base(module, "General")
|
|
{
|
|
GeneralModule = module;
|
|
}
|
|
|
|
public GeneralModule GeneralModule { get; }
|
|
|
|
public void ShowTimeInDataModel()
|
|
{
|
|
GeneralModule.ShowProperty(model => model.TimeDataModel.CurrentTime);
|
|
}
|
|
|
|
public void HideTimeInDataModel()
|
|
{
|
|
GeneralModule.HideProperty(model => model.TimeDataModel.CurrentTime);
|
|
}
|
|
}
|
|
} |