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