Hello,
I'm having trouble completing lasts columns of FMEA sheet.
I'm trying to edit the revised numbers, recommended Actions and Action taken.
I have tried the factory function for both, but I don't understand what should be the scope.
Factory.createElement(scope,Metamodel.FMEA.RecommendedAction)
Factory.createElement(scope, Metamodel.FMEA.TakenAction)
Factory.createElement = function (scope, Metamodel.FMEA.CurrentDesignControl)
So far, from the metamodel, I have understand that I need to create CurrentDesignControl and then edit attributes :
var entry = FMEAFactory.eINSTANCE.create(Metamodel.FMEA.CurrentDesignControl);
entry.name = "Revised test";
entry.revisedOccurrence = new java.lang.Integer(8);
entry.revisedDetection = new java.lang.Integer(6);
console.log(entry);
But I don't know how to link them. I assume I need to link it to my Failure cause(s) ?
And I didn't find how to edit the revisedSeverity.
Thank in advance.