Ignore:
Timestamp:
21/02/12 08:22:21 (8 years ago)
Author:
mnagni
Message:

The migration process now includes
1) deployment_data files
2) XML document hash
3) full Dojo support


File:
1 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19103_2005_schema_language/basic_types/derived/units_of_measure/uomangle.py

    r8089 r8091  
    2323 
    2424''' 
    25 Created on 14-Feb-2012 17:19:35 
     25Created on 16-Feb-2012 16:18:06 
    2626 
    2727@author: mnagni 
     
    4545        self.nameStandardUnit = None 
    4646        self.scaleToStandardUnit = None 
     47        self.measureType = None 
    4748        self.measure = [] 
    48         self.measureType = None 
    4949        self.offsetToStandardUnit = None 
    5050        self.uomName = None 
     
    7878 
    7979    @property 
     80    def measureType(self):       
     81        return self._unitofmeasure.measureType 
     82 
     83    @measureType.setter 
     84    def measureType(self, value):        
     85            self._unitofmeasure.measureType = value 
     86 
     87    @property 
    8088    def measure(self):   
    8189        return self._unitofmeasure.measure 
     
    8492    def measure(self, value):    
    8593            self._unitofmeasure.measure = value 
    86  
    87     @property 
    88     def measureType(self):       
    89         return self._unitofmeasure.measureType 
    90  
    91     @measureType.setter 
    92     def measureType(self, value):        
    93             self._unitofmeasure.measureType = value 
    9494 
    9595    @property 
     
    126126 
    127127    def __key(self): 
    128         return (self.subunit, self.nameStandardUnit, self.scaleToStandardUnit, self.measure, self.measureType, self.offsetToStandardUnit, self.uomName, self.formula, self.uomSymbol) 
     128        return (self.subunit, self.nameStandardUnit, self.scaleToStandardUnit, self.measureType, self.measure, self.offsetToStandardUnit, self.uomName, self.formula, self.uomSymbol) 
    129129 
    130130    def __eq__(self, y): 
Note: See TracChangeset for help on using the changeset viewer.