Commit 40676c70 authored by 潘栩锋's avatar 潘栩锋 🚴

添加 OnInit 添加注解

parent 2d95cf90
...@@ -7,6 +7,9 @@ using System.Threading.Tasks; ...@@ -7,6 +7,9 @@ using System.Threading.Tasks;
namespace FLY.Thick.Base.UI namespace FLY.Thick.Base.UI
{ {
/// <summary>
/// LCUS1 绑定 全局参数字典ParamDictionary 的配置
/// </summary>
public class LCUS1_dependOn:LCUS1 public class LCUS1_dependOn:LCUS1
{ {
ParamDictionary paramDictionary; ParamDictionary paramDictionary;
......
...@@ -7,6 +7,10 @@ using System.Threading.Tasks; ...@@ -7,6 +7,10 @@ using System.Threading.Tasks;
namespace FLY.Thick.Base.UI namespace FLY.Thick.Base.UI
{ {
/// <summary>
/// 报警服务 的带设备名称 版本
/// </summary>
public class WarningSystem2ServiceClientWithName : WarningSystem2ServiceClient public class WarningSystem2ServiceClientWithName : WarningSystem2ServiceClient
{ {
public string DevName { get; private set; } public string DevName { get; private set; }
......
...@@ -9,6 +9,9 @@ using System.Threading.Tasks; ...@@ -9,6 +9,9 @@ using System.Threading.Tasks;
namespace FLY.Thick.Base.UI.OnInit namespace FLY.Thick.Base.UI.OnInit
{ {
/// <summary>
/// 显示 自动扫描 提示, 只是负责显示而已
/// </summary>
public class OnInitAutoScan : IOnInit public class OnInitAutoScan : IOnInit
{ {
FLY.OBJComponents.IService.IWarningSystem2Service warningService; FLY.OBJComponents.IService.IWarningSystem2Service warningService;
......
...@@ -14,6 +14,12 @@ using FLY.Thick.Base.Common; ...@@ -14,6 +14,12 @@ using FLY.Thick.Base.Common;
namespace FLY.Thick.Base.UI.OnInit namespace FLY.Thick.Base.UI.OnInit
{ {
/// <summary>
/// ERRNOs.Instance.SCAN_ERRNO_OVERCTRL
/// ERRNOs.Instance.SCAN_ERRNO_OVERTOL
/// 扫描报警时,全屏显示
/// </summary>
public class OnInitError : IOnInit public class OnInitError : IOnInit
{ {
#region 延时推送 MARKNO #region 延时推送 MARKNO
......
...@@ -13,6 +13,9 @@ using FLY.Thick.Base.UI; ...@@ -13,6 +13,9 @@ using FLY.Thick.Base.UI;
namespace FLY.Thick.Base.UI.OnInit namespace FLY.Thick.Base.UI.OnInit
{ {
/// <summary>
/// F1~F5 动作
/// </summary>
public class OnInitGageCommand : IOnInit public class OnInitGageCommand : IOnInit
{ {
Window window; Window window;
......
...@@ -11,6 +11,9 @@ using System.Windows; ...@@ -11,6 +11,9 @@ using System.Windows;
namespace FLY.Thick.Base.UI.OnInit namespace FLY.Thick.Base.UI.OnInit
{ {
/// <summary>
/// 语言切换,现在没法用 UI没做英语翻译
/// </summary>
public class OnInitLanguage : IOnInit public class OnInitLanguage : IOnInit
{ {
ParamDictionary paramDictionary; ParamDictionary paramDictionary;
......
...@@ -9,6 +9,9 @@ using Unity; ...@@ -9,6 +9,9 @@ using Unity;
namespace FLY.Thick.Base.UI.OnInit namespace FLY.Thick.Base.UI.OnInit
{ {
/// <summary>
/// LCUS1 USB继电器模块, 监听 WarningSystemManager
/// </summary>
public class OnInitLcus1_Multi : IOnInit public class OnInitLcus1_Multi : IOnInit
{ {
public int Level { get; private set; } public int Level { get; private set; }
......
...@@ -9,6 +9,9 @@ using Unity; ...@@ -9,6 +9,9 @@ using Unity;
namespace FLY.Thick.Base.UI.OnInit namespace FLY.Thick.Base.UI.OnInit
{ {
/// <summary>
/// LCUS1 USB继电器模块, 监听 单个报警服务 IWarningSystem2Service
/// </summary>
public class OnInitLcus1_One : IOnInit public class OnInitLcus1_One : IOnInit
{ {
public int Level { get; private set; } public int Level { get; private set; }
......
...@@ -11,6 +11,9 @@ using Unity; ...@@ -11,6 +11,9 @@ using Unity;
namespace FLY.Thick.Base.UI.OnInit namespace FLY.Thick.Base.UI.OnInit
{ {
/// <summary>
/// 虚拟键盘
/// </summary>
public class OnInitOSK : IOnInit public class OnInitOSK : IOnInit
{ {
ParamDictionary paramDictionary; ParamDictionary paramDictionary;
......
...@@ -18,6 +18,9 @@ using System.Collections.ObjectModel; ...@@ -18,6 +18,9 @@ using System.Collections.ObjectModel;
namespace FLY.Thick.Base.UI.OnInit namespace FLY.Thick.Base.UI.OnInit
{ {
/// <summary>
/// 监听 WarningSystemManager 的报警。 周期一个个显示 报警列表的内容
/// </summary>
public class OnInitWarnings : IOnInit public class OnInitWarnings : IOnInit
{ {
public int Level { get; private set; } public int Level { get; private set; }
...@@ -98,6 +101,10 @@ namespace FLY.Thick.Base.UI.OnInit ...@@ -98,6 +101,10 @@ namespace FLY.Thick.Base.UI.OnInit
} }
} }
/// <summary>
/// 从 warnings.service 容器获取全部 报警服务, 把 全部报警服务的报警内容 整合到 Errors
/// </summary>
public class WarningSystemManager : INotifyPropertyChanged public class WarningSystemManager : INotifyPropertyChanged
{ {
public event PropertyChangedEventHandler PropertyChanged; public event PropertyChangedEventHandler PropertyChanged;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment