Commit Graph

9 Commits

Author SHA1 Message Date
Liang Su cd196eefb3 [UI.Client]
移除所有Recipe Param对象的IsHideValue属性。
Recipe Param对象新增ColumnPermission、StepPermission、Permission属性,用于控制Recipe编辑器表格单元格访问权限。
Recipe编辑器使用的DataGrid控件增加单元格访问权限判断,当没有修改权限时,弹出错误对话框提示用户。
2023-06-16 15:48:27 +08:00
Liang Su 0202bc8cb0 [UI.Client]
修正RecipeStep对象构建时IsVisible属性默认设置为True导致RecipeEditor中不显示单元格的问题。
Param的属性Feedback更名为ColumnPermChangedCallback。
2023-06-16 13:43:26 +08:00
Liang Su a7051a3f1b [UI.Client]
RecipeEditor的DataGrid单元格文本颜色定义移至主题样式文件。
RecipeFormatBuilder中增加一些变量名称的常量定义,以提高后期程序的可维护性。
修正RecipeEditor DataGrid单元格模板定义的名称,使语义更加精确。
更名IParam接口的IsValidated属性为IsValid,使语义更加精确。
2023-06-16 09:51:51 +08:00
Liang Su 69044332e6 [UI.Client]
RecipeEditor的EditMode枚举增加EditWhitelist项目。
修正RecipeEditor中,当某步骤权限设置为None时,DataGrid中没有隐藏相应步骤的问题。
移除NumParam.cs。
优化一些列对象,在10号机测试可运行。

已知问题:
RecipeEditor的Expander不能折叠。
当某步骤权限配置为None时,应该隐藏数值;隐藏列可能造成用户识别困难。
2023-06-15 19:19:41 +08:00
Liang Su b22c3f3fba [UI.Client]
创建用于Recipe Editor的控件,基于XDataGrid,并修改相应的对象及运行逻辑。
在10号机初步测试可运行。
2023-06-15 14:53:21 +08:00
Liang Su 5ceedad2e1 [UI,Client]
引入6号机实现的支持拖拽填充功能的Recipe编辑器DataGrid。
移除重复的XDataGrid对象。
2023-06-13 16:10:57 +08:00
DESKTOP-1N1NK8A\auvkk c0d86201ae [UI.Client]
移除RecipColNo定义,使用ControlName查找ReceipStep中指定的参数。
新增IRecipeGasFlowCalculator接口,用于实现RecipeStep中流量计算器。
新增RecipeGasFlowCalculatorBase对象作为默认的RecipeStep流量计算器。
2023-05-10 23:21:46 +08:00
DESKTOP-1N1NK8A\auvkk afa3553a95 [UI.Client]
导入5号机的ClientUI库中的Recipe相关对象。
2023-05-10 16:21:45 +08:00
DESKTOP-GPE37UV\THINKAPD 1ace450916 Add project files. 2023-04-13 11:51:03 +08:00