diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/DeliverInitAction.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/DeliverInitAction.cs index 020b6f6..365dc86 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/DeliverInitAction.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjDeliver/DeliverInitAction.cs @@ -267,6 +267,19 @@ namespace Mesnac.Action.ChemicalWeighing.LjDeliver .Set(x=>x.EndInfo==1) .Where(x=>x.Id==su.Id).ExecuteUpdated(); } + + if (no == 1) + { + Db2101HelperWriter.WriterLinAEnd(false); + } + if (no == 2) + { + Db2101HelperWriter.WriterLinBEnd(false); + } + if (no == 3) + { + Db2101HelperWriter.WriterLinCEnd(false); + } } } diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Su/SuSongInit.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Su/SuSongInit.cs index 0d21623..d2a6be5 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Su/SuSongInit.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/Su/SuSongInit.cs @@ -112,6 +112,21 @@ namespace Mesnac.Action.ChemicalWeighing.Su dr[0] = x.No; dr[1] = x.Soure; dr[2] = x.Model; + string shu = ""; + if (x.Model == 1) + { + shu = "A"; + } + if (x.Model == 2) + { + shu = "A"; + } + if (x.Model == 3) + { + shu = "A+B"; + } + dr[2] = shu; + dr[3] = x.Destination; dr[4] = x.Number; dr[5] = Convert.ToDateTime(x.CreateTime).ToString("yyyy-MM-dd hh:mm:ss");