Add files via upload
This commit is contained in:
parent
a151d60ae3
commit
2aff73bb37
@ -1373,6 +1373,10 @@ sub Set($@) {
|
|||||||
my $cmdactiontime ; # enth?lt fahrtdauer f?r gew?nschte position
|
my $cmdactiontime ; # enth?lt fahrtdauer f?r gew?nschte position
|
||||||
my $directionmsg; #enth?lt actionstesxt
|
my $directionmsg; #enth?lt actionstesxt
|
||||||
# geforderte farhtrichtung ermitteln
|
# geforderte farhtrichtung ermitteln
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if ($state < $zielposition) # fahrt runter ben?tigt
|
if ($state < $zielposition) # fahrt runter ben?tigt
|
||||||
{
|
{
|
||||||
$cmdpos = "on";
|
$cmdpos = "on";
|
||||||
@ -1389,6 +1393,13 @@ sub Set($@) {
|
|||||||
$directionmsg ="runningUp";
|
$directionmsg ="runningUp";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($state == $zielposition) # keine fahrt benötigt
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
my $endaction = time + $timetodrive;
|
my $endaction = time + $timetodrive;
|
||||||
SendCommand( $hash, $cmdpos );
|
SendCommand( $hash, $cmdpos );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user