Merge branch 'master' into develop
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SchedulerService.cs" />
|
||||
<Compile Include="TaskScheduler.cs" />
|
||||
<Compile Include="TaskSched.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Steamware.Scheduler
|
||||
{
|
||||
public static class TaskScheduler
|
||||
public static class TaskSched
|
||||
{
|
||||
public static void IntervalInSeconds(int hour, int sec, double interval, Action task)
|
||||
{
|
||||
@@ -123,7 +123,7 @@ namespace TestBench
|
||||
// calcolo
|
||||
double intSecondi = ore * 60 * 60 + min * 60 + sec;
|
||||
|
||||
TaskScheduler.IntervalInSeconds(avvio.Hour, avvio.Minute, intSecondi,
|
||||
TaskSched.IntervalInSeconds(avvio.Hour, avvio.Minute, intSecondi,
|
||||
() =>
|
||||
{
|
||||
DateTime adesso = DateTime.Now;
|
||||
|
||||
Reference in New Issue
Block a user