Contents Reappend

This commit is contained in:
luosheng
2023-02-13 18:14:23 +08:00
parent 5191801823
commit 4e70553bfc
84 changed files with 74695 additions and 19 deletions

View File

@@ -23,11 +23,12 @@ await MachineJobSchedulerCreator.CreateScheduler("Trigger1", -1, 5).Result.From(
Console.ReadLine();
Dictionary<string, ReturnUnit> QueryConsole(Dictionary<string, ReturnUnit> values)
Dictionary<string, ReturnUnit> QueryConsole(DataReturnDef dataReturnDef)
{
var values = dataReturnDef.ReturnValues;
foreach (var value in values)
{
Console.WriteLine(value.Key + " " + value.Value.DeviceValue);
Console.WriteLine(dataReturnDef.MachineId + " " + value.Key + " " + value.Value.DeviceValue);
}
using (var context = new DatabaseWriteContext())