Commit Graph

273 Commits

Author SHA1 Message Date
HCL 1c2a89e53f 1.修改切换数据库问题 2023-06-28 18:26:50 +08:00
HCL 710bb340c0 Merge branch 'develop' into feature/整理优化数据库代码 2023-06-28 15:29:54 +08:00
HCL 040b11a94f 1.整理数据库进度更新 2023-06-28 15:29:13 +08:00
SL 57bb813a59 [Common]
修改源码文件的编码格式。

(cherry picked from commit 55f95833e04f7b76bc4e7bed47ffdb0e428adbd9)
2023-06-27 19:37:13 +08:00
hanqiangqiang 3bb53356bc [RT.EquipumentLibrary]
删除测试代码
2023-06-27 16:29:11 +08:00
hanqiangqiang 23bfd26026 [RT.EquipmentLibrary]
1新增属性-气体用量
2使用异步调用OP方法
2023-06-27 16:26:43 +08:00
HCL c4b38cc0dd 1.进度更新 2023-06-27 15:46:42 +08:00
hanqiangqiang e853063e1c [RT.EquipmentLibrary]
1使用异步查询
2添加查询所有功能
2023-06-27 13:22:52 +08:00
SL 4c76dc403a [Common]
修正三色灯Blink状态机在每个Blink循环开始会关闭一下三色灯,导致配置为常亮时仍然会闪烁的问题。
2023-06-25 16:53:46 +08:00
SL d5633f5f3c Merge branch 'develop' into feature/add-alarm-mute-support 2023-06-25 16:19:02 +08:00
SL ccea5a5272 [Common]
EventEnum枚举中的PjDone项更名为PJ_DONE。
2023-06-25 15:04:04 +08:00
SL 770e917a3c [Common]
EventEnum枚举中新增PjDone = 50。
DefaultRecipeFileContext中的EV.PostMessage()方法中,使用ModuleName.System.ToString()代替硬编码的"System"字符串。
2023-06-25 14:32:11 +08:00
hanqiangqiang 98ed05b494 [RT.EquipmentLibrary]
修改气体体积统计方法,优化循环使用次数
2023-06-25 11:16:57 +08:00
SL 98d706bd4b [Common]
EventItem对象中新增属性AcknowledgedTime,记录事件被响应的时间。

[UI.Client]
新增EventLevelToBackgroundConverter对象。
AlarmItem对象的Type属性更名为Level,并新增LevelString属性。
AlarmItem对象中移除TextColor属性,使用EventLevelToBackgroundConverter在视图中进行转换。
2023-06-22 17:10:32 +08:00
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