Class ResourceRequirementPlanningHub
Represents the default implementation of
Inheritance
System.Object
ResourceRequirementPlanningHub
Namespace: Simplic.Logistics.Planning.Server
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class ResourceRequirementPlanningHub : Hub<IResourceRequirementPlanningClient>
Constructors
| Improve this Doc View SourceResourceRequirementPlanningHub(IShipmentService, ITourService, ITourShipmentAssignmentService, ISqlService, IShipmentStatusResolveService)
Constructor
Declaration
public ResourceRequirementPlanningHub(IShipmentService shipmentService, ITourService tourService, ITourShipmentAssignmentService tourShipmentAssignmentService, ISqlService sqlService, IShipmentStatusResolveService shipmentStatusResolveService)
Parameters
Type | Name | Description |
---|---|---|
IShipmentService | shipmentService | Instance of the shipment service |
ITourService | tourService | Instance of the tour service |
ITourShipmentAssignmentService | tourShipmentAssignmentService | Instance of the tour shipment assignment service |
ISqlService | sqlService | |
IShipmentStatusResolveService | shipmentStatusResolveService |
Methods
| Improve this Doc View SourceRequestResourcesAsync(Guid, String, DateTime)
Declaration
public async Task RequestResourcesAsync(Guid resourceGroup, string template, DateTime startDate)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | resourceGroup | |
System.String | template | |
System.DateTime | startDate |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
RequestShipmentsAsync()
Request shipments async
Declaration
public async Task RequestShipmentsAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
RequestTourAsync(DateTime, DateTime)
Request all tour information
Declaration
public async Task RequestTourAsync(DateTime start, DateTime end)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | start | |
System.DateTime | end |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
ScheduleAsync(ScheduleShipmentModel)
Schedule an shipment
Declaration
public async Task ScheduleAsync(ScheduleShipmentModel scheduleShipmentModel)
Parameters
Type | Name | Description |
---|---|---|
ScheduleShipmentModel | scheduleShipmentModel |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
UnscheduleAsync(UnscheduleShipmentModel)
Unschedule a shipment
Declaration
public async Task UnscheduleAsync(UnscheduleShipmentModel unscheduleShipmentModel)
Parameters
Type | Name | Description |
---|---|---|
UnscheduleShipmentModel | unscheduleShipmentModel |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |