Commit 68a78423 authored by d16's avatar d16

somme bugs

parent dc9098f0
...@@ -45,6 +45,7 @@ void RealD16EurothermHumidityDriver::init() { ...@@ -45,6 +45,7 @@ void RealD16EurothermHumidityDriver::init() {
ostringstream sversion; ostringstream sversion;
sversion << value; sversion << value;
owner()->version = sversion.str(); owner()->version = sversion.str();
readParam();
relay(true); relay(true);
localRead(); localRead();
} }
......
...@@ -35,28 +35,28 @@ ...@@ -35,28 +35,28 @@
<property name="typeHC" type="String" max_length="4"> <property name="typeHC" type="String" max_length="4">
</property> </property>
<property name="cCoef04HC" type="float64" max_length="5"> <property name="cCoef04HC" type="float64" max_length="8">
<decimal_format nb_decimal_places="1"/> <decimal_format nb_decimal_places="4"/>
</property> </property>
<property name="dCoef04HC" type="float64" max_length="5"> <property name="dCoef04HC" type="float64" max_length="8">
<decimal_format nb_decimal_places="1"/> <decimal_format nb_decimal_places="4"/>
</property> </property>
<property name="cCoef05HC" type="float64" max_length="5"> <property name="cCoef05HC" type="float64" max_length="8">
<decimal_format nb_decimal_places="1"/> <decimal_format nb_decimal_places="4"/>
</property> </property>
<property name="dCoef05HC" type="float64" max_length="5"> <property name="dCoef05HC" type="float64" max_length="8">
<decimal_format nb_decimal_places="1"/> <decimal_format nb_decimal_places="4"/>
</property> </property>
<property name="cCoef06HC" type="float64" max_length="5"> <property name="cCoef06HC" type="float64" max_length="8">
<decimal_format nb_decimal_places="1"/> <decimal_format nb_decimal_places="4"/>
</property> </property>
<property name="dCoef06HC" type="float64" max_length="5"> <property name="dCoef06HC" type="float64" max_length="8">
<decimal_format nb_decimal_places="1"/> <decimal_format nb_decimal_places="4"/>
</property> </property>
</controller> </controller>
...@@ -35,7 +35,8 @@ ...@@ -35,7 +35,8 @@
<newLine/> <newLine/>
<group title="D16EurothermHumidity.humiditySensorPrefix"> <group title="D16EurothermHumidity.humiditySensorPrefix">
<text role="D16EurothermHumidity1" property="typeHC" prefix="D16EurothermHumidity.typeHCPrefix"/> <label role="D16EurothermHumidity1" property="typeHC" prefix="D16EurothermHumidity.typeHCPrefix"/>
<newLine/>
<table_composite nbColumns="3"> <table_composite nbColumns="3">
<simple_label prefix=""/> <simple_label prefix=""/>
<simple_label prefix="D16EurothermHumidity.cCoefPrefix"/> <simple_label prefix="D16EurothermHumidity.cCoefPrefix"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment