|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
|
|
<!-- 编辑使用 XMLSpy v2006 U (http://www.altova.com) 由 any (any) -->
|
|
|
|
|
<!--****************************************************************-->
|
|
|
|
|
<!-- 本文档的目的是建立WTAI软件系统的绘图部分的功能按钮 -->
|
|
|
|
|
<!-- Author(s): wangzg -->
|
|
|
|
|
<!-- Date: 20240324 -->
|
|
|
|
|
<!--****************************************************************-->
|
|
|
|
|
|
|
|
|
|
<!--****************************************************************-->
|
|
|
|
|
<!-- 部分数据项说明
|
|
|
|
|
ID: 唯一标识
|
|
|
|
|
Name: 名称,通常英文
|
|
|
|
|
Text 内容,通常中文
|
|
|
|
|
Icon: 图标
|
|
|
|
|
Tips: 辅助说明
|
|
|
|
|
CheckMode: Check状态模式,默认为0
|
|
|
|
|
0:点击之后无状态,只是单纯的Action,比如 加载压力文件
|
|
|
|
|
1: 点击之后无状态,但需要把其它Checked去除,并且回归初始状态,如 恢复撤销、放大、缩小、原始状态
|
|
|
|
|
2: 点击之后有状态,但需要把其它Checked去除,一旦操作完成后,回归初始状态,如 插入点、插入特征线等
|
|
|
|
|
3:持续的状态,比如 水平缩放/垂直缩放,Move,框选缩放等,点击后,保持Check状态,一直到二次点击或点击其它
|
|
|
|
|
4: 开关类的按钮状态,比如显示十字线,按下为开、再次按下为关,不影响其它按钮状态
|
|
|
|
|
5:其它(TODO)
|
|
|
|
|
-->
|
|
|
|
|
<!--****************************************************************-->
|
|
|
|
|
|
|
|
|
|
<Root>
|
|
|
|
|
|
|
|
|
|
<!-- 命令基础定义 -->
|
|
|
|
|
<Buttons Name="1">
|
|
|
|
|
|
|
|
|
|
<!-- 图元 -->
|
|
|
|
|
<Btn ID="100" Name="Point" Text="" CheckMode="2" Icon="InsertPoint" Tips="插入点" />
|
|
|
|
|
<Btn ID="101" Name="Line" Text="" CheckMode="2" Icon="InsertLine" Tips="插入直线" />
|
|
|
|
|
<Btn ID="102" Name="Rect" Text="" CheckMode="2" Icon="InsertRect" Tips="矩形框选" />
|
|
|
|
|
<Btn ID="103" Name="Polygon" Text="" CheckMode="2" Icon="InsertPolygon" Tips="插入多边形" />
|
|
|
|
|
<Btn ID="104" Name="Text" Text="" CheckMode="2" Icon="InsertText" Tips="插入文本框" />
|
|
|
|
|
<Btn ID="105" Name="BandV" Text="" CheckMode="2" Icon="InsertVerBand" Tips="区域带(竖直)选取" />
|
|
|
|
|
<Btn ID="106" Name="BandH" Text="" CheckMode="2" Icon="InsertHoriBand" Tips="区域带(水平)选取" />
|
|
|
|
|
<Btn ID="107" Name="Image" Text="" CheckMode="2" Icon="InsertPic" Tips="插入图片" />
|
|
|
|
|
<Btn ID="108" Name="CurveFree" Text="" CheckMode="2" Icon="InsertCurve" Tips="插入自由曲线" />
|
|
|
|
|
|
|
|
|
|
<!-- 高级图元 -->
|
|
|
|
|
<Btn ID="157" Name="CurvePPD" Text="" CheckMode="4" Icon="CurvePPD" Tips="插入PPD曲线" />
|
|
|
|
|
<Btn ID="156" Name="SLR_POINT" Text="" CheckMode="2" Icon="InsertPoint" Tips="插入特征点" />
|
|
|
|
|
<Btn ID="150" Name="SLR_0" Text="" CheckMode="2" Icon="RadialFlow" Tips="插入特征线(0)" />
|
|
|
|
|
<Btn ID="151" Name="SLR_41" Text="" CheckMode="2" Icon="BilinearFlow" Tips="插入特征线(1/4)" />
|
|
|
|
|
<Btn ID="152" Name="SLR_21" Text="" CheckMode="2" Icon="LinearFlow" Tips="插入特征线(1/2)" />
|
|
|
|
|
<Btn ID="153" Name="SLR_1" Text="" CheckMode="2" Icon="UnitSlope" Tips="插入特征线(1)" />
|
|
|
|
|
<Btn ID="154" Name="SLR_21Negative" Text="" CheckMode="2" Icon="SphericalFlow" Tips="插入特征线(-1/2)" />
|
|
|
|
|
<Btn ID="155" Name="LineParallel" Text="" CheckMode="2" Icon="LineParallel" Tips="插入平行线" />
|
|
|
|
|
|
|
|
|
|
<!-- WellMap -->
|
|
|
|
|
<Btn ID="180" Name="W_V" Text="" CheckMode="2" Icon="InsertPoint" Tips="直井" />
|
|
|
|
|
<Btn ID="181" Name="W_H" Text="" CheckMode="2" Icon="InsertLine" Tips="水平井" />
|
|
|
|
|
<Btn ID="182" Name="W_ML" Text="" CheckMode="2" Icon="InsertRect" Tips="多段井" />
|
|
|
|
|
|
|
|
|
|
<!-- 编辑及交互 -->
|
|
|
|
|
<Btn ID="200" Name="Undo" Text="" CheckMode="0" Icon="Undo" Tips="撤销" />
|
|
|
|
|
<Btn ID="201" Name="Redo" Text="" CheckMode="0" Icon="Redo" Tips="恢复" />
|
|
|
|
|
|
|
|
|
|
<Btn ID="208" Name="Select" Text="" CheckMode="3" Icon="Arrow" Tips="切换为选择模式" />
|
|
|
|
|
|
|
|
|
|
<Btn ID="202" Name="SelectMulti" Text="" CheckMode="3" Icon="MultiSelect" Tips="多选" />
|
|
|
|
|
<Btn ID="203" Name="SelectRect" Text="" CheckMode="3" Icon="RegionSelect" Tips="批量框选点" />
|
|
|
|
|
<Btn ID="204" Name="ExcludeRect" Text="" CheckMode="3" Icon="ExcludeRect" Tips="框选剔除点" />
|
|
|
|
|
<Btn ID="205" Name="EraseRect" Text="" CheckMode="3" Icon="EraseRect" Tips="框选删除点" />
|
|
|
|
|
<Btn ID="206" Name="Move" Text="" CheckMode="3" Icon="Move" Tips="Move" />
|
|
|
|
|
<!-- 20180319 207功能目前就是修改一个opNone意义不大,暂时去掉 -->
|
|
|
|
|
<Btn ID="207" Name="All" Text="" CheckMode="1" Icon="All" Tips="Reset" />
|
|
|
|
|
|
|
|
|
|
<Btn ID="209" Name="HitPoint" Text="" CheckMode="2" Icon="AddPoint" Tips="增加回归点" />
|
|
|
|
|
<!-- 20180319考虑到目前的功能,204与210实现的功能一致 -->
|
|
|
|
|
<Btn ID="210" Name="ResetRect" Text="" CheckMode="1" Icon="ResetRect" Tips="重置点" />
|
|
|
|
|
|
|
|
|
|
<!-- 缩放 -->
|
|
|
|
|
<Btn ID="300" Name="ZoomIn" Text="" CheckMode="1" Icon="ZoomIn" Tips="整体放大" />
|
|
|
|
|
<Btn ID="310" Name="ZoomOut" Text="" CheckMode="1" Icon="ZoomOut" Tips="整体缩小" />
|
|
|
|
|
<Btn ID="301" Name="ZoomRectIn" Text="" CheckMode="3" Icon="ZoomRectIn" Tips="框选放大" />
|
|
|
|
|
<Btn ID="302" Name="ZoomRectInV" Text="" CheckMode="3" Icon="ZoomInV" Tips="框选放大(竖直)" />
|
|
|
|
|
<Btn ID="303" Name="ZoomRectInH" Text="" CheckMode="3" Icon="ZoomInH" Tips="框选放大(水平)" />
|
|
|
|
|
<Btn ID="304" Name="ZoomReset" Text="" CheckMode="1" Icon="ZoomReset" Tips="原始大小" />
|
|
|
|
|
<Btn ID="305" Name="ZoomSelfAdaptation" CheckMode="1" Text="" Icon="ZoomSelfAdaptation" Tips="自适应大小" />
|
|
|
|
|
|
|
|
|
|
<!-- 显示 -->
|
|
|
|
|
<Btn ID="401" Name="ShowCrossLine" Text="" CheckMode="4" Icon="Crossline" Tips="显示十字线" />
|
|
|
|
|
<Btn ID="402" Name="ShowValue" Text="" CheckMode="4" Icon="ShowValue" Tips="显示数值提示" />
|
|
|
|
|
<Btn ID="403" Name="ShowProperty" Text="" CheckMode="0" Icon="Property" Tips="属性页" />
|
|
|
|
|
<Btn ID="404" Name="RefreshGraph" Text="" CheckMode="0" Icon="Refresh" Tips="刷新" />
|
|
|
|
|
|
|
|
|
|
<!-- 输入输出 -->
|
|
|
|
|
<Btn ID="500" Name="LoadGraph" Text="" CheckMode="0" Icon="LoadGraph" Tips="打开图件" />
|
|
|
|
|
<Btn ID="501" Name="SaveGraph" Text="" CheckMode="0" Icon="SaveGraph" Tips="保存图件" />
|
|
|
|
|
<Btn ID="502" Name="LoadExcel" Text="" CheckMode="0" Icon="ImportExcel" Tips="加载Excel" />
|
|
|
|
|
<Btn ID="503" Name="SaveExcel" Text="" CheckMode="0" Icon="ExportExcel" Tips="导出Excel" />
|
|
|
|
|
<Btn ID="504" Name="LoadDatabase" Text="" CheckMode="0" Icon="Database" Tips="从数据库读取" />
|
|
|
|
|
<Btn ID="505" Name="SaveDatabase" Text="" CheckMode="0" Icon="InDatabase" Tips="保存入库" />
|
|
|
|
|
|
|
|
|
|
<Btn ID="506" Name="LoadP" Text="" CheckMode="0" Icon="PressureData" Tips="加载压力数据" />
|
|
|
|
|
<Btn ID="507" Name="LoadF" Text="" CheckMode="0" Icon="RateData" Tips="加载流量数据" />
|
|
|
|
|
|
|
|
|
|
<Btn ID="508" Name="Print" Text="" CheckMode="0" Icon="Print" Tips="打印" />
|
|
|
|
|
<Btn ID="509" Name="print_Preview" CheckMode="0" Text="" Icon="PrePrint" Tips="打印预览" />
|
|
|
|
|
|
|
|
|
|
<Btn ID="510" Name="SaveAsImg" Text="" CheckMode="0" Icon="SaveAsImage" Tips="保存为图片" />
|
|
|
|
|
<Btn ID="511" Name="SaveAsTempl" Text="" CheckMode="0" Icon="SaveAsTempl" Tips="保存为模板" />
|
|
|
|
|
|
|
|
|
|
<!-- 压力流量编辑 -->
|
|
|
|
|
<Btn ID="600" Name="Thinning" Text="" CheckMode="0" Icon="Thinning" Tips="抽稀" />
|
|
|
|
|
<Btn ID="601" Name="Smooth" Text="" CheckMode="0" Icon="Smooth" Tips="光滑" />
|
|
|
|
|
<Btn ID="602" Name="InsertRate" Text="" CheckMode="3" Icon="RatePoint" Tips="插入流量点" />
|
|
|
|
|
<Btn ID="603" Name="PreviewByCur" Text="" CheckMode="0" Icon="PreviewByCur" Tips="预览当前选中" />
|
|
|
|
|
<Btn ID="604" Name="SwapPF" Text="" CheckMode="0" Icon="PF" Tips="选择压力流量" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 数值试井相关功能 -->
|
|
|
|
|
<Btn ID="700" Name="nmInsertObjPoint" Text="" CheckMode="0" Icon="InsertPoint" Tips="[样例]插入点" />
|
|
|
|
|
<Btn ID="701" Name="nmInsertObjLine" Text="" CheckMode="0" Icon="InsertLine" Tips="[样例]插入线" />
|
|
|
|
|
<Btn ID="702" Name="nmInsertObjPolygon" Text="" CheckMode="0" Icon="InsertPolygon" Tips="[样例]插入多边形" />
|
|
|
|
|
|
|
|
|
|
<!-- PVT相关 -->
|
|
|
|
|
<Btn ID="800" Name="BasicOption" Text="" Icon="PvtBasicOption" Tips="基础选项" />
|
|
|
|
|
<Btn ID="801" Name="PhaseOil" Text="" Icon="PhaseOil" Tips="油相" />
|
|
|
|
|
<Btn ID="802" Name="PhaseGas" Text="" Icon="PhaseGas" Tips="气相" />
|
|
|
|
|
<Btn ID="803" Name="PhaseWater" Text="" Icon="PhaseWater" Tips="水相" />
|
|
|
|
|
<Btn ID="804" Name="SavePvt" Text="" Icon="SavePvt" Tips="保存Pvt" />
|
|
|
|
|
<Btn ID="805" Name="LoadPvt" Text="" Icon="LoadPvt" Tips="加载Pvt" />
|
|
|
|
|
<Btn ID="806" Name="PseuPressure" Text="" Icon="PsedoP" Tips="计算拟压力" />
|
|
|
|
|
<Btn ID="807" Name="PseuPressure3" Text="" Icon="PsedoP3" Tips="计算三区拟压力" />
|
|
|
|
|
<Btn ID="808" Name="PseuPressureC" Text="" Icon="PsedoPC" Tips="组分含量计算拟压力" />
|
|
|
|
|
|
|
|
|
|
<!-- 产液段图形相关 -->
|
|
|
|
|
<Btn ID="900" Name="EquLayout" Text="" Icon="EquLayout" Tips="等间隔布局" />
|
|
|
|
|
<Btn ID="901" Name="AllSeg" Text="" Icon="AllSeg" Tips="产液段整体操作" />
|
|
|
|
|
<Btn ID="902" Name="TotalSeg" Text="" CheckMode = "4" Icon="TotalSeg" Tips="交互整体操作" />
|
|
|
|
|
|
|
|
|
|
<!-- 其它 -->
|
|
|
|
|
<Btn ID="999" Name="Help" Text="" Icon="Help" Tips="帮助" />
|
|
|
|
|
|
|
|
|
|
</Buttons>
|
|
|
|
|
|
|
|
|
|
<!-- 命令关联 -->
|
|
|
|
|
<Commands Name="1" >
|
|
|
|
|
|
|
|
|
|
<!-- 图类型命令的配置,比如半对数、双对数如果按钮不一致,可以在此配置 -->
|
|
|
|
|
|
|
|
|
|
<!-- PlotBasicType为基础类型,默认的图形配置 -->
|
|
|
|
|
<Chart Type="PlotBasicType">
|
|
|
|
|
<Cmds IDs="500;501" />
|
|
|
|
|
<Cmds IDs="100;101;102;103;104;105;106;107;108" />
|
|
|
|
|
<Cmds IDs="200;201;;208;209;203;204;205;206" />
|
|
|
|
|
<Cmds IDs="150;151;152;153;154;155;156;25" />
|
|
|
|
|
<Cmds IDs="301;302;303;300;310;304" />
|
|
|
|
|
<Cmds IDs="401;402;403;404" />
|
|
|
|
|
<Cmds IDs="508;509;510;511;999" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
<!-- 压力编辑模式 -->
|
|
|
|
|
<Chart Type="P_Type_Edit">
|
|
|
|
|
<Cmds IDs="604" />
|
|
|
|
|
<Cmds IDs="506" />
|
|
|
|
|
<Cmds IDs="208;102;105;106;205" />
|
|
|
|
|
<Cmds IDs="200;201" />
|
|
|
|
|
<Cmds IDs="301;302;303;206;300;310;304;305" />
|
|
|
|
|
<Cmds IDs="401;402;403;404" />
|
|
|
|
|
<Cmds IDs="505;508;509;510" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
<!-- 流量编辑模式 -->
|
|
|
|
|
<Chart Type="F_Type_Edit">
|
|
|
|
|
<Cmds IDs="507" />
|
|
|
|
|
<Cmds IDs="208;602" />
|
|
|
|
|
<Cmds IDs="200;201" />
|
|
|
|
|
<Cmds IDs="301;302;303;206;300;310;304" />
|
|
|
|
|
<Cmds IDs="401;402;403;404" />
|
|
|
|
|
<Cmds IDs="505;508;509;510" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
<!-- 压力+流量统一模式 -->
|
|
|
|
|
<Chart Type="PF_Type_MERGE">
|
|
|
|
|
<Cmds IDs="604" />
|
|
|
|
|
<Cmds IDs="506;507" />
|
|
|
|
|
<Cmds IDs="602" />
|
|
|
|
|
<Cmds IDs="208;102;105;106;205" />
|
|
|
|
|
<Cmds IDs="301;302;303;206;300;310;304;305" />
|
|
|
|
|
<Cmds IDs="401;402;403;404" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 压力编辑模式[增加回归点] -->
|
|
|
|
|
<Chart Type="P_Type_Edit_EX">
|
|
|
|
|
<Cmds IDs="604" />
|
|
|
|
|
<Cmds IDs="506" />
|
|
|
|
|
<Cmds IDs="208;102;105;106;205" />
|
|
|
|
|
<Cmds IDs="200;201" />
|
|
|
|
|
<Cmds IDs="301;302;303;206;300;310;304;305" />
|
|
|
|
|
<Cmds IDs="401;402;403;404" />
|
|
|
|
|
<Cmds IDs="505;508;509;510" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
<!-- IPR模式 -->
|
|
|
|
|
<Chart Type="IPR_Type_Edit">
|
|
|
|
|
<Cmds IDs="209;208;;200;201" />
|
|
|
|
|
<Cmds IDs="301;302;303;206;300;310;304;305" />
|
|
|
|
|
<Cmds IDs="401;402;403;404" />
|
|
|
|
|
<Cmds IDs="508;509;510" />
|
|
|
|
|
</Chart>
|
|
|
|
|
<!-- 流量压力(处理结果的历史曲线,上下模式) -->
|
|
|
|
|
<Chart Type="HIST_Type_PF">
|
|
|
|
|
<Cmds IDs="100;101;102;103;104;105;106;107;108" />
|
|
|
|
|
<Cmds IDs="200;201" />
|
|
|
|
|
<Cmds IDs="301;302;303;300;310;304" />
|
|
|
|
|
<Cmds IDs="401;402;403;404" />
|
|
|
|
|
<Cmds IDs="508;509;510" />
|
|
|
|
|
</Chart>
|
|
|
|
|
<!-- 流量压力非编辑模式 -->
|
|
|
|
|
<Chart Type="F_Type_UnEdit">
|
|
|
|
|
<Cmds IDs="507;508;509;510" />
|
|
|
|
|
</Chart>
|
|
|
|
|
<Chart Type="P_Type_UnEdit">
|
|
|
|
|
<Cmds IDs="506;508;509;510" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
<Chart Type="Log_Type_Edit">
|
|
|
|
|
<Cmds IDs="209;506;508;509;510" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
<!-- PlotSquareGrid为方形网格,双对数专属 -->
|
|
|
|
|
<Chart Type="PlotSquareGrid">
|
|
|
|
|
<Cmds IDs="500;501" />
|
|
|
|
|
<Cmds IDs="200;201;;208;209;203;204;205;206" />
|
|
|
|
|
<Cmds IDs="157;150;151;152;153;154;155;156" />
|
|
|
|
|
<Cmds IDs="100;101;102;103;104;105;106;107;108" />
|
|
|
|
|
<Cmds IDs="301;300;310;304" />
|
|
|
|
|
<Cmds IDs="401;402;403;404" />
|
|
|
|
|
<Cmds IDs="508;509;510;511;999" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
<!-- PlotTableHelper为Plot的辅助表格上侧的配置 -->
|
|
|
|
|
<Chart Type="PlotTableHelper">
|
|
|
|
|
<Cmds IDs="503;505" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
<!-- 数据管理类的工具栏配置 -->
|
|
|
|
|
<Chart Type="SubWndData">
|
|
|
|
|
<Cmds IDs="503;505" />
|
|
|
|
|
</Chart>
|
|
|
|
|
<Chart Type="SubWndDataPF">
|
|
|
|
|
<Cmds IDs="506;507;;503;505" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
<!-- WellMap2D绘图配置 -->
|
|
|
|
|
<Chart Type="WellMap2DType">
|
|
|
|
|
<Cmds IDs="180;181;182" />
|
|
|
|
|
<Cmds IDs="200;201;;208;206" />
|
|
|
|
|
<Cmds IDs="301;302;303;300;310;304" />
|
|
|
|
|
<Cmds IDs="401;402;403;404" />
|
|
|
|
|
<Cmds IDs="508;509;510;511;999" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
<!-- 数值试井2D绘图样例配置 -->
|
|
|
|
|
<Chart Type="NmDemo2DType">
|
|
|
|
|
<Cmds IDs="700;701;702" />
|
|
|
|
|
<Cmds IDs="200;201;;208" />
|
|
|
|
|
<Cmds IDs="301;302;303;300;310;304" />
|
|
|
|
|
<Cmds IDs="401;402;403;404" />
|
|
|
|
|
<Cmds IDs="508;509;510;511;999" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
<!-- Rst Fit配置 -->
|
|
|
|
|
<Chart Type="RstFitType">
|
|
|
|
|
<Cmds IDs="301;300;310;304" />
|
|
|
|
|
<Cmds IDs="508;509;510" />
|
|
|
|
|
</Chart>
|
|
|
|
|
<!-- SegMore产液段数配置 -->
|
|
|
|
|
<Chart Type="SegMoreType">
|
|
|
|
|
<Cmds IDs="200;201;;208;206" />
|
|
|
|
|
<Cmds IDs="301;300;310;304" />
|
|
|
|
|
<Cmds IDs="401;402;403;404" />
|
|
|
|
|
<Cmds IDs="900;901;902"/>
|
|
|
|
|
<Cmds IDs="508;509;510" />
|
|
|
|
|
</Chart>
|
|
|
|
|
|
|
|
|
|
</Commands>
|
|
|
|
|
|
|
|
|
|
</Root>
|