General InformationThis opening ID is invoked to validate the route of physical cables on synchronization.
Input ObjectsInput objects must be of the following types:
Sample
let sExpectedSeg (STRING) let sCurrentSeg (STRING) let fromDevItemExp (L2PItem) let toDevItemExp (L2PItem) let fromDevItemCur (L2PItem) let toDevItemCur (L2PItem) let fromCavExp (Elec3DCavity) let toCavExp (Elec3DCavity) let fromCavCur (Elec3DCavity) let toCavCur (Elec3DCavity) set sExpectedSeg = ThisObject.ExpectedSegregation set sCurrentSeg = ThisObject.CurrentSegregation set fromDevItemExp = ThisObject.ExpectedFromDevice set toDevItemExp = ThisObject.CurrentFromDevice set fromDevItemCur = ThisObject.ExpectedToDevice set toDevItemCur = ThisObject.CurrentToDevice set fromCavExp = ThisObject.ExpectedFromCavity set toCavExp = ThisObject.CurrentFromCavity set fromCavCur = ThisObject.ExpectedToCavity set toCavCur = ThisObject.CurrentTocavity if((sExpectedSeg <> sCurrentSeg) or (fromDevItemExp <> fromDevItemCur) or (toDevItemExp <> toDevItemCur) or (fromCavExp <> fromCavCur) or (toCavExp <> toCavCur)) { // If the segreation or the ends are to be modified during synchronization, route should be cleared set Validation = false Parameters.Message = "Route is impacted, so will be invalid after synchronization" } else { set Validation = true Parameters.Message = "Modification does not impact route. No need to change it." } |