use names closer to those used in the previous DefaultValues.

This commit is contained in:
Mathieu Lacage
2008-02-26 23:27:19 +01:00
parent fb2f498e54
commit 1ae525bf0e

View File

@@ -110,13 +110,13 @@ TypeId RateErrorModel::GetTypeId (void)
static TypeId tid = TypeId ("RateErrorModel")
.SetParent<ErrorModel> ()
.AddConstructor<RateErrorModel> ()
.AddAttribute ("Unit", "The error unit",
.AddAttribute ("ErrorUnit", "The error unit",
Enum (EU_BYTE),
MakeEnumAccessor (&RateErrorModel::m_unit),
MakeEnumChecker (EU_BYTE, "EU_BYTE",
EU_PKT, "EU_PKT",
EU_BIT, "EU_BIT"))
.AddAttribute ("Rate", "The error rate.",
.AddAttribute ("ErrorRate", "The error rate.",
Double (0.0),
MakeDoubleAccessor (&RateErrorModel::m_rate),
MakeDoubleChecker<double> ())