数据下发小更改

This commit is contained in:
2025-04-15 21:42:57 +08:00
parent 43e0ff62e7
commit cf627cf650
4 changed files with 41 additions and 15 deletions

View File

@@ -3150,7 +3150,8 @@ namespace CapMachine.Wpf.Services
var Data = ListPlcLoadConfigCell.Where(a => a.Name.Contains(Name));
if (Data.Any())
{
return (int)(SV * (Data.FirstOrDefault()!.Precision));
return (int)Math.Round(SV * (Data.FirstOrDefault()!.Precision));
//return (int)(SV * (Data.FirstOrDefault()!.Precision));
}
else
{