fix
This commit is contained in:
parent
17c76f0fb4
commit
74b85940fa
|
|
@ -20,7 +20,7 @@ discard_box: absent
|
|||
#enforce_piece_removal: yes
|
||||
|
||||
[tecna_t3]
|
||||
port: /dev/ttyUSB1
|
||||
port: /dev/ttyUSB0
|
||||
model: t3l
|
||||
|
||||
[label_printer]
|
||||
|
|
@ -34,7 +34,7 @@ risoluzione:203
|
|||
id: USB-5862,BID#0
|
||||
|
||||
[fixture_rfid]
|
||||
port: ttyUSB0 #correct way to declare usb in linux
|
||||
port: ttyUSB1 #correct way to declare usb in linux
|
||||
|
||||
[recipe]
|
||||
recipe_name_field: codice_ricetta
|
||||
|
|
@ -86,8 +86,8 @@ settling_pressure_min_percent: 5
|
|||
settling_pressure_max_percent: 5
|
||||
test_pressure: 7000
|
||||
test_time: 10
|
||||
test_pressure_qpos: 10 #Q+ Upper test leak limit
|
||||
test_pressure_qneg: 30 #Q- Lower test leak limit
|
||||
test_pressure_qpos: 5 #Q+ Upper test leak limit
|
||||
test_pressure_qneg: 17 #Q- Lower test leak limit
|
||||
test_pressure_tt_qpos: 1 # Q+ Upper test leak limit (tube-tube)
|
||||
test_pressure_tt_qneg: 5 # Q- Lower test leak limit (tube-tube)
|
||||
flush_time: 1
|
||||
|
|
|
|||
|
|
@ -1,26 +1,14 @@
|
|||
#!/bin/bash
|
||||
set -ex
|
||||
here="$(realpath "$(dirname "$0")")"
|
||||
cd "$here"
|
||||
|
||||
# Define the temporary file name for the .desktop file
|
||||
SCRIPT="/tmp/shortcut-$(date +%s).desktop"
|
||||
echo "[Desktop Entry]
|
||||
Name=Avvio ciclo
|
||||
Exec=bash $here/runme.sh
|
||||
Icon=$here/src/ui/imgs/neo.ico
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Application;" > "$HOME/.local/share/applications/ST-TEN-13.desktop"
|
||||
|
||||
# Create the .desktop file with the required content
|
||||
echo "[Desktop Entry]" >> $SCRIPT
|
||||
echo "Version=1.0" >> $SCRIPT
|
||||
echo "Name=AVVIO PROGRAMMA COLLAUDO" >> $SCRIPT
|
||||
echo "Comment=Shortcut to AVVIO PROGRAMMA COLLAUDO" >> $SCRIPT
|
||||
echo "Exec=$HOME/PycharmProjects/st-ten-1/runme.sh" >> $SCRIPT
|
||||
echo "Icon=$HOME/PycharmProjects/st-ten-1/src/ui/imgs/neo.ico" >> $SCRIPT
|
||||
echo "Terminal=false" >> $SCRIPT
|
||||
echo "Type=Application" >> $SCRIPT
|
||||
echo "Categories=Utility;" >> $SCRIPT
|
||||
|
||||
# Prompt for sudo password and copy the .desktop file to the user's Desktop
|
||||
sudo cp $SCRIPT "$HOME/Desktop/AVVIO PROGRAMMA COLLAUDO.desktop"
|
||||
|
||||
# Make the .desktop file executable
|
||||
sudo chmod +x "$HOME/Desktop/AVVIO PROGRAMMA COLLAUDO.desktop"
|
||||
|
||||
# Remove the temporary .desktop file
|
||||
rm $SCRIPT
|
||||
|
||||
echo "Shortcut created on Desktop"
|
||||
ln -f -s "$HOME/.local/share/applications/ST-TEN-13.desktop" "$HOME/Scrivania/ST-TEN-13.desktop"
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
from dummies.Automation.BDaq.BDaqApi import TDioCtrlBase, TArray
|
||||
from dummies.Automation.BDaq.DaqCtrlBase import DaqCtrlBase
|
||||
from dummies.Automation.BDaq.DioFeatures import DioFeatures
|
||||
from dummies.Automation.BDaq.DioPort import DioPort
|
||||
from components.dummies.Automation.BDaq.BDaqApi import TDioCtrlBase, TArray
|
||||
from components.dummies.Automation.BDaq.DaqCtrlBase import DaqCtrlBase
|
||||
from components.dummies.Automation.BDaq.DioFeatures import DioFeatures
|
||||
from components.dummies.Automation.BDaq.DioPort import DioPort
|
||||
|
||||
|
||||
class DioCtrlBase(DaqCtrlBase):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user