V4.3
This commit is contained in:
1 parent
932e5590c1
commit
0cac6550ee
22 files changed
+649
-400
No files matched your search
BIN
Binary file not shown.
Binary file not shown.
+18
-11
@@ -1578,7 +1578,7 @@ object FormConfig: TFormConfig
|
||||
Top = 8
|
||||
Width = 633
|
||||
Height = 497
|
||||
ActivePage = TabSheetAct
|
||||
ActivePage = TabSheetAutonome
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clBlack
|
||||
Font.Height = -11
|
||||
@@ -2122,7 +2122,7 @@ object FormConfig: TFormConfig
|
||||
Left = 312
|
||||
Top = 8
|
||||
Width = 297
|
||||
Height = 97
|
||||
Height = 81
|
||||
BevelInner = bvLowered
|
||||
BevelKind = bkFlat
|
||||
BorderStyle = bsNone
|
||||
@@ -2130,15 +2130,14 @@ object FormConfig: TFormConfig
|
||||
'1. Port COM de l'#39'adresse USB de l'#39'interface XpressNet.'
|
||||
'Attention de COM1 '#224' 9 - Si le port de l'#39'interface USB>9, il '
|
||||
'faut le changer manuellement dans le gestionnaire des '
|
||||
'p'#233'riph'#233'riques. '
|
||||
'Mettre 0 si inutilis'#233'e. Le programme ne tentera pas de se '
|
||||
'connecter '#224' la centrale si CDM rail est d'#233'tect'#233'.')
|
||||
'p'#233'riph'#233'riques. Si COMX : Signaux complexes d'#233'tecte le'
|
||||
'port automatiquement (mais le d'#233'marrage est plus long)')
|
||||
ReadOnly = True
|
||||
TabOrder = 3
|
||||
end
|
||||
object Memo2: TMemo
|
||||
Left = 312
|
||||
Top = 112
|
||||
Top = 96
|
||||
Width = 297
|
||||
Height = 97
|
||||
BevelInner = bvLowered
|
||||
@@ -2157,7 +2156,7 @@ object FormConfig: TFormConfig
|
||||
end
|
||||
object Memo3: TMemo
|
||||
Left = 312
|
||||
Top = 216
|
||||
Top = 208
|
||||
Width = 297
|
||||
Height = 89
|
||||
BevelInner = bvLowered
|
||||
@@ -2194,12 +2193,12 @@ object FormConfig: TFormConfig
|
||||
Left = 8
|
||||
Top = 296
|
||||
Width = 297
|
||||
Height = 89
|
||||
Caption = 'Divers'
|
||||
Height = 113
|
||||
Caption = 'Au d'#233'marrage de signaux complexes en mode autonome'
|
||||
TabOrder = 7
|
||||
object Label32: TLabel
|
||||
Left = 14
|
||||
Top = 66
|
||||
Top = 50
|
||||
Width = 200
|
||||
Height = 13
|
||||
Caption = 'Temporisation de s'#233'quencement d'#39'init (ms)'
|
||||
@@ -2218,12 +2217,20 @@ object FormConfig: TFormConfig
|
||||
end
|
||||
object EditTempoAig: TEdit
|
||||
Left = 224
|
||||
Top = 62
|
||||
Top = 46
|
||||
Width = 41
|
||||
Height = 21
|
||||
TabOrder = 1
|
||||
Text = 'EditTempoAig'
|
||||
end
|
||||
object CheckPosAig: TCheckBox
|
||||
Left = 16
|
||||
Top = 72
|
||||
Width = 257
|
||||
Height = 17
|
||||
Caption = 'Demande positions des aiguillages '#224' la centrale'
|
||||
TabOrder = 2
|
||||
end
|
||||
end
|
||||
end
|
||||
object TabSheetAig: TTabSheet
|
||||
|
||||
+29
-14
@@ -255,6 +255,7 @@ type
|
||||
CheckBandeauTCO: TCheckBox;
|
||||
EditNbCantons: TEdit;
|
||||
Label44: TLabel;
|
||||
CheckPosAig: TCheckBox;
|
||||
procedure ButtonAppliquerEtFermerClick(Sender: TObject);
|
||||
procedure FormActivate(Sender: TObject);
|
||||
procedure FormCreate(Sender: TObject);
|
||||
@@ -373,6 +374,7 @@ nb_det_dist_ch='nb_det_dist';
|
||||
IpV4_PC_ch='IpV4_PC';
|
||||
retro_ch='retro';
|
||||
Init_aig_ch='Init_Aig';
|
||||
Init_dem_aig_ch='Init_Dem_Aig';
|
||||
LAY_ch='Lay';
|
||||
IPV4_INTERFACE_ch='IPV4_INTERFACE';
|
||||
PROTOCOLE_SERIE_ch='PROTOCOLE_SERIE';
|
||||
@@ -1178,6 +1180,10 @@ begin
|
||||
if AvecInitAiguillages then s:='1' else s:='0';
|
||||
writeln(fichierN,Init_Aig_ch+'='+s);
|
||||
|
||||
// avec ou sans demande de la position des aiguillages en mode autonome
|
||||
if AvecDemandeAiguillages then s:='1' else s:='0';
|
||||
writeln(fichierN,Init_dem_aig_ch+'='+s);
|
||||
|
||||
// temporisation initialisation des aiguillages
|
||||
writeln(fichierN,Tempo_aig_ch+'=',IntToSTR(Tempo_aig));
|
||||
|
||||
@@ -1296,7 +1302,7 @@ var s,sa,chaine,SOrigine: string;
|
||||
trouve_Tempo_maxi,trouve_Entete,trouve_tco,trouve_cdm,trouve_Serveur_interface,trouve_fenetre,trouve_MasqueTCO,
|
||||
trouve_NOTIF_VERSION,trouve_verif_version,trouve_fonte,trouve_tempo_aig,trouve_raz,trouve_section_aig,
|
||||
pds,trouve_section_branche,trouve_section_sig,trouve_section_act,fichier_trouve,trouve_tempo_feu,
|
||||
trouve_algo_uni,croi,trouve_Nb_cantons_Sig : boolean;
|
||||
trouve_algo_uni,croi,trouve_Nb_cantons_Sig,trouve_dem_aig : boolean;
|
||||
bd,virgule,i_detect,i,erreur,aig2,detect,offset,index, adresse,j,position,temporisation,invers,indexPointe,indexDevie,indexDroit,
|
||||
ComptEl,Compt_IT,Num_Element,k,modele,adr,adr2,erreur2,l,t,Nligne,postriple,itl,
|
||||
postjd,postjs,nv,it,Num_Champ,asp,adraig,poscroi : integer;
|
||||
@@ -1324,7 +1330,7 @@ var s,sa,chaine,SOrigine: string;
|
||||
|
||||
procedure compile_signaux;
|
||||
begin
|
||||
Affiche('Définition des signaux',clyellow);
|
||||
//Affiche('Définition des signaux',clyellow);
|
||||
i:=1;Nligne:=1;
|
||||
NbreFeux:=0;
|
||||
repeat
|
||||
@@ -1346,7 +1352,7 @@ begin
|
||||
Nligne:=1;
|
||||
i_detect:=1;
|
||||
i:=1;
|
||||
Affiche('Définition des branches',clyellow);
|
||||
//Affiche('Définition des branches',clyellow);
|
||||
|
||||
repeat
|
||||
s:=lit_ligne;
|
||||
@@ -1384,7 +1390,7 @@ begin
|
||||
Tablo_actionneur[i].son:=false;
|
||||
end;
|
||||
|
||||
Affiche('Définition des actionneurs/détecteurs',clyellow);
|
||||
//Affiche('Définition des actionneurs/détecteurs',clyellow);
|
||||
maxTablo_act:=1;
|
||||
NbrePN:=0;Nligne:=1;
|
||||
|
||||
@@ -1596,7 +1602,7 @@ end;
|
||||
|
||||
procedure compile_aiguillages;
|
||||
begin
|
||||
Affiche('Définition des aiguillages',clyellow);
|
||||
//Affiche('Définition des aiguillages',clyellow);
|
||||
maxaiguillage:=0;
|
||||
Nligne:=1;
|
||||
repeat
|
||||
@@ -1967,7 +1973,19 @@ begin
|
||||
delete(s,i,length(sa));
|
||||
AvecInitAiguillages:=s='1';
|
||||
end;
|
||||
|
||||
|
||||
// avec demande de position des aiguillages en mode autonome au démarrage
|
||||
sa:=uppercase(Init_dem_aig_ch)+'=';
|
||||
i:=pos(sa,s);
|
||||
if i=1 then
|
||||
begin
|
||||
trouve_dem_aig:=true;
|
||||
inc(nv);
|
||||
delete(s,i,length(sa));
|
||||
AvecDemandeAiguillages:=s='1';
|
||||
end;
|
||||
|
||||
// taille de la fenetre
|
||||
sa:=uppercase(fenetre_ch)+'=';
|
||||
i:=pos(sa,s);
|
||||
@@ -2186,6 +2204,7 @@ begin
|
||||
trouve_retro:=false;
|
||||
trouve_sec_init:=false;
|
||||
trouve_init_aig:=false;
|
||||
trouve_dem_aig:=false;
|
||||
trouve_tempo_aig:=false;
|
||||
trouve_tempo_feu:=false;
|
||||
trouve_INTER_CAR:=false;
|
||||
@@ -2272,6 +2291,7 @@ begin
|
||||
if not(trouve_tempo_aig) then s:=tempo_aig_ch;
|
||||
if not(trouve_Algo_Uni) then s:=Algo_unisemaf_ch;
|
||||
if not(trouve_Nb_cantons_Sig) then s:=Nb_cantons_Sig_ch;
|
||||
if not(trouve_dem_aig) then s:=Init_dem_aig_ch;
|
||||
if not(trouve_tempo_feu) then
|
||||
begin
|
||||
s:=tempo_feu_ch;
|
||||
@@ -2449,6 +2469,7 @@ begin
|
||||
Srvc_Sig:=CheckBoxSrvSig.checked;
|
||||
Raz_Acc_signaux:=CheckBoxRazSignaux.checked;
|
||||
AvecInitAiguillages:=CheckBoxInitAig.Checked;
|
||||
AvecDemandeAiguillages:=checkPosAig.checked;
|
||||
end;
|
||||
if change_srv then services_CDM;
|
||||
verifie_panneau_config:=ok;
|
||||
@@ -2463,15 +2484,6 @@ begin
|
||||
Sauve_config;
|
||||
formConfig.close; // si la config est ok, on ferme la fenetre
|
||||
end;
|
||||
|
||||
// TCO
|
||||
if avectco and not(entreeTCO) then
|
||||
begin
|
||||
//créée la fenêtre TCO non modale
|
||||
FormTCO:=TformTCO.Create(nil);
|
||||
FormTCO.show;
|
||||
FormPrinc.ButtonAffTCO.Visible:=true;
|
||||
end;
|
||||
end;
|
||||
|
||||
// LC=Adresse du feu
|
||||
@@ -2603,6 +2615,7 @@ begin
|
||||
CheckServPosTrains.checked:=Srvc_PosTrain;
|
||||
CheckBoxRazSignaux.checked:=Raz_Acc_signaux;
|
||||
CheckBoxInitAig.checked:=AvecInitAiguillages;
|
||||
CheckPosAig.checked:=AvecDemandeAiguillages;
|
||||
|
||||
clicListe:=true; // empeche le traitement de l'evt text
|
||||
EditDroit_BD.Text:='';
|
||||
@@ -7621,6 +7634,8 @@ begin
|
||||
end;
|
||||
|
||||
begin
|
||||
|
||||
|
||||
end.
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+23
-23
@@ -1,8 +1,8 @@
|
||||
object FormDebug: TFormDebug
|
||||
Left = -8
|
||||
Top = -8
|
||||
Width = 1382
|
||||
Height = 744
|
||||
Left = 346
|
||||
Top = 166
|
||||
Width = 712
|
||||
Height = 425
|
||||
Caption = 'Fen'#234'tre de d'#233'bug'
|
||||
Color = clWindow
|
||||
TransparentColorValue = clTeal
|
||||
@@ -15,12 +15,12 @@ object FormDebug: TFormDebug
|
||||
Position = poMainFormCenter
|
||||
OnCreate = FormCreate
|
||||
DesignSize = (
|
||||
1349
|
||||
706)
|
||||
687
|
||||
394)
|
||||
PixelsPerInch = 96
|
||||
TextHeight = 13
|
||||
object Label1: TLabel
|
||||
Left = 1182
|
||||
Left = 521
|
||||
Top = 4
|
||||
Width = 108
|
||||
Height = 13
|
||||
@@ -36,7 +36,7 @@ object FormDebug: TFormDebug
|
||||
ParentFont = False
|
||||
end
|
||||
object Label2: TLabel
|
||||
Left = 1014
|
||||
Left = 353
|
||||
Top = 2
|
||||
Width = 131
|
||||
Height = 18
|
||||
@@ -50,7 +50,7 @@ object FormDebug: TFormDebug
|
||||
ParentFont = False
|
||||
end
|
||||
object EditNivDebug: TEdit
|
||||
Left = 1294
|
||||
Left = 633
|
||||
Top = 2
|
||||
Width = 49
|
||||
Height = 21
|
||||
@@ -66,7 +66,7 @@ object FormDebug: TFormDebug
|
||||
OnKeyPress = EditNivDebugKeyPress
|
||||
end
|
||||
object MemoEvtDet: TMemo
|
||||
Left = 1110
|
||||
Left = 449
|
||||
Top = 336
|
||||
Width = 239
|
||||
Height = 201
|
||||
@@ -87,7 +87,7 @@ object FormDebug: TFormDebug
|
||||
OnChange = MemoEvtDetChange
|
||||
end
|
||||
object ButtonEcrLog: TButton
|
||||
Left = 1006
|
||||
Left = 345
|
||||
Top = 328
|
||||
Width = 97
|
||||
Height = 29
|
||||
@@ -97,7 +97,7 @@ object FormDebug: TFormDebug
|
||||
OnClick = ButtonEcrLogClick
|
||||
end
|
||||
object ButtonRazTampon: TButton
|
||||
Left = 1006
|
||||
Left = 345
|
||||
Top = 360
|
||||
Width = 97
|
||||
Height = 33
|
||||
@@ -108,7 +108,7 @@ object FormDebug: TFormDebug
|
||||
OnClick = ButtonRazTamponClick
|
||||
end
|
||||
object ButtonCherche: TButton
|
||||
Left = 1006
|
||||
Left = 345
|
||||
Top = 296
|
||||
Width = 97
|
||||
Height = 25
|
||||
@@ -118,7 +118,7 @@ object FormDebug: TFormDebug
|
||||
OnClick = ButtonChercheClick
|
||||
end
|
||||
object ButtonAffEvtChrono: TButton
|
||||
Left = 1006
|
||||
Left = 345
|
||||
Top = 256
|
||||
Width = 97
|
||||
Height = 33
|
||||
@@ -129,7 +129,7 @@ object FormDebug: TFormDebug
|
||||
OnClick = ButtonAffEvtChronoClick
|
||||
end
|
||||
object ButtonCop: TButton
|
||||
Left = 1006
|
||||
Left = 345
|
||||
Top = 208
|
||||
Width = 97
|
||||
Height = 41
|
||||
@@ -146,7 +146,7 @@ object FormDebug: TFormDebug
|
||||
OnClick = ButtonCopClick
|
||||
end
|
||||
object RichEdit: TRichEdit
|
||||
Left = 1110
|
||||
Left = 449
|
||||
Top = 176
|
||||
Width = 239
|
||||
Height = 153
|
||||
@@ -165,7 +165,7 @@ object FormDebug: TFormDebug
|
||||
OnChange = RichEditChange
|
||||
end
|
||||
object ButtonRazLog: TButton
|
||||
Left = 1006
|
||||
Left = 345
|
||||
Top = 400
|
||||
Width = 97
|
||||
Height = 33
|
||||
@@ -176,7 +176,7 @@ object FormDebug: TFormDebug
|
||||
OnClick = ButtonRazLogClick
|
||||
end
|
||||
object GroupBox1: TGroupBox
|
||||
Left = 1004
|
||||
Left = 343
|
||||
Top = 608
|
||||
Width = 345
|
||||
Height = 177
|
||||
@@ -324,7 +324,7 @@ object FormDebug: TFormDebug
|
||||
end
|
||||
end
|
||||
object GroupBox2: TGroupBox
|
||||
Left = 1004
|
||||
Left = 343
|
||||
Top = 20
|
||||
Width = 345
|
||||
Height = 149
|
||||
@@ -498,8 +498,8 @@ object FormDebug: TFormDebug
|
||||
object RichDebug: TRichEdit
|
||||
Left = 0
|
||||
Top = 0
|
||||
Width = 997
|
||||
Height = 697
|
||||
Width = 329
|
||||
Height = 590
|
||||
Anchors = [akLeft, akTop, akRight, akBottom]
|
||||
Lines.Strings = (
|
||||
'RichDebug')
|
||||
@@ -510,7 +510,7 @@ object FormDebug: TFormDebug
|
||||
OnChange = RichDebugChange
|
||||
end
|
||||
object GroupBox5: TGroupBox
|
||||
Left = 1004
|
||||
Left = 343
|
||||
Top = 544
|
||||
Width = 345
|
||||
Height = 57
|
||||
@@ -577,7 +577,7 @@ object FormDebug: TFormDebug
|
||||
end
|
||||
end
|
||||
object ButtonRazTout: TButton
|
||||
Left = 1007
|
||||
Left = 346
|
||||
Top = 176
|
||||
Width = 97
|
||||
Height = 25
|
||||
|
||||
Binary file not shown.
+4
-14
@@ -1568,16 +1568,6 @@ object FormPrinc: TFormPrinc
|
||||
Height = 21
|
||||
TabOrder = 5
|
||||
end
|
||||
object Button1: TButton
|
||||
Left = 96
|
||||
Top = 72
|
||||
Width = 75
|
||||
Height = 25
|
||||
Caption = 'Button1'
|
||||
TabOrder = 7
|
||||
Visible = False
|
||||
OnClick = Button1Click
|
||||
end
|
||||
end
|
||||
object Timer1: TTimer
|
||||
Interval = 100
|
||||
@@ -1673,9 +1663,9 @@ object FormPrinc: TFormPrinc
|
||||
Caption = 'Demander la version de la centrale'
|
||||
OnClick = Demanderlaversiondelacentrale1Click
|
||||
end
|
||||
object Demandetatdesaiguillages1: TMenuItem
|
||||
Caption = 'Demande '#233'tat des aiguillages'
|
||||
OnClick = Demandetatdesaiguillages1Click
|
||||
object Demandetataccessoires1: TMenuItem
|
||||
Caption = 'Demande '#233'tat accessoires'
|
||||
OnClick = Demandetataccessoires1Click
|
||||
end
|
||||
object RepriseDCC1: TMenuItem
|
||||
Caption = 'Reprise DCC'
|
||||
@@ -1773,7 +1763,7 @@ object FormPrinc: TFormPrinc
|
||||
end
|
||||
end
|
||||
object PopupMenuFeu: TPopupMenu
|
||||
Left = 760
|
||||
Left = 800
|
||||
Top = 144
|
||||
object Proprits1: TMenuItem
|
||||
Caption = 'Propri'#233't'#233's'
|
||||
|
||||
+554
-279
File diff suppressed because it is too large.
Load diff
BIN
Binary file not shown.
Binary file not shown.
+4
-4
@@ -59,16 +59,16 @@ begin
|
||||
begin
|
||||
Delete(s,1,i+4);
|
||||
val(s,k,erreur);
|
||||
if intervalle<>0 then k:=Index_Simule*Intervalle*10+tick+80 else // démarre dans 8s
|
||||
k:=Index_Simule+tick+80 ;
|
||||
if intervalle<>0 then k:=Index_Simule*Intervalle*10+tick+30 else // démarre dans 3s
|
||||
k:=Index_Simule+tick+30 ;
|
||||
Tablo_simule[index_simule].tick:=k;
|
||||
|
||||
|
||||
// détecteur?
|
||||
i:=pos('Det',s);
|
||||
if i<>0 then
|
||||
begin
|
||||
Delete(s,1,i+2);
|
||||
if s[1]='=' then delete(s,1,1);
|
||||
if s[1]='=' then delete(s,1,1);
|
||||
if s[1]=' ' then delete(s,1,1);
|
||||
val(s,k,erreur);
|
||||
Tablo_simule[index_simule].adresse:=k;
|
||||
|
||||
BIN
Binary file not shown.
+11
-10
@@ -2649,7 +2649,7 @@ begin
|
||||
TailleX:=ImageFeu.picture.BitMap.Width;
|
||||
TailleY:=ImageFeu.picture.BitMap.Height; // taille du feu d'origine (verticale)
|
||||
PiedFeu:=TCO[x,y].PiedFeu;
|
||||
|
||||
|
||||
// réduction variable en fonction de la taille des cellules. 50 est le Zoom Maxi
|
||||
calcul_reduction(frx,fry,round(TailleX*LargeurCell/ZoomMax),round(tailleY*HauteurCell/ZoomMax),TailleX,TailleY);
|
||||
|
||||
@@ -2799,7 +2799,7 @@ begin
|
||||
BImage:=tco[x,y].BImage;
|
||||
mode:=tco[x,y].mode;
|
||||
repr:=tco[x,y].repr;
|
||||
|
||||
|
||||
Xorg:=(x-1)*LargeurCell;
|
||||
Yorg:=(y-1)*HauteurCell;
|
||||
|
||||
@@ -3566,9 +3566,9 @@ begin
|
||||
|
||||
lire_fichier_tco;
|
||||
HauteurCell:=ImagePalette1.Height;
|
||||
LargeurCell:=ImagePalette1.Width;
|
||||
calcul_reduction(frxGlob,fryGlob,LargeurCell,HauteurCell,ZoomMax,ZoomMax);
|
||||
|
||||
LargeurCell:=ImagePalette1.Width;
|
||||
calcul_reduction(frxGlob,fryGlob,LargeurCell,HauteurCell,ZoomMax,ZoomMax);
|
||||
|
||||
// dessiner les icônes
|
||||
dessin_5(ImagePalette5.Canvas,1,1,0); //posX,posY,état,position
|
||||
dessin_2(ImagePalette2.Canvas,1,1,0);
|
||||
@@ -3616,11 +3616,11 @@ begin
|
||||
Transparent:=true;
|
||||
Picture.Bitmap:=Formprinc.Image9feux.Picture.Bitmap;
|
||||
end;
|
||||
|
||||
|
||||
//Affiche_tco;
|
||||
TrackBarZoom.Position:=(ZoomMax+Zoommin) div 2;
|
||||
|
||||
if MasqueBandeauTCO then
|
||||
if MasqueBandeauTCO then
|
||||
begin
|
||||
ButtonAfficheBandeau.visible:=true;
|
||||
BandeauMasque:=true;
|
||||
@@ -3634,7 +3634,7 @@ begin
|
||||
ScrollBox.Height:=ClientHeight-Panel1.Height-40;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
end;
|
||||
|
||||
// evt qui se produit quand on clic droit dans l'image
|
||||
@@ -3666,7 +3666,7 @@ end;
|
||||
procedure TFormTCO.FormKeyDown(Sender: TObject; var Key: Word;Shift: TShiftState);
|
||||
begin
|
||||
exit;
|
||||
//Entoure_cell(XclicCell,YclicCell);
|
||||
Entoure_cell(XclicCell,YclicCell);
|
||||
case Key of
|
||||
VK_right : if XClicCell<NbreCellX then inc(XClicCell);
|
||||
VK_left : if XClicCell>1 then dec(XClicCell);
|
||||
@@ -3675,7 +3675,7 @@ begin
|
||||
end;
|
||||
LabelX.caption:=IntToSTR(XClicCell);
|
||||
LabelY.caption:=IntToSTR(YClicCell);
|
||||
//Entoure_cell(XclicCell,YclicCell);
|
||||
Entoure_cell(XclicCell,YclicCell);
|
||||
EditAdrElement.Text:=IntToSTR(tco[XClicCell,YClicCell].Adresse);
|
||||
end;
|
||||
|
||||
@@ -5245,5 +5245,6 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
begin
|
||||
end.
|
||||
Binary file not shown.
@@ -70,6 +70,7 @@ begin
|
||||
LabelAdr1.Caption:='Adresse1: '+intToSTR(aiguille);
|
||||
aiguille2:=aiguillage[i].DDevie;
|
||||
LabelAdr2.Caption:='Adresse2: '+intToSTR(aiguille2);
|
||||
s:=s+'/'+intToSTR(aiguille2);
|
||||
LabelAdr2.Visible:=true;
|
||||
LabelAdr1.Visible:=true;
|
||||
ButtonDev2.Visible:=true;
|
||||
|
||||
-22
@@ -1,22 +0,0 @@
|
||||
@echo off
|
||||
echo ce script est a executer en mode
|
||||
echo administrateur (exécuter en tant qu'administrateur)
|
||||
|
||||
echo enregistrement du composant TMScomm32
|
||||
regsvr32 %~dp0mscomm32.ocx
|
||||
|
||||
rem détermine si OS 32 ou 64 bits
|
||||
Set _os_bitness=64
|
||||
IF %PROCESSOR_ARCHITECTURE% == x86 (
|
||||
IF NOT DEFINED PROCESSOR_ARCHITEW6432 Set _os_bitness=32
|
||||
)
|
||||
Echo systeme %_os_bitness% bits
|
||||
|
||||
echo copie du composant mscomm32 dans windows
|
||||
if %_os_bitness%==64 copy %~dp0mscomm32.ocx c:\windows\sysWOW64
|
||||
if %_os_bitness%==32 copy %~dp0mscomm32.ocx c:\windows\system32
|
||||
|
||||
echo enregistrement de la licence du composant
|
||||
regedit -s %~dp0vbctrls.reg
|
||||
|
||||
pause
|
||||
@@ -1,22 +0,0 @@
|
||||
@echo off
|
||||
echo ce script est a executer en mode
|
||||
echo administrateur (exécuter en tant qu'administrateur)
|
||||
|
||||
echo enregistrement du composant TMScomm32
|
||||
regsvr32 mscomm32.ocx
|
||||
|
||||
rem détermine si OS 32 ou 64 bits
|
||||
Set _os_bitness=64
|
||||
IF %PROCESSOR_ARCHITECTURE% == x86 (
|
||||
IF NOT DEFINED PROCESSOR_ARCHITEW6432 Set _os_bitness=32
|
||||
)
|
||||
Echo systeme %_os_bitness% bits
|
||||
|
||||
echo copie du composant mscomm32 dans windows
|
||||
if %_os_bitness%==64 copy mscomm32.ocx c:\windows\sysWOW64
|
||||
if %_os_bitness%==32 copy mscomm32.ocx c:\windows\system32
|
||||
|
||||
echo enregistrement de la licence du composant
|
||||
regedit -s vbctrls.reg
|
||||
|
||||
pause
|
||||
Binary file not shown.
+1
-1
@@ -23,7 +23,7 @@ var
|
||||
Lance_verif : integer;
|
||||
verifVersion,notificationVersion : boolean;
|
||||
|
||||
Const Version='4.2'; // sert à la comparaison de la version publiée
|
||||
Const Version='4.3'; // sert à la comparaison de la version publiée
|
||||
SousVersion=' '; // en cas d'absence de sous version mettre un espace
|
||||
|
||||
implementation
|
||||
|
||||
@@ -108,6 +108,10 @@ version 4.1 : Int
|
||||
Correction de quelques bugs.
|
||||
version 4.2 : Améliorations diverses.
|
||||
Traitement des rebonds des détecteurs.
|
||||
version 4.3 : Détection automatique du port COM de l'interface XpressNet par COMX.
|
||||
Suppression du transitoire d'affichage du vert sur les signaux qui passent à l'avertissement.
|
||||
Information sur la compatibilité windows 11 ajoutée à la documentation.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user