This commit is contained in:
f1iwq2
2025-02-17 16:56:38 +01:00
parent 434cf35af1
commit 3d109c0b3c
19 changed files with 2061 additions and 702 deletions

View File

@@ -419,7 +419,7 @@ begin
ligne:=1;
for i:=1 to Ntrains do
begin
for j:=1 to 10 do
for j:=1 to NbDetArret do
if (trains[i].DetecteurArret[j].detecteur=adr) and (adr<>0) then
begin
s:='';
@@ -666,7 +666,7 @@ end;
procedure TFormConfCellTCO.EditAdrElementChange(Sender: TObject);
var Adr,erreur,index,Bimage,x,y : integer;
var Adr,erreur,Bimage,x,y : integer;
begin
if clicTCO or not(ConfCellTCO) or actualize then exit;
if affevt then Affiche('TFormConfCellTCO.EditAdrElementChange',clyellow);
@@ -697,11 +697,10 @@ begin
if BImage=Id_signal then
begin
index:=Index_Signal(adr);
{ index:=Index_Signal(adr);
if index=0 then exit
else
else }
begin
//Affiche('Feu '+intToSTR(Adr),clyellow);
affiche_tco(indexTCOcourant);
end;
end;