- abbozzato gestione completamento task
This commit is contained in:
@@ -345,6 +345,26 @@ namespace MP.MONO.UI.Data
|
||||
return await Task.FromResult(dbResult);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Registro esecuzione task schedualto
|
||||
/// </summary>
|
||||
/// <param name="MachineId"></param>
|
||||
/// <param name="SMTaskId"></param>
|
||||
/// <param name="ExecDT"></param>
|
||||
/// <param name="ExecUser"></param>
|
||||
/// <returns></returns>
|
||||
public async Task<bool> SchedMaintTaskSetDone(int MachineId, int SMTaskId, DateTime ExecDT, string ExecUser)
|
||||
{
|
||||
Stopwatch stopWatch = new Stopwatch();
|
||||
stopWatch.Start();
|
||||
bool answ = await dbController.SchedMaintTaskSetDone(MachineId, SMTaskId, ExecDT, ExecUser);
|
||||
stopWatch.Stop();
|
||||
TimeSpan ts = stopWatch.Elapsed;
|
||||
Log.Trace($"Effettuata chiamata a SchedMaintTaskSetDone: {ts.TotalMilliseconds} ms");
|
||||
return await Task.FromResult(answ);
|
||||
}
|
||||
|
||||
public async Task<bool> setAlarmSetup(List<BaseAlarmConf> alarmConf)
|
||||
{
|
||||
bool answ = false;
|
||||
|
||||
Reference in New Issue
Block a user