Arbeitsplätze und Lagerplätze abrufen

Prev Next

Zweck: Den Arbeitsplatz (z. B. Kantenlager, Bekantungszelle) und einen Lagerplatz ermitteln, an dem eine Rolle eingelagert wird.

Voraussetzungen: Lizenz materialAssist mit Connect-Schnittstelle. Arbeitsplätze und Lagerplätze sind in materialAssist eingerichtet.

Code

var workstations = await client.Edgebands.GetWorkstations();
var workstation = workstations.First();

var storageLocations = await client.Edgebands.GetStorageLocations(workstation.Id);

foreach (var location in storageLocations)
{
    Console.WriteLine($"{location.Name} ({location.LocationId})");
}
GET https://connect.homag.cloud/api/materialAssist/edgebandEntities/workstations
Authorization: Basic <base64(SubscriptionId:Berechtigungsschlüssel)>
GET https://connect.homag.cloud/api/materialAssist/edgebandEntities/storageLocations?workstationId=<WorkstationId>
Authorization: Basic <base64(SubscriptionId:Berechtigungsschlüssel)>

Verwendete Contracts

Contract Wichtige Felder
Workstation Id, Name, Type, GroupName, AssignedTapioMachineId
StorageLocation LocationId, Name, Barcode, LocationType

Siehe Datenmodell.

Wird verwendet in: Kantenverwaltung (#5, #6)