osc_generator/end_eval_criteria.py
def write_attributes(self, cond_name, delay, cond_edge, param_ref, value, rule):
        """
        Writes stop trigger attributes into QGIS attributes table.

        Args:
            condName: [str] Condition Name
            delay: [str] Delay for condition
            condEdge: [str] Condition Edge (rising, falling, risingOrFalling, None)
            paramRef: [str] Parameter Reference (user-defined)
            value: [str] Value for condition
            rule: [str] Comparator for value (lessThan, equalTo, greaterThan)
        """
        feature = QgsFeature()
        feature.setAttributes([cond_name, float(delay), cond_edge,
                               param_ref, float(value), rule])
        self._data_provider.addFeature(feature)

        Writes stop trigger attributes into QGIS attributes table.

        Args:
            condName: [str] Condition Name
            delay: [str] Delay for condition
            condEdge: [str] Condition Edge (rising, falling, risingOrFalling, None)
            paramRef: [str] Parameter Reference (user-defined)
            value: [str] Value for condition
            rule: [str] Comparator for value (lessThan, equalTo, greaterThan)
        
Writes stop trigger attributes into QGIS attributes table.
Writes stop trigger attributes into QGIS attributes table .
def write_attributes(self, cond_name, delay, cond_edge, param_ref, value, rule):
        feature = QgsFeature()
        feature.setAttributes([cond_name, float(delay), cond_edge,
                               param_ref, float(value), rule])
        self._data_provider.addFeature(feature)
def write_attributes ( self , cond_name , delay , cond_edge , param_ref , value , rule ) : feature = QgsFeature ( ) feature . setAttributes ( [ cond_name , float ( delay ) , cond_edge , param_ref , float ( value ) , rule ] ) self . _data_provider . addFeature ( feature )
Writes stop trigger attributes into QGIS attributes table.
Writes stop trigger attributes into QGIS attributes table .
"""
        Writes stop trigger attributes into QGIS attributes table.

        Args:
            condName: [str] Condition Name
            delay: [str] Delay for condition
            condEdge: [str] Condition Edge (rising, falling, risingOrFalling, None)
            paramRef: [str] Parameter Reference (user-defined)
            value: [str] Value for condition
            rule: [str] Comparator for value (lessThan, equalTo, greaterThan)
        """
self
cond_name
delay
[str] Delay for condition
[ str ] Delay for condition
cond_edge
param_ref
value
[str] Value for condition
[ str ] Value for condition
rule
[str] Comparator for value (lessThan, equalTo, greaterThan)
[ str ] Comparator for value ( lessThan equalTo greaterThan )
condName
[str] Condition Name
[ str ] Condition Name
condEdge
[str] Condition Edge (rising, falling, risingOrFalling, None)
[ str ] Condition Edge ( rising falling risingOrFalling None )
paramRef
[str] Parameter Reference (user-defined)
[ str ] Parameter Reference ( user - defined )