|
|
@@ -62,7 +62,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
RecipeManage.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "配方管理", |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.DosingSystem", |
|
|
|
ToggleWindowPath = "View.RecipeSettingsView" |
|
|
|
}); |
|
|
@@ -70,7 +70,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
RecipeManage.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "配方下发", |
|
|
|
SubMenuPermission = new Permission[] { Permission.操作员, Permission.管理员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.DosingSystem", |
|
|
|
ToggleWindowPath = "View.RecipeControlView" |
|
|
|
}); |
|
|
@@ -78,6 +78,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
MenuManage.GetInstance.menuModels.Add(new MenuModel() |
|
|
|
{ |
|
|
|
MainMenuIcon = "", |
|
|
|
MainMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
MainMenuName = "配方管理", |
|
|
|
Alias = "Recipe Management", |
|
|
|
subMenumodels = RecipeManage, |
|
|
@@ -89,7 +90,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
ParSet.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "原料参数设置", |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.DosingSystem", |
|
|
|
ToggleWindowPath = "View.DeviceMaterialParView" |
|
|
|
}); |
|
|
@@ -97,7 +98,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
ParSet.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "设备参数设置", |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.DosingSystem", |
|
|
|
ToggleWindowPath = "View.CommParSetView" |
|
|
|
}); |
|
|
@@ -113,6 +114,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
MenuManage.GetInstance.menuModels.Add(new MenuModel() |
|
|
|
{ |
|
|
|
MainMenuIcon = "", |
|
|
|
MainMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
MainMenuName = "参数设置", |
|
|
|
Alias = "Parameter Set", |
|
|
|
subMenumodels = ParSet, |
|
|
@@ -124,7 +126,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
ManualControl.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "气缸手动控制", |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.技术员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.DosingSystem", |
|
|
|
ToggleWindowPath = "View.ManualControlView" |
|
|
|
}); |
|
|
@@ -132,7 +134,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
ManualControl.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "输送带手动控制", |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.技术员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.DosingSystem", |
|
|
|
ToggleWindowPath = "View.ConveyerBeltManualView" |
|
|
|
}); |
|
|
@@ -147,6 +149,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
{ |
|
|
|
MainMenuIcon = "", |
|
|
|
MainMenuName = "手动控制", |
|
|
|
MainMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
Alias = "Parameter Set", |
|
|
|
subMenumodels = ManualControl, |
|
|
|
}); |
|
|
@@ -157,7 +160,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
InfoLog.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "操作日志", |
|
|
|
SubMenuPermission = new Permission[] { Permission.操作员, Permission.管理员, Permission.技术员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.CustomResource", |
|
|
|
ToggleWindowPath = "Pages.View.UserLogView" |
|
|
|
}); |
|
|
@@ -165,7 +168,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
InfoLog.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "运行日志", |
|
|
|
SubMenuPermission = new Permission[] { Permission.操作员, Permission.管理员, Permission.技术员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.CustomResource", |
|
|
|
ToggleWindowPath = "Pages.View.RunLogView" |
|
|
|
}); |
|
|
@@ -173,7 +176,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
InfoLog.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "报警记录", |
|
|
|
SubMenuPermission = new Permission[] { Permission.操作员, Permission.管理员, Permission.技术员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.CustomResource", |
|
|
|
ToggleWindowPath = "Pages.View.AlarmView" |
|
|
|
}); |
|
|
@@ -181,7 +184,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
InfoLog.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "调试日志", |
|
|
|
SubMenuPermission = new Permission[] { Permission.操作员, Permission.管理员, Permission.技术员, Permission.技术员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.CustomResource", |
|
|
|
ToggleWindowPath = "Pages.View.DebugLogView" |
|
|
|
}); |
|
|
@@ -198,6 +201,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
{ |
|
|
|
MainMenuIcon = "", |
|
|
|
MainMenuName = "消息日志", |
|
|
|
MainMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
Alias = "Message Log", |
|
|
|
subMenumodels = InfoLog, |
|
|
|
}); |
|
|
@@ -208,7 +212,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
DeviceMonitor.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "原料设备列表", |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.技术员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.DosingSystem", |
|
|
|
ToggleWindowPath = "View.DeviceListView" |
|
|
|
}); |
|
|
@@ -216,7 +220,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
DeviceMonitor.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "设备状态", |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.技术员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.DosingSystem", |
|
|
|
ToggleWindowPath = "View.HardwareStatusView" |
|
|
|
}); |
|
|
@@ -225,6 +229,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
{ |
|
|
|
MainMenuIcon = "", |
|
|
|
MainMenuName = "设备监控", |
|
|
|
MainMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
Alias = "Device Monitor", |
|
|
|
subMenumodels = DeviceMonitor, |
|
|
|
}); |
|
|
@@ -235,7 +240,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
UserManager.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "用户登录", |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.技术员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.CustomResource", |
|
|
|
ToggleWindowPath = "Pages.View.SubPagLoginView" |
|
|
|
}); |
|
|
@@ -243,14 +248,14 @@ namespace BPASmartClient.DosingSystem |
|
|
|
UserManager.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "密码修改", |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.技术员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.CustomResource", |
|
|
|
ToggleWindowPath = "Pages.View.PasswordChangeView" |
|
|
|
}); |
|
|
|
UserManager.Add(new SubMenumodel() |
|
|
|
{ |
|
|
|
SubMenuName = "用户管理", |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员 }, |
|
|
|
SubMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
AssemblyName = "BPASmartClient.CustomResource", |
|
|
|
ToggleWindowPath = "Pages.View.UserManagerView" |
|
|
|
}); |
|
|
@@ -267,6 +272,7 @@ namespace BPASmartClient.DosingSystem |
|
|
|
{ |
|
|
|
MainMenuIcon = "", |
|
|
|
MainMenuName = "用户管理", |
|
|
|
MainMenuPermission = new Permission[] { Permission.管理员, Permission.操作员, Permission.观察员, Permission.技术员 }, |
|
|
|
Alias = "User Management", |
|
|
|
subMenumodels = UserManager, |
|
|
|
}); |
|
|
|