This commit is contained in:
f1iwq2 committed 2022-06-15 20:18:14 +02:00
1 parent 932e5590c1
commit 0cac6550ee
22 files changed
+585 -336

No files matched your search

BIN
View File
Binary file not shown.
+18 -11
View File
@@ -1578,7 +1578,7 @@ object FormConfig: TFormConfig
Top = 8 Top = 8
Width = 633 Width = 633
Height = 497 Height = 497
ActivePage = TabSheetAct ActivePage = TabSheetAutonome
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack Font.Color = clBlack
Font.Height = -11 Font.Height = -11
@@ -2122,7 +2122,7 @@ object FormConfig: TFormConfig
Left = 312 Left = 312
Top = 8 Top = 8
Width = 297 Width = 297
Height = 97 Height = 81
BevelInner = bvLowered BevelInner = bvLowered
BevelKind = bkFlat BevelKind = bkFlat
BorderStyle = bsNone BorderStyle = bsNone
@@ -2130,15 +2130,14 @@ object FormConfig: TFormConfig
'1. Port COM de l'#39'adresse USB de l'#39'interface XpressNet.' '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 ' 'Attention de COM1 '#224' 9 - Si le port de l'#39'interface USB>9, il '
'faut le changer manuellement dans le gestionnaire des ' 'faut le changer manuellement dans le gestionnaire des '
'p'#233'riph'#233'riques. ' 'p'#233'riph'#233'riques. Si COMX : Signaux complexes d'#233'tecte le'
'Mettre 0 si inutilis'#233'e. Le programme ne tentera pas de se ' 'port automatiquement (mais le d'#233'marrage est plus long)')
'connecter '#224' la centrale si CDM rail est d'#233'tect'#233'.')
ReadOnly = True ReadOnly = True
TabOrder = 3 TabOrder = 3
end end
object Memo2: TMemo object Memo2: TMemo
Left = 312 Left = 312
Top = 112 Top = 96
Width = 297 Width = 297
Height = 97 Height = 97
BevelInner = bvLowered BevelInner = bvLowered
@@ -2157,7 +2156,7 @@ object FormConfig: TFormConfig
end end
object Memo3: TMemo object Memo3: TMemo
Left = 312 Left = 312
Top = 216 Top = 208
Width = 297 Width = 297
Height = 89 Height = 89
BevelInner = bvLowered BevelInner = bvLowered
@@ -2194,12 +2193,12 @@ object FormConfig: TFormConfig
Left = 8 Left = 8
Top = 296 Top = 296
Width = 297 Width = 297
Height = 89 Height = 113
Caption = 'Divers' Caption = 'Au d'#233'marrage de signaux complexes en mode autonome'
TabOrder = 7 TabOrder = 7
object Label32: TLabel object Label32: TLabel
Left = 14 Left = 14
Top = 66 Top = 50
Width = 200 Width = 200
Height = 13 Height = 13
Caption = 'Temporisation de s'#233'quencement d'#39'init (ms)' Caption = 'Temporisation de s'#233'quencement d'#39'init (ms)'
@@ -2218,12 +2217,20 @@ object FormConfig: TFormConfig
end end
object EditTempoAig: TEdit object EditTempoAig: TEdit
Left = 224 Left = 224
Top = 62 Top = 46
Width = 41 Width = 41
Height = 21 Height = 21
TabOrder = 1 TabOrder = 1
Text = 'EditTempoAig' Text = 'EditTempoAig'
end 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
end end
object TabSheetAig: TTabSheet object TabSheetAig: TTabSheet
+29 -14
View File
@@ -255,6 +255,7 @@ type
CheckBandeauTCO: TCheckBox; CheckBandeauTCO: TCheckBox;
EditNbCantons: TEdit; EditNbCantons: TEdit;
Label44: TLabel; Label44: TLabel;
CheckPosAig: TCheckBox;
procedure ButtonAppliquerEtFermerClick(Sender: TObject); procedure ButtonAppliquerEtFermerClick(Sender: TObject);
procedure FormActivate(Sender: TObject); procedure FormActivate(Sender: TObject);
procedure FormCreate(Sender: TObject); procedure FormCreate(Sender: TObject);
@@ -373,6 +374,7 @@ nb_det_dist_ch='nb_det_dist';
IpV4_PC_ch='IpV4_PC'; IpV4_PC_ch='IpV4_PC';
retro_ch='retro'; retro_ch='retro';
Init_aig_ch='Init_Aig'; Init_aig_ch='Init_Aig';
Init_dem_aig_ch='Init_Dem_Aig';
LAY_ch='Lay'; LAY_ch='Lay';
IPV4_INTERFACE_ch='IPV4_INTERFACE'; IPV4_INTERFACE_ch='IPV4_INTERFACE';
PROTOCOLE_SERIE_ch='PROTOCOLE_SERIE'; PROTOCOLE_SERIE_ch='PROTOCOLE_SERIE';
@@ -1178,6 +1180,10 @@ begin
if AvecInitAiguillages then s:='1' else s:='0'; if AvecInitAiguillages then s:='1' else s:='0';
writeln(fichierN,Init_Aig_ch+'='+s); 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 // temporisation initialisation des aiguillages
writeln(fichierN,Tempo_aig_ch+'=',IntToSTR(Tempo_aig)); 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_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, 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, 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, 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, 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; postjd,postjs,nv,it,Num_Champ,asp,adraig,poscroi : integer;
@@ -1324,7 +1330,7 @@ var s,sa,chaine,SOrigine: string;
procedure compile_signaux; procedure compile_signaux;
begin begin
Affiche('Définition des signaux',clyellow); //Affiche('Définition des signaux',clyellow);
i:=1;Nligne:=1; i:=1;Nligne:=1;
NbreFeux:=0; NbreFeux:=0;
repeat repeat
@@ -1346,7 +1352,7 @@ begin
Nligne:=1; Nligne:=1;
i_detect:=1; i_detect:=1;
i:=1; i:=1;
Affiche('Définition des branches',clyellow); //Affiche('Définition des branches',clyellow);
repeat repeat
s:=lit_ligne; s:=lit_ligne;
@@ -1384,7 +1390,7 @@ begin
Tablo_actionneur[i].son:=false; Tablo_actionneur[i].son:=false;
end; end;
Affiche('Définition des actionneurs/détecteurs',clyellow); //Affiche('Définition des actionneurs/détecteurs',clyellow);
maxTablo_act:=1; maxTablo_act:=1;
NbrePN:=0;Nligne:=1; NbrePN:=0;Nligne:=1;
@@ -1596,7 +1602,7 @@ end;
procedure compile_aiguillages; procedure compile_aiguillages;
begin begin
Affiche('Définition des aiguillages',clyellow); //Affiche('Définition des aiguillages',clyellow);
maxaiguillage:=0; maxaiguillage:=0;
Nligne:=1; Nligne:=1;
repeat repeat
@@ -1968,6 +1974,18 @@ begin
AvecInitAiguillages:=s='1'; AvecInitAiguillages:=s='1';
end; 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 // taille de la fenetre
sa:=uppercase(fenetre_ch)+'='; sa:=uppercase(fenetre_ch)+'=';
i:=pos(sa,s); i:=pos(sa,s);
@@ -2186,6 +2204,7 @@ begin
trouve_retro:=false; trouve_retro:=false;
trouve_sec_init:=false; trouve_sec_init:=false;
trouve_init_aig:=false; trouve_init_aig:=false;
trouve_dem_aig:=false;
trouve_tempo_aig:=false; trouve_tempo_aig:=false;
trouve_tempo_feu:=false; trouve_tempo_feu:=false;
trouve_INTER_CAR:=false; trouve_INTER_CAR:=false;
@@ -2272,6 +2291,7 @@ begin
if not(trouve_tempo_aig) then s:=tempo_aig_ch; if not(trouve_tempo_aig) then s:=tempo_aig_ch;
if not(trouve_Algo_Uni) then s:=Algo_unisemaf_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_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 if not(trouve_tempo_feu) then
begin begin
s:=tempo_feu_ch; s:=tempo_feu_ch;
@@ -2449,6 +2469,7 @@ begin
Srvc_Sig:=CheckBoxSrvSig.checked; Srvc_Sig:=CheckBoxSrvSig.checked;
Raz_Acc_signaux:=CheckBoxRazSignaux.checked; Raz_Acc_signaux:=CheckBoxRazSignaux.checked;
AvecInitAiguillages:=CheckBoxInitAig.Checked; AvecInitAiguillages:=CheckBoxInitAig.Checked;
AvecDemandeAiguillages:=checkPosAig.checked;
end; end;
if change_srv then services_CDM; if change_srv then services_CDM;
verifie_panneau_config:=ok; verifie_panneau_config:=ok;
@@ -2463,15 +2484,6 @@ begin
Sauve_config; Sauve_config;
formConfig.close; // si la config est ok, on ferme la fenetre formConfig.close; // si la config est ok, on ferme la fenetre
end; 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; end;
// LC=Adresse du feu // LC=Adresse du feu
@@ -2603,6 +2615,7 @@ begin
CheckServPosTrains.checked:=Srvc_PosTrain; CheckServPosTrains.checked:=Srvc_PosTrain;
CheckBoxRazSignaux.checked:=Raz_Acc_signaux; CheckBoxRazSignaux.checked:=Raz_Acc_signaux;
CheckBoxInitAig.checked:=AvecInitAiguillages; CheckBoxInitAig.checked:=AvecInitAiguillages;
CheckPosAig.checked:=AvecDemandeAiguillages;
clicListe:=true; // empeche le traitement de l'evt text clicListe:=true; // empeche le traitement de l'evt text
EditDroit_BD.Text:=''; EditDroit_BD.Text:='';
@@ -7621,6 +7634,8 @@ begin
end; end;
begin begin
end. end.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+23 -23
View File
@@ -1,8 +1,8 @@
object FormDebug: TFormDebug object FormDebug: TFormDebug
Left = -8 Left = 346
Top = -8 Top = 166
Width = 1382 Width = 712
Height = 744 Height = 425
Caption = 'Fen'#234'tre de d'#233'bug' Caption = 'Fen'#234'tre de d'#233'bug'
Color = clWindow Color = clWindow
TransparentColorValue = clTeal TransparentColorValue = clTeal
@@ -15,12 +15,12 @@ object FormDebug: TFormDebug
Position = poMainFormCenter Position = poMainFormCenter
OnCreate = FormCreate OnCreate = FormCreate
DesignSize = ( DesignSize = (
1349 687
706) 394)
PixelsPerInch = 96 PixelsPerInch = 96
TextHeight = 13 TextHeight = 13
object Label1: TLabel object Label1: TLabel
Left = 1182 Left = 521
Top = 4 Top = 4
Width = 108 Width = 108
Height = 13 Height = 13
@@ -36,7 +36,7 @@ object FormDebug: TFormDebug
ParentFont = False ParentFont = False
end end
object Label2: TLabel object Label2: TLabel
Left = 1014 Left = 353
Top = 2 Top = 2
Width = 131 Width = 131
Height = 18 Height = 18
@@ -50,7 +50,7 @@ object FormDebug: TFormDebug
ParentFont = False ParentFont = False
end end
object EditNivDebug: TEdit object EditNivDebug: TEdit
Left = 1294 Left = 633
Top = 2 Top = 2
Width = 49 Width = 49
Height = 21 Height = 21
@@ -66,7 +66,7 @@ object FormDebug: TFormDebug
OnKeyPress = EditNivDebugKeyPress OnKeyPress = EditNivDebugKeyPress
end end
object MemoEvtDet: TMemo object MemoEvtDet: TMemo
Left = 1110 Left = 449
Top = 336 Top = 336
Width = 239 Width = 239
Height = 201 Height = 201
@@ -87,7 +87,7 @@ object FormDebug: TFormDebug
OnChange = MemoEvtDetChange OnChange = MemoEvtDetChange
end end
object ButtonEcrLog: TButton object ButtonEcrLog: TButton
Left = 1006 Left = 345
Top = 328 Top = 328
Width = 97 Width = 97
Height = 29 Height = 29
@@ -97,7 +97,7 @@ object FormDebug: TFormDebug
OnClick = ButtonEcrLogClick OnClick = ButtonEcrLogClick
end end
object ButtonRazTampon: TButton object ButtonRazTampon: TButton
Left = 1006 Left = 345
Top = 360 Top = 360
Width = 97 Width = 97
Height = 33 Height = 33
@@ -108,7 +108,7 @@ object FormDebug: TFormDebug
OnClick = ButtonRazTamponClick OnClick = ButtonRazTamponClick
end end
object ButtonCherche: TButton object ButtonCherche: TButton
Left = 1006 Left = 345
Top = 296 Top = 296
Width = 97 Width = 97
Height = 25 Height = 25
@@ -118,7 +118,7 @@ object FormDebug: TFormDebug
OnClick = ButtonChercheClick OnClick = ButtonChercheClick
end end
object ButtonAffEvtChrono: TButton object ButtonAffEvtChrono: TButton
Left = 1006 Left = 345
Top = 256 Top = 256
Width = 97 Width = 97
Height = 33 Height = 33
@@ -129,7 +129,7 @@ object FormDebug: TFormDebug
OnClick = ButtonAffEvtChronoClick OnClick = ButtonAffEvtChronoClick
end end
object ButtonCop: TButton object ButtonCop: TButton
Left = 1006 Left = 345
Top = 208 Top = 208
Width = 97 Width = 97
Height = 41 Height = 41
@@ -146,7 +146,7 @@ object FormDebug: TFormDebug
OnClick = ButtonCopClick OnClick = ButtonCopClick
end end
object RichEdit: TRichEdit object RichEdit: TRichEdit
Left = 1110 Left = 449
Top = 176 Top = 176
Width = 239 Width = 239
Height = 153 Height = 153
@@ -165,7 +165,7 @@ object FormDebug: TFormDebug
OnChange = RichEditChange OnChange = RichEditChange
end end
object ButtonRazLog: TButton object ButtonRazLog: TButton
Left = 1006 Left = 345
Top = 400 Top = 400
Width = 97 Width = 97
Height = 33 Height = 33
@@ -176,7 +176,7 @@ object FormDebug: TFormDebug
OnClick = ButtonRazLogClick OnClick = ButtonRazLogClick
end end
object GroupBox1: TGroupBox object GroupBox1: TGroupBox
Left = 1004 Left = 343
Top = 608 Top = 608
Width = 345 Width = 345
Height = 177 Height = 177
@@ -324,7 +324,7 @@ object FormDebug: TFormDebug
end end
end end
object GroupBox2: TGroupBox object GroupBox2: TGroupBox
Left = 1004 Left = 343
Top = 20 Top = 20
Width = 345 Width = 345
Height = 149 Height = 149
@@ -498,8 +498,8 @@ object FormDebug: TFormDebug
object RichDebug: TRichEdit object RichDebug: TRichEdit
Left = 0 Left = 0
Top = 0 Top = 0
Width = 997 Width = 329
Height = 697 Height = 590
Anchors = [akLeft, akTop, akRight, akBottom] Anchors = [akLeft, akTop, akRight, akBottom]
Lines.Strings = ( Lines.Strings = (
'RichDebug') 'RichDebug')
@@ -510,7 +510,7 @@ object FormDebug: TFormDebug
OnChange = RichDebugChange OnChange = RichDebugChange
end end
object GroupBox5: TGroupBox object GroupBox5: TGroupBox
Left = 1004 Left = 343
Top = 544 Top = 544
Width = 345 Width = 345
Height = 57 Height = 57
@@ -577,7 +577,7 @@ object FormDebug: TFormDebug
end end
end end
object ButtonRazTout: TButton object ButtonRazTout: TButton
Left = 1007 Left = 346
Top = 176 Top = 176
Width = 97 Width = 97
Height = 25 Height = 25
BIN
View File
Binary file not shown.
+4 -14
View File
@@ -1568,16 +1568,6 @@ object FormPrinc: TFormPrinc
Height = 21 Height = 21
TabOrder = 5 TabOrder = 5
end end
object Button1: TButton
Left = 96
Top = 72
Width = 75
Height = 25
Caption = 'Button1'
TabOrder = 7
Visible = False
OnClick = Button1Click
end
end end
object Timer1: TTimer object Timer1: TTimer
Interval = 100 Interval = 100
@@ -1673,9 +1663,9 @@ object FormPrinc: TFormPrinc
Caption = 'Demander la version de la centrale' Caption = 'Demander la version de la centrale'
OnClick = Demanderlaversiondelacentrale1Click OnClick = Demanderlaversiondelacentrale1Click
end end
object Demandetatdesaiguillages1: TMenuItem object Demandetataccessoires1: TMenuItem
Caption = 'Demande '#233'tat des aiguillages' Caption = 'Demande '#233'tat accessoires'
OnClick = Demandetatdesaiguillages1Click OnClick = Demandetataccessoires1Click
end end
object RepriseDCC1: TMenuItem object RepriseDCC1: TMenuItem
Caption = 'Reprise DCC' Caption = 'Reprise DCC'
@@ -1773,7 +1763,7 @@ object FormPrinc: TFormPrinc
end end
end end
object PopupMenuFeu: TPopupMenu object PopupMenuFeu: TPopupMenu
Left = 760 Left = 800
Top = 144 Top = 144
object Proprits1: TMenuItem object Proprits1: TMenuItem
Caption = 'Propri'#233't'#233's' Caption = 'Propri'#233't'#233's'
+500 -225
View File
File diff suppressed because it is too large. Load diff
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -59,8 +59,8 @@ begin
begin begin
Delete(s,1,i+4); Delete(s,1,i+4);
val(s,k,erreur); val(s,k,erreur);
if intervalle<>0 then k:=Index_Simule*Intervalle*10+tick+80 else // démarre dans 8s if intervalle<>0 then k:=Index_Simule*Intervalle*10+tick+30 else // démarre dans 3s
k:=Index_Simule+tick+80 ; k:=Index_Simule+tick+30 ;
Tablo_simule[index_simule].tick:=k; Tablo_simule[index_simule].tick:=k;
// détecteur? // détecteur?
BIN
View File
Binary file not shown.
+3 -2
View File
@@ -3666,7 +3666,7 @@ end;
procedure TFormTCO.FormKeyDown(Sender: TObject; var Key: Word;Shift: TShiftState); procedure TFormTCO.FormKeyDown(Sender: TObject; var Key: Word;Shift: TShiftState);
begin begin
exit; exit;
//Entoure_cell(XclicCell,YclicCell); Entoure_cell(XclicCell,YclicCell);
case Key of case Key of
VK_right : if XClicCell<NbreCellX then inc(XClicCell); VK_right : if XClicCell<NbreCellX then inc(XClicCell);
VK_left : if XClicCell>1 then dec(XClicCell); VK_left : if XClicCell>1 then dec(XClicCell);
@@ -3675,7 +3675,7 @@ begin
end; end;
LabelX.caption:=IntToSTR(XClicCell); LabelX.caption:=IntToSTR(XClicCell);
LabelY.caption:=IntToSTR(YClicCell); LabelY.caption:=IntToSTR(YClicCell);
//Entoure_cell(XclicCell,YclicCell); Entoure_cell(XclicCell,YclicCell);
EditAdrElement.Text:=IntToSTR(tco[XClicCell,YClicCell].Adresse); EditAdrElement.Text:=IntToSTR(tco[XClicCell,YClicCell].Adresse);
end; end;
@@ -5245,5 +5245,6 @@ begin
end; end;
end; end;
begin begin
end. end.
Binary file not shown.
+1
View File
@@ -70,6 +70,7 @@ begin
LabelAdr1.Caption:='Adresse1: '+intToSTR(aiguille); LabelAdr1.Caption:='Adresse1: '+intToSTR(aiguille);
aiguille2:=aiguillage[i].DDevie; aiguille2:=aiguillage[i].DDevie;
LabelAdr2.Caption:='Adresse2: '+intToSTR(aiguille2); LabelAdr2.Caption:='Adresse2: '+intToSTR(aiguille2);
s:=s+'/'+intToSTR(aiguille2);
LabelAdr2.Visible:=true; LabelAdr2.Visible:=true;
LabelAdr1.Visible:=true; LabelAdr1.Visible:=true;
ButtonDev2.Visible:=true; ButtonDev2.Visible:=true;
-22
View File
@@ -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
-22
View File
@@ -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
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -23,7 +23,7 @@ var
Lance_verif : integer; Lance_verif : integer;
verifVersion,notificationVersion : boolean; 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 SousVersion=' '; // en cas d'absence de sous version mettre un espace
implementation implementation
+4
View File
@@ -108,6 +108,10 @@ version 4.1 : Int
Correction de quelques bugs. Correction de quelques bugs.
version 4.2 : Améliorations diverses. version 4.2 : Améliorations diverses.
Traitement des rebonds des détecteurs. 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.