You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Runtime.CompilerServices;
- using System.Text;
- using System.Threading.Tasks;
- using BPA.Helper;
- using BPA.Helper;
- using System.Collections.ObjectModel;
- using System.Windows.Media;
-
- namespace BPASmartClient.CustomResource.Pages.ViewModel
- {
- public class DebugLogViewModel : NotifyBase
- {
- public DebugLogViewModel()
- {
-
- //MessageLog.GetInstance.NotifyShow = new Action<string>((o) => { });
- //MessageLog.GetInstance.DebugLog = new Action<string>((o) =>
- // {
- // Message = MessageLog.GetInstance.DebugLogInfo;
- // });
- }
-
- public static ObservableCollection<MessageModel> MessageModels { get; set; } = new ObservableCollection<MessageModel>();
-
- //public static string Message { get { return _mMessage; } set { _mMessage = value; OnStaticPropertyChanged(); } }
- //private static string _mMessage = string.Empty;
-
- //public static event EventHandler<PropertyChangedEventArgs> StaticPropertyChanged;
- //private static void OnStaticPropertyChanged([CallerMemberName] string PropName = "")
- //{
- // StaticPropertyChanged?.Invoke(null, new PropertyChangedEventArgs(PropName));
- //}
-
-
- }
-
- public class MessageModel : NotifyBase
- {
- public string LogInfo { get { return _mLogInfo; } set { _mLogInfo = value; OnPropertyChanged(); } }
- private string _mLogInfo;
-
- public Brush Forground { get { return _mForground; } set { _mForground = value; OnPropertyChanged(); } }
- private Brush _mForground;
-
- }
-
- }
|