|
|
|
@ -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))
|
|
|
|
|
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))
|
|
|
|
|
{
|
|
|
|
|
//通风等于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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|