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

43 lines
1.4 KiB

6 months ago
using KGIS.Framework.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kingo.PluginServiceInterface
{
public interface IAttrTableHelper
{
//List<IAttrTableView> AllView { get; set; }
IAttrTableView CurrentView { get; set; }
void InitView(string pTitle, object m_hookHelper, List<AttributeViewParameter> pViewParam);
void SelectRowPrevOrNextRow(string pPrevOrNext);
}
public interface IAttrTableView : IDockPanel2
{
event CustomCallbackHandler CustomCallBack;
void SelectNextRow();
void SelectPrevRow();
//void InitView(object featureLayer, object m_hookHelper, List<AttributeViewParameter> pViewParam);
void LoadData(object featureLayer, object pDataFilter);
}
public delegate void CustomCallbackHandler(AttributeViewParameter result);
public class AttributeViewParameter
{
public string LableInfo { get; set; }
public string RadioGroupName { get; set; }
public string Type { get; set; }
public object Data { get; set; }
public object BarItem { get; set; }
public object Value { get; set; }
public string Filterriteria { get; set; }
public bool IsChecked { get; set; }
public event CustomCallbackHandler Callback;
public void OnCallBack()
{
Callback?.Invoke(this);
}
}
}