年度变更建库软件5.0版本
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.

56 lines
1.6 KiB

using Kingo.Plugin.BatchDataLoad.Model;
using Kingo.PluginServiceInterface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using UIShell.OSGi;
namespace Kingo.Plugin.BatchDataLoad.View
{
/// <summary>
/// UcTreeListViewControl.xaml 的交互逻辑
/// </summary>
public partial class UcTreeListViewControl : UserControl
{
private static UcTreeListViewControl instance;
public static UcTreeListViewControl Instance
{
get
{
if (instance == null)
{
instance = new UcTreeListViewControl();
}
return instance;
}
}
public UcTreeListViewControl()
{
InitializeComponent();
instance = this;
}
public void Refresh()
{
treeListControl.ItemsSource = null;
treeListControl.ItemsSource = BatchLoadDataModel.Instance.BatchLoadDatas;
//ISystemCfg SystemCfg = BundleRuntime.Instance.GetFirstOrDefaultService<ISystemCfg>();
//SystemConfig2 Cfg = SystemCfg.Load();
//if (Cfg != null)
//{
// treeListControl.ItemsSource = Cfg.BHTBLayerLoadCfg;
//}
treeListControl.RefreshData();
}
}
}