28 lines
636 B
C#
28 lines
636 B
C#
using System;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Input;
|
|
using Avalonia.Interactivity;
|
|
using Avalonia.Markup.Xaml;
|
|
using DispenserCommon.Scheduler;
|
|
using DispenserCommon.Utils;
|
|
using DispenserUI.ViewModels.Common;
|
|
|
|
namespace DispenserUI.Views.Common;
|
|
|
|
public partial class SystemStatusView : UserControl
|
|
{
|
|
public SystemStatusVM ViewModel { get; } = ServiceLocator.GetService<SystemStatusVM>();
|
|
|
|
public SystemStatusView()
|
|
{
|
|
DataContext = ViewModel;
|
|
InitializeComponent();
|
|
ViewModel.BindView(this);
|
|
}
|
|
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
AvaloniaXamlLoader.Load(this);
|
|
}
|
|
} |