Commit Graph

459 Commits

Author SHA1 Message Date
SL 91238063d1 [Common]
移除EventItem对象中的IsMute属性,使用IsAcknowledge属性判断事件是否已被响应。
修改EventManager中的事件响应逻辑,用是否响应代替原静音逻辑。
2023-06-22 09:22:44 +08:00
SL b2ed7e0e6a [Common]
修正EventManager对象中的System.HasActiveAlarm数据没有从Alarm列队中获取信息导致始终返回false,导致UI的Alarm按钮不会变色的问题。
优化AppMenu.cs的代码格式。
2023-06-22 09:07:10 +08:00
SL 8216f9879b [Common]
EventManager中注册新操作用于测试Warning、Alarm、PjDone事件。

[UI.Client]
新增EventGenerator视图,用于测试事件。
2023-06-22 00:17:41 +08:00
SL d8ef042dd7 [Common]
在EventManager对象中注册System.LiveAlarmEvent、System.HasMutedAlarmEvent等数据,供三色灯使用。
整理EventManager.cs代码格式。
整理DeviceManagerBase.cs代码格式。
更名EventDefine对象的Items属性为Types。
移除EventItem的Mute()方法,并将IsMute属性的set段作用域变更为public。
2023-06-21 23:04:19 +08:00
SL 9665f49800 [Common]
SignalTowerBase对象中的方法GenerateOccurredRtEventDict()更名为PollRtAlarms()。
2023-06-21 15:29:26 +08:00
SL b21ac05ca8 [Common]
EventItem对象中新增属性IsMute和方法Mute(),用于使当前事件静音。
EventItemManager对象中实现事件静音控制逻辑。
2023-06-21 15:28:38 +08:00
hanqiangqiang 2ba0a51bc8 Merge branch 'MfcCalculation' into develop 2023-06-21 09:40:50 +08:00
HCL af08f0854b 1.IoValve中MFC Ramp时间由5ms改为5s 2023-06-20 15:36:28 +08:00
HCL 0cae4f6b6c 1.修改时间 2023-06-20 11:38:32 +08:00
HCL 94397e770a Merge remote-tracking branch 'origin/V94和V96,打开或关闭时,操作对应MFC' into develop 2023-06-20 11:04:27 +08:00
HCL e96b908c84 1.Load和Unload增加CheckSlowVentValue虚方法 2023-06-20 11:03:49 +08:00
hanqiangqiang 59b5e4a983 Merge branch 'develop' into MfcCalculation 2023-06-20 08:57:16 +08:00
Liang Su 604fdab99f Merge branch 'feature/import-recipe-edit-view' into develop 2023-06-20 08:36:26 +08:00
Liang Su 95195e491b [UI.Client]
DataGridRecipe控件新增滚动到指定配方步骤的功能。
2023-06-19 18:30:59 +08:00
Liang Su 513f078537 [UI.Client]
修正Recipe修改后,仍然能进入白名单编辑模式的问题。
2023-06-19 17:58:23 +08:00
Liang Su b48c4a6c65 [UI.Client]
修正加载Recipe时,Recipe会变为为保存状态的问题。
2023-06-19 17:54:15 +08:00
Liang Su f84d2019ed [UI.Client]
修正删除Recipe步骤后,Recipe的变更状态仍然为“未变更”的问题。
2023-06-19 17:04:40 +08:00
HCL fbcd0ebe17 1.Sequence界面增加刷新按钮 2023-06-19 16:40:46 +08:00
Liang Su 04666ca896 [UI.Client]
DataGridCellDragToFillAdorner支持定义Thumb样式。
DataGridCellDragToFillAdorner支持IsEnable时显示为灰色。
Recipe编辑器中如果单元格参数访问权限为None,则拖拽填充控件显示为灰色。
2023-06-19 16:21:45 +08:00
hanqiangqiang e134a424d1 [RT.EquipmentLibrary]
1V94和V96,打开或关闭时,操作对应MFC
2添加到远程分支,未合并到develope分支
2023-06-19 14:51:19 +08:00
Liang Su c8d34ff812 [UI.Client]
Recipe编辑器DataGrid控件支持自定义拖拽填充控件样式。
2023-06-19 11:44:05 +08:00
Liang Su 92524557c8 [UI.Client]
ParamBaseWithGenericValue的GetValue和SetValue方法中,如果没有操作权限,则直接结束操作,而不是抛出异常。
2023-06-16 17:40:56 +08:00
Liang Su 8e36056995 [UI.Client]
新增PermissionException对象。
ParamBaseWithGenericValue的GetValue和SetValue方法中检查访问权限,并抛出权限错误异常。
2023-06-16 17:36:49 +08:00
Liang Su da615046a9 [UI.Client]
修正Recipe编辑器中当单元格没有访问权限时,仍然显示拖拽填充框的问题。
2023-06-16 17:27:01 +08:00
Liang Su 2d56b0a411 [UI.Client]
修正Recipe编辑器进入白名单设置模式时,UI不正常的问题。
2023-06-16 17:16:19 +08:00
Liang Su cb44c8a234 [UI.Client]
Recipe编辑器单元格不可编辑时,弹出对话框提示用户。
2023-06-16 17:01:46 +08:00
Liang Su 827a85a560 [UI.Client]
新增IValueParam接口,所有支持数值的Recipe Param均继承自此接口。
修正没有写权限的Recipe参数在拖动填充模式下也会被赋值的问题。
2023-06-16 16:32:39 +08:00
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 a6b7478e7c [UI.Client]
Recipe编辑器的DataGrid单元格支持***方式隐藏参数值。
2023-06-16 13:27:16 +08:00
Liang Su 82640a8a58 [UI.Client]
修正Recipe编辑器中Expander列无法展开和折叠的问题。
修正RecipeFormatBuilder中构建列时没有设置列访问权限的问题。
优化Recipe StepNo列和StepUid列控制权限,其权限固定为MP_READ和MP_NONE。
修正Recipe Step无法通过权限配置为MP_READ的问题。
2023-06-16 11:44:52 +08:00
Liang Su fe5fe3f3d2 [Common]
优化Monitor方法。
2023-06-16 10:19:33 +08:00
Liang Su e10abebfe6 [UI.Client]
优化Recipe保存时如果存在校验错误的参数,弹出的警告对话框的内容。
修正当RecipeEditor中某行权限设置为None时,拖拽填充时无法获取Cell对象导致引发NullReference异常的问题。
2023-06-16 10:12:14 +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
hanqiangqiang e1b4434c5f [RT.EquipumentLibrary]
1添加气体流量系数,设置后回调
2023-06-15 16:52:03 +08:00
Liang Su b22c3f3fba [UI.Client]
创建用于Recipe Editor的控件,基于XDataGrid,并修改相应的对象及运行逻辑。
在10号机初步测试可运行。
2023-06-15 14:53:21 +08:00
Liang Su dc23cd1422 Merge branch 'develop' into feature/import-recipe-edit-view 2023-06-14 17:42:16 +08:00
Liang Su f7a2047c7b [UI.Client]
导入10号机的Recipe编辑视图。
2023-06-14 17:42:00 +08:00
hanqiangqiang 230bf3c173 [RT.EquimentLibrary]
1打印设置的参数值
2PLC连接后,添加offset延时写入
2023-06-14 17:08:30 +08:00
Liang Su 43a355a121 Merge branch 'feature/drag-to-fill-recipe-editor' into develop 2023-06-14 16:57:33 +08:00
Liang Su 0063ec83f9 [Common]
修正DeviceManagerBase中的_optionDevice列表多线程访问时被意外修改的问题。
2023-06-14 16:05:58 +08:00
Liang Su 188a8a959f [Common]
修正SignalTowerPartBase对象执行Reset()方法时,_action字段为null引发异常的问题。
2023-06-14 14:59:22 +08:00
Liang Su d2145b63db [UI.Client]
BoolReverseConverter中实现ConvertBack()方法。
2023-06-14 14:43:36 +08:00
Liang Su 2e5b3b8c3d [UI.Client]
优化SeaBlue\DataGrid主题样式,单元格增加2像素Margin。
优化AlarmView视图DataGrid报警类型列样式,报警类型指示文本背景色填满整个单元格。
优化EventLog视图DataGrid样式,报警时间列左对齐。
2023-06-14 14:34:15 +08:00
Liang Su a389ce58a2 [UI.Client]
调整AlarmView和EventView的DataGrid布局。
修改EventView、SystemConfigView中的DataGrid选中模式为单行模式。
2023-06-14 14:06:18 +08:00
Liang Su a31bac3a38 [UI.Client]
修正SeaBlue\SimulatorTab.xaml中的颜色定义。
2023-06-14 12:22:13 +08:00
Liang Su e3a13bcc78 [UI.Core]
[UI.Client]
移除重复定义的主题样式文件,现所有主题样式文件全部统一到UI.Client\Theme\文件夹下。
2023-06-14 12:05:42 +08:00
Liang Su 314f5a1822 [UI.Client]
修正XDataGrid进入单元格权限编辑模式时,拖拽填充框没有清除的问题。
2023-06-14 09:12:28 +08:00
Liang Su d2498415d9 Merge remote-tracking branch 'origin/develop' into feature/drag-to-fill-recipe-editor
上一次提交信息补充:
[UI.Client]
修正当Recipe中参数值发生变化时,RecipeData的IsCheck属性没有刷新的问题。
2023-06-13 16:13:25 +08:00