using SmartCoalApplication.Annotation.Enum;
using SmartCoalApplication.Base.SettingModel;
using SmartCoalApplication.Core;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SmartCoalApplication
{
public interface IAppWorkspaceForSurfaceBox
{
///
/// 获取当前激活工具
///
///
DrawToolType GetDrawToolType();
///
/// 设置当前激活工具
///
///
void SetDrawToolType(DrawToolType t);
///
/// 获取测量单位对应的换算字典
///
///
Dictionary getMeasureInfo();
///
/// 获取绘制属性
///
void SetDrawNodes();
///
/// 刷新测量列表
///
void RefreshListView();
///
/// 设置像素跟踪的数据
///
///
void SetImageAndData(System.Drawing.Point location);
///
/// 获取系统当前选中单位及每单位像素值
///
/// 3位字符串数组,
/// 0:系统选中单位枚举字符串
/// 1:系统选中单位名称字符串
/// 2:系统选中单位符号字符串
/// 3:系统选中单位每单位像素长度
string[] GetPxPerUnit();
///
/// 获取测量样式
///
///
MeasureStyleModel GetMeasureStyleModel();
///
/// 取消测量连续选中状态
///
///
void SetContinuousDrawingMeasure(bool value);
///
/// 取消视场连续选中状态
///
///
void SetContinuousDrawingView(bool value);
///
/// 获取当前DocumentWorkspace的视场行为
///
///
CombineMode GetCombineMode();
RectangleF GetVisibleDocumentRectangleF();
SizeF GetDocumentSize();
///
/// 更新命名的延续数字
///
void UpdateContinueNum();
///
/// 获取测量区域样式
///
///
MeasureAreaModel GetMeasureAreaModel();
///
/// 设置底部的放大缩小的进度条的值
///
///
void SetZoonTrackValue(ScaleFactor newValue);
double getUnitNum();
string getAliasName();
int getDecimalPlaces();
}
}