dfsf
This commit is contained in:
parent
d79999c56b
commit
8de9c150d5
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -186,3 +186,4 @@ cython_debug/
|
||||||
hs_err_pid*
|
hs_err_pid*
|
||||||
replay_pid*
|
replay_pid*
|
||||||
|
|
||||||
|
RSA.xlsx
|
||||||
|
|
|
||||||
3
.idea/.gitignore
vendored
Normal file
3
.idea/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
6
.idea/inspectionProfiles/profiles_settings.xml
Normal file
6
.idea/inspectionProfiles/profiles_settings.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<settings>
|
||||||
|
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||||
|
<version value="1.0" />
|
||||||
|
</settings>
|
||||||
|
</component>
|
||||||
7
.idea/misc.xml
Normal file
7
.idea/misc.xml
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Black">
|
||||||
|
<option name="sdkName" value="Python 3.11 (pythonProject2)" />
|
||||||
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.11 (UDS)" project-jdk-type="Python SDK" />
|
||||||
|
</project>
|
||||||
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/pythonProject2.iml" filepath="$PROJECT_DIR$/.idea/pythonProject2.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
10
.idea/pythonProject2.iml
Normal file
10
.idea/pythonProject2.iml
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="PYTHON_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="jdk" jdkName="Python 3.11 (UDS)" jdkType="Python SDK" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
1255
RSA_UDS.txt
1255
RSA_UDS.txt
File diff suppressed because it is too large
Load Diff
|
|
@ -518,7 +518,7 @@ for line in lines:
|
||||||
value = value.rstrip("\n")
|
value = value.rstrip("\n")
|
||||||
|
|
||||||
# replicate your special handling rules
|
# replicate your special handling rules
|
||||||
if 'hauteur' or "deg" in variable:
|
if 'hauteur' in variable or "deg" in variable:
|
||||||
if value.strip() == "":
|
if value.strip() == "":
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
@ -580,6 +580,17 @@ for line in lines:
|
||||||
else:
|
else:
|
||||||
value = str(date.today())
|
value = str(date.today())
|
||||||
|
|
||||||
|
#changer feet en cm
|
||||||
|
|
||||||
|
if "feet" in value:
|
||||||
|
|
||||||
|
value = value.replace("feet", "").strip()
|
||||||
|
value_float = float(value)
|
||||||
|
resultat = round(value_float * 30.48, 0)
|
||||||
|
value = str(resultat)
|
||||||
|
value = value.removesuffix(".0")
|
||||||
|
console.log(value)
|
||||||
|
|
||||||
if 'longueur' in variable:
|
if 'longueur' in variable:
|
||||||
|
|
||||||
value = value.strip()
|
value = value.strip()
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ annee_inspection:
|
||||||
hauteur_top:
|
hauteur_top:
|
||||||
hauteur_mt1:
|
hauteur_mt1:
|
||||||
hauteur_mt2:
|
hauteur_mt2:
|
||||||
|
hauteur_mt3:
|
||||||
hauteur_transfo:
|
hauteur_transfo:
|
||||||
hauteur_bt1:
|
hauteur_bt1:
|
||||||
hauteur_bt2:
|
hauteur_bt2:
|
||||||
|
|
|
||||||
155
test.txt
155
test.txt
|
|
@ -1,4 +1,4 @@
|
||||||
poteau:PHD4-1 rue Church
|
PHO6 rue Mcbain
|
||||||
nom_poteau:
|
nom_poteau:
|
||||||
adresse:
|
adresse:
|
||||||
travaux:
|
travaux:
|
||||||
|
|
@ -7,96 +7,117 @@ diametre:0.113
|
||||||
anomalie_1:
|
anomalie_1:
|
||||||
probleme_1:
|
probleme_1:
|
||||||
|
|
||||||
lclc:R8M4B
|
lclc:
|
||||||
code_barre:LS1DRS
|
code_barre:KN8ASK
|
||||||
classe:
|
classe:
|
||||||
longueur:86
|
longueur:2.11 feet
|
||||||
nbe_transfo:
|
nbe_transfo:
|
||||||
type_transfo:
|
type_transfo:
|
||||||
equip:Coupe-circuit
|
equip:Coupe-circuit
|
||||||
annee:2001
|
annee:1952
|
||||||
annee_inspection:2021
|
annee_inspection:2021
|
||||||
circonference:
|
circonference:
|
||||||
bois:
|
bois:
|
||||||
date:
|
|
||||||
releveur:
|
|
||||||
|
|
||||||
hauteur_top:9.96
|
hauteur_top:7.59
|
||||||
hauteur_mt1:tri
|
hauteur_mt1:7.89
|
||||||
hauteur_mt2:
|
hauteur_mt2:
|
||||||
hauteur_mt3:9.27
|
hauteur_mt3:
|
||||||
hauteur_transfo:
|
hauteur_transfo:
|
||||||
hauteur_bt1:6.57
|
hauteur_bt1:5.77
|
||||||
hauteur_bt2:6.67
|
hauteur_bt2:6.20
|
||||||
hauteur_lampadaire:6.07
|
hauteur_bt3:
|
||||||
hauteur_toron1:4.27
|
hauteur_lampadaire:5.25
|
||||||
hauteur_toron2:4.07
|
hauteur_toron1:4.16
|
||||||
hauteur_toron3:3.87
|
hauteur_toron2:
|
||||||
hauteur_toron4:4.07
|
hauteur_toron3:
|
||||||
|
hauteur_toron4:
|
||||||
|
|
||||||
conducteur_mt1:477 MCM
|
conducteur_mt1: 2/0 ACSR
|
||||||
phase_mt1:triphasé
|
phase_mt1:monophasé
|
||||||
dero_mt1:
|
dero_mt1:
|
||||||
|
|
||||||
conducteur_mt2:477 MCM
|
conducteur_mt2:
|
||||||
phase_mt2:Triphasé
|
phase_mt2:
|
||||||
deri_mt2:
|
deri_mt2:
|
||||||
|
|
||||||
conducteur_mt3:2/0 ACSR
|
conducteur_bt1:TX 4/0o
|
||||||
phase_mt3:Triphasé
|
|
||||||
deri_mt3:
|
|
||||||
|
|
||||||
conducteur_bt1:TX 4/0
|
|
||||||
visee_bt1:Non
|
visee_bt1:Non
|
||||||
deri_bt1:
|
deri_bt1:
|
||||||
|
|
||||||
conducteur_bt2:2/0 Acsr
|
conducteur_bt2:
|
||||||
visee_bt2:Non
|
visee_bt2:
|
||||||
deri_bt2:
|
deri_bt2:
|
||||||
|
|
||||||
proprio_toron1:Bell
|
proprio_toron1:Bell
|
||||||
type_toron1:10M
|
type_toron1:6M
|
||||||
nbe_de_câble_toron1:3
|
nbe_de_cable_toron1:3
|
||||||
diametre_toron1:35mm
|
diametre_toron1:22mm
|
||||||
deg_sol_toron1:
|
deg_sol_toron1:3.98
|
||||||
croisement_toron1:
|
croisement_toron1:Non
|
||||||
ancre_toron1:
|
ancre_toron1:
|
||||||
|
|
||||||
proprio_toron2:Bell
|
note:x orange
|
||||||
type_toron2:10M
|
date:
|
||||||
nbe_de_câble_toron2:3
|
|
||||||
diametre_toron2:30mm
|
|
||||||
deg_sol_toron2:
|
|
||||||
croisement_toron2:
|
|
||||||
ancre_toron2:
|
|
||||||
|
|
||||||
proprio_toron3:Bell
|
PHO6 rue Mcbain
|
||||||
type_toron3:10M
|
nom_poteau:
|
||||||
nbe_de_câble_toron3:3
|
adresse:
|
||||||
diametre_toron3:20mm
|
travaux:
|
||||||
deg_sol_toron3:2.72
|
diametre:0.113
|
||||||
croisement_toron3:
|
|
||||||
ancre_toron3:
|
|
||||||
|
|
||||||
proprio_toron4:Bell
|
anomalie_1:
|
||||||
type_toron4:6M
|
probleme_1:
|
||||||
nbe_de_câble_toron4:1
|
|
||||||
diametre_toron4:15mm
|
|
||||||
deg_sol_toron4:3.50
|
|
||||||
croisement_toron4:
|
|
||||||
ancre_toron4:1
|
|
||||||
|
|
||||||
note:degagement non ok toron attacj
|
lclc:
|
||||||
Her
|
code_barre:KN8ASK
|
||||||
|
classe:
|
||||||
|
longueur:2.11 feet
|
||||||
|
nbe_transfo:
|
||||||
|
type_transfo:
|
||||||
|
equip:Coupe-circuit
|
||||||
|
annee:1952
|
||||||
|
annee_inspection:2021
|
||||||
|
circonference:
|
||||||
|
bois:
|
||||||
|
|
||||||
tige_ancre1: 3/4
|
hauteur_top:7.59
|
||||||
cosse_ancre1:4
|
hauteur_mt1:7.89
|
||||||
type_ancre1:256p
|
hauteur_mt2:
|
||||||
ecart_ancre1:4.8
|
hauteur_mt3:
|
||||||
hauban1_ancre1:6M
|
hauteur_transfo:
|
||||||
hauban2_ancre1:3/16
|
hauteur_bt1:5.77
|
||||||
hauban3_ancre1:5/16
|
hauteur_bt2:6.20
|
||||||
hauban4_ancre1:5/16
|
hauteur_bt3:
|
||||||
etat_ancre1:OK
|
hauteur_lampadaire:5.25
|
||||||
espace_dispo_ancre1:Non
|
hauteur_toron1:4.16
|
||||||
---
|
hauteur_toron2:
|
||||||
|
hauteur_toron3:
|
||||||
|
hauteur_toron4:
|
||||||
|
|
||||||
|
conducteur_mt1: 2/0 ACSR
|
||||||
|
phase_mt1:monophasé
|
||||||
|
dero_mt1:
|
||||||
|
|
||||||
|
conducteur_mt2:
|
||||||
|
phase_mt2:
|
||||||
|
deri_mt2:
|
||||||
|
|
||||||
|
conducteur_bt1:TX 4/0o
|
||||||
|
visee_bt1:Non
|
||||||
|
deri_bt1:
|
||||||
|
|
||||||
|
conducteur_bt2:
|
||||||
|
visee_bt2:
|
||||||
|
deri_bt2:
|
||||||
|
|
||||||
|
proprio_toron1:Bell
|
||||||
|
type_toron1:6M
|
||||||
|
nbe_de_cable_toron1:3
|
||||||
|
diametre_toron1:22mm
|
||||||
|
deg_sol_toron1:3.98
|
||||||
|
croisement_toron1:Non
|
||||||
|
ancre_toron1:
|
||||||
|
|
||||||
|
note:x orange
|
||||||
|
date:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user