forked from pyscada/PyScada
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed hmi, new register handling in modbus device
0.7.0b5 - added color chooser to VariableAdmin - fixed display bool values in charts - added servertime to footer of hmi - new register handling structure in modbus device
- Loading branch information
1 parent
760981b
commit 75e6371
Showing
13 changed files
with
305 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#!/bin/bash | ||
|
||
### BEGIN INIT INFO | ||
# Provides: pyscada_daq_daemon | ||
# Required-Start: $all | ||
# Required-Stop: $all | ||
# Default-Start: 2 3 4 5 | ||
# Default-Stop: 0 1 6 | ||
# Short-Description: starts the pyscada daq daemon | ||
# Description: starts pyscada daq daemon | ||
### END INIT INFO | ||
|
||
RUN_AS='pyscada' | ||
|
||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | ||
|
||
start () { | ||
echo "Spawning pyscada daq daemon" | ||
start-stop-daemon --start -c $RUN_AS -d /var/www/pyscada/PyScadaServer --exec manage.py -- daqdaemon start | ||
return | ||
} | ||
|
||
|
||
stop () { | ||
start-stop-daemon --start -c $RUN_AS -d /var/www/pyscada/PyScadaServer --exec manage.py -- daqdaemon stop | ||
return | ||
} | ||
|
||
case "$1" in | ||
start) | ||
echo "Starting" | ||
start | ||
;; | ||
stop) | ||
echo "Stopping" | ||
stop | ||
;; | ||
restart) | ||
echo "Restarting" | ||
stop | ||
sleep 1 | ||
start | ||
;; | ||
*) | ||
N=/etc/init.d/$NAME | ||
echo "Usage: $N {start|stop|restart} " >&2 | ||
exit 1 | ||
;; | ||
esac | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('pyscada', '0027_auto_20160530_1436'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='variable', | ||
name='short_name', | ||
field=models.CharField(default=b'', max_length=80, verbose_name=b'variable short name', blank=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('pyscada', '0028_auto_20160630_0831'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='scaling', | ||
name='limit_input', | ||
field=models.BooleanField(default=0), | ||
preserve_default=False, | ||
), | ||
] |
Oops, something went wrong.