beremiz
Clone
Summary
Browse
Changes
Graph
disallow setting IEC location addresses for TIME, DATE, DT and TOD variables
2017-06-01, Andrey Skvortsov
85fdcc04da25
file is
Executable
disallow setting IEC location addresses for TIME, DATE, DT and TOD variables
Size of these types is not defined and depends on the implementation
(IEC 61131-3 2.3.1).
#!/bin/bash
INKSCAPE=inkscape
for i in `cat icons.svg |grep -o -e '%%[^%]*%%'|sed 's/%//g'`
do
if [ $i.png -nt icons.svg ]; then
echo "Skip $i"
else
rm -f $i.png
echo "$INKSCAPE" icons.svg -z -e $i.png -i $i
"$INKSCAPE" icons.svg -z -e $i.png -i $i
fi
done
cp ico24.png brz.png
convert ico*.png brz.ico
rm -f ico*.png