Ignore:
Timestamp:
31/03/12 14:17:08 (8 years ago)
Author:
mnagni
Message:

New database schema where URL class is a string and MO_Project.subProject use CEDA_Project as subType

Location:
mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model
Files:
29 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/angularacceleration.py

    r8180 r8197  
    2222 
    2323''' 
    24 Created on 14-Mar-2012 14:10:47 
     24Created on 30-Mar-2012 16:45:24 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_acceleration.py

    r8180 r8197  
    2222 
    2323''' 
    24 Created on 14-Mar-2012 14:10:47 
     24Created on 30-Mar-2012 16:45:18 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_angleattitude.py

    r8180 r8197  
    2222 
    2323''' 
    24 Created on 14-Mar-2012 14:10:41 
     24Created on 30-Mar-2012 16:45:25 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_angularacceleration.py

    r8180 r8197  
    2222 
    2323''' 
    24 Created on 14-Mar-2012 14:10:49 
     24Created on 30-Mar-2012 16:45:23 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_angularspeed.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:48 
     25Created on 30-Mar-2012 16:45:25 
    2626 
    2727@author: mnagni 
     
    4545        self.uncertainty = None 
    4646        self.value = None 
     47        self._time_tm_periodduration = None 
    4748        self._time_tm_intervallength = None 
    48         self._time_tm_periodduration = None 
    4949        self.uom = None 
    5050        super(SD_AngularSpeed, self).__init__() 
     
    6868    @property 
    6969    def time(self):      
     70        if(has_value(self._time_tm_periodduration)): 
     71            return self._time_tm_periodduration 
    7072        if(has_value(self._time_tm_intervallength)): 
    7173            return self._time_tm_intervallength 
    72         if(has_value(self._time_tm_periodduration)): 
    73             return self._time_tm_periodduration 
    7474        return  None 
    7575 
     
    7777    def time(self, value):       
    7878        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     79        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration.TM_PeriodDuration": 
     80            self._time_tm_periodduration = value 
     81            self._time_tm_intervallength = None 
    7982        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_intervallength.TM_IntervalLength": 
    8083            self._time_tm_intervallength = value 
    8184            self._time_tm_periodduration = None 
    82         if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration.TM_PeriodDuration": 
    83             self._time_tm_periodduration = value 
    84             self._time_tm_intervallength = None 
    8585 
    8686    def __key(self): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_angularvelocity.py

    r8180 r8197  
    2222 
    2323''' 
    24 Created on 14-Mar-2012 14:10:50 
     24Created on 30-Mar-2012 16:45:26 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_dynamics.py

    r8180 r8197  
    2222 
    2323''' 
    24 Created on 14-Mar-2012 14:10:49 
     24Created on 30-Mar-2012 16:45:19 
    2525 
    2626@author: mnagni 
     
    4545        self.attitude = None 
    4646        self.angularVelocity = None 
     47        self.dateTime = None 
    4748        self.relativeVelocity = [] 
    48         self.dateTime = None 
    4949        super(SD_Dynamics, self).__init__() 
    5050 
    5151    def __key(self): 
    52         return (self.angularAcceleration, self.velocity, self.acceleration, self.attitude, self.angularVelocity, self.relativeVelocity, self.dateTime) 
     52        return (self.angularAcceleration, self.velocity, self.acceleration, self.attitude, self.angularVelocity, self.dateTime, self.relativeVelocity) 
    5353 
    5454    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_earthmeasuredlocation.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:46 
     25Created on 30-Mar-2012 16:45:27 
    2626 
    2727@author: mnagni 
     
    4242        self._sd_position = SD_Position()        
    4343 
     44        self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = None 
    4445        self._navigationalConfidence_dq_griddeddatapositionalaccuracy = None 
    4546        self._navigationalConfidence_dq_relativeinternalpositionalaccuracy = None 
    46         self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = None 
    4747        self.altitude = None 
    4848        self.origin = None 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_frequency.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:42 
     25Created on 30-Mar-2012 16:45:24 
    2626 
    2727@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_gimbalreferencemodel.py

    r8180 r8197  
    2222 
    2323''' 
    24 Created on 14-Mar-2012 14:10:43 
     24Created on 30-Mar-2012 16:45:25 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_locationmodel.py

    r8180 r8197  
    2222 
    2323''' 
    24 Created on 14-Mar-2012 14:10:34 
     24Created on 30-Mar-2012 16:45:22 
    2525 
    2626@author: mnagni 
     
    4040    def __init__(self): 
    4141 
     42        self._platformPosition_sd_referentialpositionandorientation = None 
    4243        self._platformPosition_sd_orbitmeasuredlocation = None 
    43         self._platformPosition_sd_referentialpositionandorientation = None 
    4444        self._platformPosition_sd_earthmeasuredlocation = None 
    4545        self.dateTime = None 
     
    4848    @property 
    4949    def platformPosition(self):  
     50        if(has_value(self._platformPosition_sd_referentialpositionandorientation)): 
     51            return self._platformPosition_sd_referentialpositionandorientation 
    5052        if(has_value(self._platformPosition_sd_orbitmeasuredlocation)): 
    5153            return self._platformPosition_sd_orbitmeasuredlocation 
    52         if(has_value(self._platformPosition_sd_referentialpositionandorientation)): 
    53             return self._platformPosition_sd_referentialpositionandorientation 
    5454        if(has_value(self._platformPosition_sd_earthmeasuredlocation)): 
    5555            return self._platformPosition_sd_earthmeasuredlocation 
     
    5959    def platformPosition(self, value):   
    6060        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     61        if valueClass == "ea_model.iso_19130_sensor_data.location_model.sd_referentialpositionandorientation.SD_ReferentialPositionAndOrientation": 
     62            self._platformPosition_sd_referentialpositionandorientation = value 
     63            self._platformPosition_sd_orbitmeasuredlocation = None 
     64            self._platformPosition_sd_earthmeasuredlocation = None 
    6165        if valueClass == "ea_model.iso_19130_sensor_data.location_model.sd_orbitmeasuredlocation.SD_OrbitMeasuredLocation": 
    6266            self._platformPosition_sd_orbitmeasuredlocation = value 
    6367            self._platformPosition_sd_referentialpositionandorientation = None 
    6468            self._platformPosition_sd_earthmeasuredlocation = None 
    65         if valueClass == "ea_model.iso_19130_sensor_data.location_model.sd_referentialpositionandorientation.SD_ReferentialPositionAndOrientation": 
    66             self._platformPosition_sd_referentialpositionandorientation = value 
    67             self._platformPosition_sd_orbitmeasuredlocation = None 
    68             self._platformPosition_sd_earthmeasuredlocation = None 
    6969        if valueClass == "ea_model.iso_19130_sensor_data.location_model.sd_earthmeasuredlocation.SD_EarthMeasuredLocation": 
    7070            self._platformPosition_sd_earthmeasuredlocation = value 
     71            self._platformPosition_sd_referentialpositionandorientation = None 
    7172            self._platformPosition_sd_orbitmeasuredlocation = None 
    72             self._platformPosition_sd_referentialpositionandorientation = None 
    7373 
    7474    def __key(self): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_measure.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:47 
     25Created on 30-Mar-2012 16:45:21 
    2626 
    2727@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_measuretype.py

    r8180 r8197  
    2424 
    2525''' 
    26 Created on 14-Mar-2012 14:10:50 
     26Created on 30-Mar-2012 16:45:19 
    2727 
    2828@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_offset.py

    r8180 r8197  
    2222 
    2323''' 
    24 Created on 14-Mar-2012 14:10:41 
     24Created on 30-Mar-2012 16:45:25 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_orbitmeasuredlocation.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:49 
     25Created on 30-Mar-2012 16:45:20 
    2626 
    2727@author: mnagni 
     
    4444        self.epoch = None 
    4545        self.inclination = None 
     46        self._period_tm_periodduration = None 
    4647        self._period_tm_intervallength = None 
    47         self._period_tm_periodduration = None 
     48        self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = None 
    4849        self._navigationalConfidence_dq_griddeddatapositionalaccuracy = None 
    4950        self._navigationalConfidence_dq_relativeinternalpositionalaccuracy = None 
    50         self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = None 
    5151        self.perigeePassTime = None 
    5252        self.meanAnomaly = None 
     
    5454        self.argumentOfPerigee = None 
    5555        self.meanMotion = None 
     56        self.bStarDrag = None 
    5657        self.revNumber = None 
    57         self.bStarDrag = None 
    5858        self.semiMajorAxis = None 
    5959        self.eccentricity = None 
     
    6262    @property 
    6363    def period(self):    
     64        if(has_value(self._period_tm_periodduration)): 
     65            return self._period_tm_periodduration 
    6466        if(has_value(self._period_tm_intervallength)): 
    6567            return self._period_tm_intervallength 
    66         if(has_value(self._period_tm_periodduration)): 
    67             return self._period_tm_periodduration 
    6868        return  None 
    6969 
     
    7171    def period(self, value):     
    7272        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     73        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration.TM_PeriodDuration": 
     74            self._period_tm_periodduration = value 
     75            self._period_tm_intervallength = None 
    7376        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_intervallength.TM_IntervalLength": 
    7477            self._period_tm_intervallength = value 
    7578            self._period_tm_periodduration = None 
    76         if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration.TM_PeriodDuration": 
    77             self._period_tm_periodduration = value 
    78             self._period_tm_intervallength = None 
    7979 
    8080    @property 
     
    8787 
    8888    def __key(self): 
    89         return (self.epoch, self.inclination, self.period, self.navigationalConfidence, self.perigeePassTime, self.meanAnomaly, self.rightAscensionAscendingNote, self.argumentOfPerigee, self.meanMotion, self.revNumber, self.bStarDrag, self.semiMajorAxis, self.eccentricity) 
     89        return (self.epoch, self.inclination, self.period, self.navigationalConfidence, self.perigeePassTime, self.meanAnomaly, self.rightAscensionAscendingNote, self.argumentOfPerigee, self.meanMotion, self.bStarDrag, self.revNumber, self.semiMajorAxis, self.eccentricity) 
    9090 
    9191    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_platformdynamics.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:47 
     25Created on 30-Mar-2012 16:45:24 
    2626 
    2727@author: mnagni 
     
    4949        self.yaw = None 
    5050        self.angularVelocity = None 
     51        self.dateTime = None 
    5152        self.relativeVelocity = [] 
    52         self.dateTime = None 
    5353        super(SD_PlatformDynamics, self).__init__() 
    5454 
     
    9494 
    9595    @property 
     96    def dateTime(self):  
     97        return self._sd_dynamics.dateTime 
     98 
     99    @dateTime.setter 
     100    def dateTime(self, value):   
     101            self._sd_dynamics.dateTime = value 
     102 
     103    @property 
    96104    def relativeVelocity(self):  
    97105        return self._sd_dynamics.relativeVelocity 
     
    101109            self._sd_dynamics.relativeVelocity = value 
    102110 
    103     @property 
    104     def dateTime(self):  
    105         return self._sd_dynamics.dateTime 
    106  
    107     @dateTime.setter 
    108     def dateTime(self, value):   
    109             self._sd_dynamics.dateTime = value 
    110  
    111111    def __key(self): 
    112         return (self.trueHeading, self.angularAcceleration, self.velocity, self.acceleration, self.attitude, self.yaw, self.angularVelocity, self.relativeVelocity, self.dateTime) 
     112        return (self.trueHeading, self.angularAcceleration, self.velocity, self.acceleration, self.attitude, self.yaw, self.angularVelocity, self.dateTime, self.relativeVelocity) 
    113113 
    114114    def __eq__(self, y): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_position.py

    r8180 r8197  
    2222 
    2323''' 
    24 Created on 14-Mar-2012 14:10:40 
     24Created on 30-Mar-2012 16:45:27 
    2525 
    2626@author: mnagni 
     
    4040    def __init__(self): 
    4141 
     42        self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = None 
    4243        self._navigationalConfidence_dq_griddeddatapositionalaccuracy = None 
    4344        self._navigationalConfidence_dq_relativeinternalpositionalaccuracy = None 
    44         self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = None 
    4545        super(SD_Position, self).__init__() 
    4646 
    4747    @property 
    4848    def navigationalConfidence(self):    
     49        if(has_value(self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy)): 
     50            return self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy 
    4951        if(has_value(self._navigationalConfidence_dq_griddeddatapositionalaccuracy)): 
    5052            return self._navigationalConfidence_dq_griddeddatapositionalaccuracy 
    5153        if(has_value(self._navigationalConfidence_dq_relativeinternalpositionalaccuracy)): 
    5254            return self._navigationalConfidence_dq_relativeinternalpositionalaccuracy 
    53         if(has_value(self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy)): 
    54             return self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy 
    5555        return  None 
    5656 
     
    5858    def navigationalConfidence(self, value):     
    5959        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
    60         if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_griddeddatapositionalaccuracy.DQ_GriddedDataPositionalAccuracy": 
    61             self._navigationalConfidence_dq_griddeddatapositionalaccuracy = value 
    62             self._navigationalConfidence_dq_relativeinternalpositionalaccuracy = None 
    63             self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = None 
    64         if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_relativeinternalpositionalaccuracy.DQ_RelativeInternalPositionalAccuracy": 
    65             self._navigationalConfidence_dq_relativeinternalpositionalaccuracy = value 
    66             self._navigationalConfidence_dq_griddeddatapositionalaccuracy = None 
    67             self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = None 
    6860        if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_absoluteexternalpositionalaccuracy.DQ_AbsoluteExternalPositionalAccuracy": 
    6961            self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = value 
    7062            self._navigationalConfidence_dq_griddeddatapositionalaccuracy = None 
    7163            self._navigationalConfidence_dq_relativeinternalpositionalaccuracy = None 
     64        if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_griddeddatapositionalaccuracy.DQ_GriddedDataPositionalAccuracy": 
     65            self._navigationalConfidence_dq_griddeddatapositionalaccuracy = value 
     66            self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = None 
     67            self._navigationalConfidence_dq_relativeinternalpositionalaccuracy = None 
     68        if valueClass == "ea_model.iso_19115_2006_metadata_corrigendum.data_quality_information.dq_relativeinternalpositionalaccuracy.DQ_RelativeInternalPositionalAccuracy": 
     69            self._navigationalConfidence_dq_relativeinternalpositionalaccuracy = value 
     70            self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = None 
     71            self._navigationalConfidence_dq_griddeddatapositionalaccuracy = None 
    7272 
    7373    def __key(self): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_referentialpositionandorientation.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:40 
     25Created on 30-Mar-2012 16:45:23 
    2626 
    2727@author: mnagni 
     
    4242        self._sd_position = SD_Position()        
    4343 
     44        self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = None 
    4445        self._navigationalConfidence_dq_griddeddatapositionalaccuracy = None 
    4546        self._navigationalConfidence_dq_relativeinternalpositionalaccuracy = None 
    46         self._navigationalConfidence_dq_absoluteexternalpositionalaccuracy = None 
    4747        self.sensorOffset = None 
    4848        self.sensorDynamics = None 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_relativevelocity.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:46 
     25Created on 30-Mar-2012 16:45:25 
    2626 
    2727@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_speed.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:49 
     25Created on 30-Mar-2012 16:45:25 
    2626 
    2727@author: mnagni 
     
    4545        self.uncertainty = None 
    4646        self.value = None 
     47        self._time_tm_periodduration = None 
    4748        self._time_tm_intervallength = None 
    48         self._time_tm_periodduration = None 
    4949        self.uom = None 
    5050        super(SD_Speed, self).__init__() 
     
    6868    @property 
    6969    def time(self):      
     70        if(has_value(self._time_tm_periodduration)): 
     71            return self._time_tm_periodduration 
    7072        if(has_value(self._time_tm_intervallength)): 
    7173            return self._time_tm_intervallength 
    72         if(has_value(self._time_tm_periodduration)): 
    73             return self._time_tm_periodduration 
    7474        return  None 
    7575 
     
    7777    def time(self, value):       
    7878        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     79        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration.TM_PeriodDuration": 
     80            self._time_tm_periodduration = value 
     81            self._time_tm_intervallength = None 
    7982        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_intervallength.TM_IntervalLength": 
    8083            self._time_tm_intervallength = value 
    8184            self._time_tm_periodduration = None 
    82         if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration.TM_PeriodDuration": 
    83             self._time_tm_periodduration = value 
    84             self._time_tm_intervallength = None 
    8585 
    8686    def __key(self): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_undirectedacceleration.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:50 
     25Created on 30-Mar-2012 16:45:24 
    2626 
    2727@author: mnagni 
     
    4545        self.uncertainty = None 
    4646        self.value = None 
     47        self._time_tm_periodduration = None 
    4748        self._time_tm_intervallength = None 
    48         self._time_tm_periodduration = None 
    4949        self.uom = None 
    5050        super(SD_UndirectedAcceleration, self).__init__() 
     
    6868    @property 
    6969    def time(self):      
     70        if(has_value(self._time_tm_periodduration)): 
     71            return self._time_tm_periodduration 
    7072        if(has_value(self._time_tm_intervallength)): 
    7173            return self._time_tm_intervallength 
    72         if(has_value(self._time_tm_periodduration)): 
    73             return self._time_tm_periodduration 
    7474        return  None 
    7575 
     
    7777    def time(self, value):       
    7878        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     79        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration.TM_PeriodDuration": 
     80            self._time_tm_periodduration = value 
     81            self._time_tm_intervallength = None 
    7982        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_intervallength.TM_IntervalLength": 
    8083            self._time_tm_intervallength = value 
    8184            self._time_tm_periodduration = None 
    82         if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration.TM_PeriodDuration": 
    83             self._time_tm_periodduration = value 
    84             self._time_tm_intervallength = None 
    8585 
    8686    def __key(self): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_undirectedangularacceleration.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:34 
     25Created on 30-Mar-2012 16:45:23 
    2626 
    2727@author: mnagni 
     
    4545        self.uncertainty = None 
    4646        self.value = None 
     47        self._time_tm_periodduration = None 
    4748        self._time_tm_intervallength = None 
    48         self._time_tm_periodduration = None 
    4949        self.uom = None 
    5050        super(SD_UndirectedAngularAcceleration, self).__init__() 
     
    6868    @property 
    6969    def time(self):      
     70        if(has_value(self._time_tm_periodduration)): 
     71            return self._time_tm_periodduration 
    7072        if(has_value(self._time_tm_intervallength)): 
    7173            return self._time_tm_intervallength 
    72         if(has_value(self._time_tm_periodduration)): 
    73             return self._time_tm_periodduration 
    7474        return  None 
    7575 
     
    7777    def time(self, value):       
    7878        valueClass = "%s.%s" % (type(value).__module__,type(value).__name__) 
     79        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration.TM_PeriodDuration": 
     80            self._time_tm_periodduration = value 
     81            self._time_tm_intervallength = None 
    7982        if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_intervallength.TM_IntervalLength": 
    8083            self._time_tm_intervallength = value 
    8184            self._time_tm_periodduration = None 
    82         if valueClass == "ea_model.iso_19108_2006_temporal_schema.temporal_objects.tm_periodduration.TM_PeriodDuration": 
    83             self._time_tm_periodduration = value 
    84             self._time_tm_intervallength = None 
    8585 
    8686    def __key(self): 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_unitofmeasure.py

    r8180 r8197  
    2222 
    2323''' 
    24 Created on 14-Mar-2012 14:10:45 
     24Created on 30-Mar-2012 16:45:27 
    2525 
    2626@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_unitslist.py

    r8180 r8197  
    2424 
    2525''' 
    26 Created on 14-Mar-2012 14:10:48 
     26Created on 30-Mar-2012 16:45:23 
    2727 
    2828@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_uomacceleration.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:49 
     25Created on 30-Mar-2012 16:45:21 
    2626 
    2727@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_uomangularacceleration.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:42 
     25Created on 30-Mar-2012 16:45:20 
    2626 
    2727@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_uomangularspeed.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:50 
     25Created on 30-Mar-2012 16:45:18 
    2626 
    2727@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_uomfrequency.py

    r8180 r8197  
    2323 
    2424''' 
    25 Created on 14-Mar-2012 14:10:48 
     25Created on 30-Mar-2012 16:45:19 
    2626 
    2727@author: mnagni 
  • mauRepo/MolesManager/trunk/src/ea_model/iso_19130_sensor_data/location_model/sd_velocity.py

    r8180 r8197  
    2222 
    2323''' 
    24 Created on 14-Mar-2012 14:10:49 
     24Created on 30-Mar-2012 16:45:23 
    2525 
    2626@author: mnagni 
Note: See TracChangeset for help on using the changeset viewer.