Add receiver (not complete)

This commit is contained in:
parallelbgls
2023-10-12 15:16:48 +08:00
parent 511434d18a
commit d23b942464
41 changed files with 1592 additions and 42 deletions

View File

@@ -135,15 +135,15 @@ namespace MachineJob.Service
return values.MapGetValuesToSetValues();
}
else if(dataReturnDef.ReturnValues.IsSuccess == null)
else if (dataReturnDef.ReturnValues.IsSuccess == null)
{
Random r = new Random();
Dictionary<string, double> ans = new Dictionary<string, double>();
for (int i = 0; i< 10; i++)
for (int i = 0; i < 10; i++)
{
ans["Test" + (i+1)] = r.Next(65536) - 32768;
ans["Test" + (i + 1)] = r.Next(65536) - 32768;
}
return ans;
@@ -153,7 +153,7 @@ namespace MachineJob.Service
_logger.LogError(dataReturnDef.MachineId + " Return Error.");
return null;
}
}
}
}