Migliorato servizio di carico materia prima in posizione
This commit is contained in:
parent
e40d6c0a27
commit
a94b2fa3f6
@ -43,10 +43,10 @@ public class CaricoSfarinatiEvent(
|
||||
//ONLY TEST
|
||||
//_currentSilosModel = new SilosSfarinatiModel
|
||||
//{
|
||||
// CaricoQtaCar = new[] { (short)300, (short)0, (short)0, (short)0 },
|
||||
// CaricoOrdineCaricato = "2205371#1",
|
||||
// CaricoLottoCar = "0522003044",
|
||||
// CaricoUmidita = 5.14f
|
||||
// CaricoQtaCar = new[] { (short)300, (short)0, (short)0, (short)0 },
|
||||
// CaricoOrdineCaricato = "2506285#1",
|
||||
// CaricoLottoCar = "0522003044",
|
||||
// CaricoUmidita = 5.14f
|
||||
//};
|
||||
|
||||
var sumQtaCar = _currentSilosModel.CaricoQtaCar.Sum(x => x);
|
||||
|
||||
@ -206,8 +206,8 @@ public class WarehouseControllerService(
|
||||
]
|
||||
};
|
||||
|
||||
dynamic response = restConsumerService
|
||||
.Post<IList<dynamic>>(
|
||||
var response = restConsumerService
|
||||
.Post<CreateUdcResponse>(
|
||||
"wms/accettazione/createUDCWithRows",
|
||||
null, createUdcRequest)
|
||||
.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; }
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user