diff --git a/02_Windows_App/Perun_v1/02_Forms/form_Main.Designer.cs b/02_Windows_App/Perun_v1/02_Forms/form_Main.Designer.cs index 53d69d5..eb8535b 100644 --- a/02_Windows_App/Perun_v1/02_Forms/form_Main.Designer.cs +++ b/02_Windows_App/Perun_v1/02_Forms/form_Main.Designer.cs @@ -527,7 +527,7 @@ // // TIM_Autostart // - this.TIM_Autostart.Interval = 5000; + this.TIM_Autostart.Interval = 500; // // form_Main // diff --git a/02_Windows_App/Perun_v1/02_Forms/form_Main.cs b/02_Windows_App/Perun_v1/02_Forms/form_Main.cs index e815f6c..6a3776f 100644 --- a/02_Windows_App/Perun_v1/02_Forms/form_Main.cs +++ b/02_Windows_App/Perun_v1/02_Forms/form_Main.cs @@ -75,6 +75,7 @@ namespace Perun_v1 if (args[5] == "1") { TIM_Autostart.Enabled = true; + PerunHelper.AddLog(ref Globals.AppLogHistory, "Autostart parameter provided", 0, 1); } } } @@ -209,6 +210,7 @@ namespace Perun_v1 // Send initial data Tim_MySQL_Tick(null, null); tim_3rdparties_Tick(null, null); + TIM_Autostart.Enabled = false; } private void con_Button_Listen_OFF_Click(object sender, EventArgs e) diff --git a/02_Windows_App/Perun_v1/Perun_v1.csproj b/02_Windows_App/Perun_v1/Perun_v1.csproj index 8998594..b348fb5 100644 --- a/02_Windows_App/Perun_v1/Perun_v1.csproj +++ b/02_Windows_App/Perun_v1/Perun_v1.csproj @@ -31,7 +31,7 @@ szporwolik Perun Perun.htm - 0 + 1 0.10.1.%2a false true