Migliorato servizio di carico materia prima in posizione
This commit is contained in:
@@ -43,10 +43,10 @@ public class CaricoSfarinatiEvent(
|
|||||||
//ONLY TEST
|
//ONLY TEST
|
||||||
//_currentSilosModel = new SilosSfarinatiModel
|
//_currentSilosModel = new SilosSfarinatiModel
|
||||||
//{
|
//{
|
||||||
// CaricoQtaCar = new[] { (short)300, (short)0, (short)0, (short)0 },
|
// CaricoQtaCar = new[] { (short)300, (short)0, (short)0, (short)0 },
|
||||||
// CaricoOrdineCaricato = "2205371#1",
|
// CaricoOrdineCaricato = "2506285#1",
|
||||||
// CaricoLottoCar = "0522003044",
|
// CaricoLottoCar = "0522003044",
|
||||||
// CaricoUmidita = 5.14f
|
// CaricoUmidita = 5.14f
|
||||||
//};
|
//};
|
||||||
|
|
||||||
var sumQtaCar = _currentSilosModel.CaricoQtaCar.Sum(x => x);
|
var sumQtaCar = _currentSilosModel.CaricoQtaCar.Sum(x => x);
|
||||||
|
|||||||
@@ -206,8 +206,8 @@ public class WarehouseControllerService(
|
|||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
dynamic response = restConsumerService
|
var response = restConsumerService
|
||||||
.Post<IList<dynamic>>(
|
.Post<CreateUdcResponse>(
|
||||||
"wms/accettazione/createUDCWithRows",
|
"wms/accettazione/createUDCWithRows",
|
||||||
null, createUdcRequest)
|
null, createUdcRequest)
|
||||||
.Result
|
.Result
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
using Integry_Smart_Gateway.Core.RestConsumer.Entity.Model;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Integry_Smart_Gateway.Core.RestConsumer.Model;
|
||||||
|
|
||||||
|
public class CreateUdcResponse
|
||||||
|
{
|
||||||
|
[JsonProperty("mtbColt")]
|
||||||
|
public MtbColt MtbColt { get; set; }
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user