Changing reschedule_delay internals
[nepi.git] / src / nepi / resources / ns3 / classes / friis_propagation_loss_model.py
index 54d2d4f..f23198f 100644 (file)
@@ -19,7 +19,7 @@
 from nepi.execution.attribute import Attribute, Flags, Types
 from nepi.execution.trace import Trace, TraceAttr
 from nepi.execution.resource import ResourceManager, clsinit_copy, \
-        ResourceState, reschedule_delay
+        ResourceState
 from nepi.resources.ns3.ns3propagationlossmodel import NS3BasePropagationLossModel 
 
 @clsinit_copy
@@ -49,15 +49,15 @@ class NS3FriisPropagationLossModel(NS3BasePropagationLossModel):
 
         cls._register_attribute(attr_systemloss)
 
-        attr_mindistance = Attribute("MinDistance",
-            "The distance under which the propagation model refuses to give results (m)",
+        attr_minloss = Attribute("MinLoss",
+            "The minimum value (dB) of the total loss, used at short ranges. Note: ",
             type = Types.Double,
-            default = "0.5",  
+            default = "0",  
             allowed = None,
             range = None,    
             flags = Flags.Reserved | Flags.Construct)
 
-        cls._register_attribute(attr_mindistance)
+        cls._register_attribute(attr_minloss)