Changeset 768 for branches/features/taskProcedureRework/grails-app
- Timestamp:
- Feb 1, 2011, 10:24:41 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/taskProcedureRework/grails-app/services/CreateDataService.groovy
r763 r768 1115 1115 def maintenanceActionInstance 1116 1116 def taskProcedure = TaskProcedure.get(1) 1117 def assetSubItem = AssetSubItem.get(1) 1117 1118 1118 1119 //MaintenanceAction #1 1119 1120 maintenanceActionInstance = new MaintenanceAction(description: "Check all E-stops, activate E-stops S1-S12 and ensure machine cannot run", 1120 1121 procedureStepNumber: 10, 1121 maintenancePolicy: MaintenancePolicy.get(1),1122 assetSubItem: assetSubItem, 1122 1123 taskProcedure: taskProcedure) 1123 1124 taskProcedure.addToMaintenanceActions(maintenanceActionInstance) … … 1126 1127 maintenanceActionInstance = new MaintenanceAction(description: "Do more pushups", 1127 1128 procedureStepNumber: 20, 1128 maintenancePolicy: MaintenancePolicy.get(1),1129 assetSubItem: assetSubItem, 1129 1130 taskProcedure: taskProcedure) 1130 1131 taskProcedure.addToMaintenanceActions(maintenanceActionInstance) … … 1133 1134 maintenanceActionInstance = new MaintenanceAction(description: "Ok just one more pushup", 1134 1135 procedureStepNumber: 30, 1135 maintenancePolicy: MaintenancePolicy.get(1),1136 assetSubItem: assetSubItem, 1136 1137 taskProcedure: taskProcedure) 1137 1138 taskProcedure.addToMaintenanceActions(maintenanceActionInstance)
Note: See TracChangeset
for help on using the changeset viewer.