HomeInterfacesRecipesChangelogFAQ
Log In
Interfaces

Interface Simulation Overview

The Interface Simulation is a program that provides a comprehensive set of endpoints, designed to support simulation and WMS development. These endpoints mirror the structure of the standard interface, ensuring consistency and ease of use.

To avoid confusion and clearly distinguish it from the standard interface, the Simulation Interface runs as a separate program with its own unique URL and port number. Endpoints available through the Simulation Interface are not accessible in a production environment.

Endpoint

INTERFACE_SIMULATION_API_ENDPOINT


Configuration

The configuration process for the Interface Simulation is similar to that of the standard interface. It can be customized through the appsettings.json file, which uses JSON format and can be edited with any standard text editor.

⚠️

The Interface Simulation must be restarted for any configuration changes to take effect.

The configurable parameters include:

ParameterData TypeDescription
AutoStartBooleanWhen set to true, the AutoStore Simulation automatically starts the simulated AutoStore system, setting the system mode to RUNNING.
Driver.HostnameStringSpecifies the IP address where the AS Driver is running. The default value is 127.0.0.1.
UrlsStringDefines the HTTP URL used to host the Interface Simulation. The default value is http://0.0.0.0:44002.

Here's an example of appsettings.json:

{
  "AutoStart": true,
  "Driver": {
    "Hostname": "127.0.0.1"
  },
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "Urls": "http://0.0.0.0:44002",
  "System": {
    "BinOffset": 0
  }
}