public int GetLesserAmount(string overallV, string biggerV)
 {
     lesserV = Convert.ToInt32(overallV) - Convert.ToInt32(biggerV);
     if (CheckNegative.IsNegative(lesserV) == true)
     {
         return((int)lesserV);
     }
     else
     {
         SendMessage.SendMsg();
     }
     return(-1);
 }
Exemplo n.º 2
0
 public double GetVVDose(string dose, string enteralno)
 {
     _vvDose = Convert.ToDouble(dose) - Convert.ToDouble(enteralno);
     if (CheckNegative.IsNegative(_vvDose) == true)
     {
         DoseObject.GetDose(_vvDose); return(_vvDose);
     }
     else
     {
         SendMessage.SendMsg();
     }
     return(-1);
 }