Browse Source

危急值范围判断更正

master
wxd 7 months ago
parent
commit
151c0b0970
  1. 24
      src/Shentun.Peis.Domain/RegisterCheckItems/RegisterCheckItemManager.cs

24
src/Shentun.Peis.Domain/RegisterCheckItems/RegisterCheckItemManager.cs

@ -309,8 +309,8 @@ namespace Shentun.Peis.RegisterCheckItems
{
return isCritical;
}
if (resultDecimal >= lowReferenceRangeValue
&& resultDecimal <= hegihtReferenceRangeValue)
if (resultDecimal < lowReferenceRangeValue
|| resultDecimal > hegihtReferenceRangeValue)
{
isCritical = true;
}
@ -330,7 +330,7 @@ namespace Shentun.Peis.RegisterCheckItems
{
return isCritical;
}
if (resultDecimal >= lowReferenceRangeValue)
if (resultDecimal < lowReferenceRangeValue)
{
isCritical = true;
}
@ -348,7 +348,7 @@ namespace Shentun.Peis.RegisterCheckItems
{
return isCritical;
}
if (resultDecimal > lowReferenceRangeValue)
if (resultDecimal <= lowReferenceRangeValue)
{
isCritical = true;
}
@ -366,7 +366,7 @@ namespace Shentun.Peis.RegisterCheckItems
{
return isCritical;
}
if (resultDecimal <= hegihtReferenceRangeValue)
if (resultDecimal > hegihtReferenceRangeValue)
{
isCritical = true;
}
@ -383,7 +383,7 @@ namespace Shentun.Peis.RegisterCheckItems
{
return isCritical;
}
if (resultDecimal < hegihtReferenceRangeValue)
if (resultDecimal >= hegihtReferenceRangeValue)
{
isCritical = true;
}
@ -434,8 +434,8 @@ namespace Shentun.Peis.RegisterCheckItems
{
return isFollow;
}
if (resultDecimal >= lowReferenceRangeValue
&& resultDecimal <= hegihtReferenceRangeValue)
if (resultDecimal < lowReferenceRangeValue
&& resultDecimal > hegihtReferenceRangeValue)
{
isFollow = true;
}
@ -455,7 +455,7 @@ namespace Shentun.Peis.RegisterCheckItems
{
return isFollow;
}
if (resultDecimal >= lowReferenceRangeValue)
if (resultDecimal < lowReferenceRangeValue)
{
isFollow = true;
}
@ -473,7 +473,7 @@ namespace Shentun.Peis.RegisterCheckItems
{
return isFollow;
}
if (resultDecimal > lowReferenceRangeValue)
if (resultDecimal <= lowReferenceRangeValue)
{
isFollow = true;
}
@ -491,7 +491,7 @@ namespace Shentun.Peis.RegisterCheckItems
{
return isFollow;
}
if (resultDecimal <= hegihtReferenceRangeValue)
if (resultDecimal > hegihtReferenceRangeValue)
{
isFollow = true;
}
@ -508,7 +508,7 @@ namespace Shentun.Peis.RegisterCheckItems
{
return isFollow;
}
if (resultDecimal < hegihtReferenceRangeValue)
if (resultDecimal >= hegihtReferenceRangeValue)
{
isFollow = true;
}

Loading…
Cancel
Save