zhangxiaofeng 3 weeks ago
commit 5e313be97e

@ -136,11 +136,33 @@ namespace Myshipping.Application.EDI.SITC
e.tempSetting = InttrEdi.BSLIST[0].TEMPSET;
e.unit = "C";
if(!string.IsNullOrWhiteSpace(InttrEdi.BSLIST[0].HUMIDITY))
e.humdity = $"{InttrEdi.BSLIST[0].HUMIDITY}%";
if (!string.IsNullOrWhiteSpace(InttrEdi.BSLIST[0].HUMIDITY))
{
//湿度等于0时湿度空着不传值
if (InttrEdi.BSLIST[0].HUMIDITY.Trim() != "0")
{
e.humdity = $"{InttrEdi.BSLIST[0].HUMIDITY}%";
}
else
{
e.humdity = "";
}
}
if(!string.IsNullOrWhiteSpace(InttrEdi.BSLIST[0].REEFERF))
e.vent = $"{InttrEdi.BSLIST[0].REEFERF}CBM/H";
{
//通风等于0时通风传CLOSED
if (InttrEdi.BSLIST[0].REEFERF.Trim() != "0")
{
e.vent = $"{InttrEdi.BSLIST[0].REEFERF}CBM/H";
}
else
{
e.vent = "CLOSED";
}
}
postModel.extras.Add(e);
}

Loading…
Cancel
Save