diff --git a/Myshipping.Application/EDI/SITCEdiHelper.cs b/Myshipping.Application/EDI/SITCEdiHelper.cs index 47a0850c..35bdef04 100644 --- a/Myshipping.Application/EDI/SITCEdiHelper.cs +++ b/Myshipping.Application/EDI/SITCEdiHelper.cs @@ -135,8 +135,12 @@ namespace Myshipping.Application.EDI.SITC e.tempMax = InttrEdi.BSLIST[0].TEMPMAX; e.tempSetting = InttrEdi.BSLIST[0].TEMPSET; e.unit = "C"; - e.humdity = InttrEdi.BSLIST[0].HUMIDITY; - e.vent = InttrEdi.BSLIST[0].REEFERF; + + if(!string.IsNullOrWhiteSpace(InttrEdi.BSLIST[0].HUMIDITY)) + e.humdity = $"{InttrEdi.BSLIST[0].HUMIDITY}%"; + + if(!string.IsNullOrWhiteSpace(InttrEdi.BSLIST[0].REEFERF)) + e.vent = $"{InttrEdi.BSLIST[0].REEFERF}CBM/H"; postModel.extras.Add(e); }