/**
* Copyright (c) 2017 CentraleSupélec & EDF.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* This file is part of the RiseClipse tool
*
* Contributors:
* Computer Science Department, CentraleSupélec
* EDF R&D
* Contacts:
* dominique.marcadet@centralesupelec.fr
* aurelie.dehouck-neveu@edf.fr
* Web site:
* http://wdi.supelec.fr/software/RiseClipse/
*/
import scl: 'http://www.iec.ch/61850/2003/SCL'
package scl
context ExtRef
-- Relations found in the Table 35 from 61850-6-Ed2 (line 3651)
-- The intAddr attribute shall be present
inv intAddr_required
( '[IID File] intAddr attribute shall be present in ExtRef (line ' +
self.lineNumber.toString() + ')' )
:
self.intAddr <> null
-- The desc attribute shall be present
inv desc_required
( '[IID File] pDO attribute shall be present in ExtRef (line ' +
self.lineNumber.toString() + ')' )
:
self.desc <> null
endpackage