old mode 100755
new mode 100644
File was renamed from ZigbeeApp/Shared/Phone/TemplateData/TemplateDataFormLogic.cs |
| | |
| | | using System.Collections.Generic;
|
| | | using System.Text;
|
| | |
|
| | | namespace Shared.Phone.TemplateData
|
| | | namespace Shared.Phone |
| | | {
|
| | | /// <summary>
|
| | | /// 模板数据的界面逻辑
|
| | | /// </summary>
|
| | | public class TemplateDataFormLogic
|
| | | public class HdlTemplateDataFormLogic |
| | | {
|
| | | #region ■ 变量声明___________________________
|
| | |
|
| | | /// <summary>
|
| | | /// 模板数据的界面逻辑
|
| | | /// </summary>
|
| | | private static TemplateDataFormLogic m_Current = null;
|
| | | private static HdlTemplateDataFormLogic m_Current = null; |
| | | /// <summary>
|
| | | /// 模板数据的界面逻辑
|
| | | /// </summary>
|
| | | public static TemplateDataFormLogic Current
|
| | | public static HdlTemplateDataFormLogic Current |
| | | {
|
| | | get
|
| | | {
|
| | | if (m_Current == null)
|
| | | {
|
| | | m_Current = new TemplateDataFormLogic();
|
| | | m_Current = new HdlTemplateDataFormLogic(); |
| | | }
|
| | | return m_Current;
|
| | | }
|
| | |
| | | //2020.09.15 不再获取云端模板
|
| | |
|
| | | //获取本地的模板
|
| | | var listLocal = TemplateCommonLogic.Current.GetLocalAllModelList();
|
| | | var listLocal = HdlTemplateCommonLogic.Current.GetLocalAllModelList(); |
| | | //获取云端的模板
|
| | | //var listClound = TemplateCommonLogic.Current.GetCloundAllModelList();
|
| | | //if (listLocal.Count == 0 && listClound.Count == 0)
|
| | |
| | | // {
|
| | | // if (fullName != null)
|
| | | // {
|
| | | // string fileName = fullName.Substring(DirNameResourse.AllResidenceTemplateDirectory.Length + 1);
|
| | | // string fileName = fullName.Substring(HdlFileNameResourse.AllResidenceTemplateDirectory.Length + 1); |
| | | // //调用回调函数
|
| | | // HdlThreadLogic.Current.RunMain(() =>
|
| | | // {
|