File was renamed from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlPanelLogic.cs |
| | |
| | | /// <summary>
|
| | | /// 干接点的逻辑
|
| | | /// </summary>
|
| | | public class HdlPanelLogic
|
| | | public class HdlDevicePanelLogic
|
| | | {
|
| | | #region ■ 变量声明___________________________
|
| | |
|
| | | /// <summary>
|
| | | /// 干接点的逻辑
|
| | | /// </summary> |
| | | private static HdlPanelLogic m_Current = null; |
| | | private static HdlDevicePanelLogic m_Current = null; |
| | | /// <summary>
|
| | | /// 干接点的逻辑
|
| | | /// </summary> |
| | | public static HdlPanelLogic Current
|
| | | public static HdlDevicePanelLogic Current
|
| | | {
|
| | | get
|
| | | {
|
| | | if (m_Current == null)
|
| | | {
|
| | | m_Current = new HdlPanelLogic();
|
| | | m_Current = new HdlDevicePanelLogic();
|
| | | }
|
| | | return m_Current;
|
| | | }
|
| | |
| | | /// <summary>
|
| | | /// 初始化
|
| | | /// </summary>
|
| | | public HdlPanelLogic()
|
| | | public HdlDevicePanelLogic()
|
| | | {
|
| | | //从本地文件还原干接点的私有属性
|
| | | this.LoadDryContactFunctionFromLocaltion();
|