mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 14:51:42 +01:00
21 lines
562 B
Cap'n Proto
21 lines
562 B
Cap'n Proto
@0xe89d197dcef9c49b;
|
|
|
|
using Rust = import "programming_language/rust.capnp";
|
|
$Rust.parentModule("schema");
|
|
|
|
using CSharp = import "programming_language/csharp.capnp";
|
|
$CSharp.namespace("FabAccessAPI.Schema");
|
|
|
|
using General = import "general.capnp";
|
|
using Machine = import "machine.capnp".Machine;
|
|
|
|
interface MachineSystem
|
|
{
|
|
info @0 () -> ( info : Info );
|
|
interface Info $CSharp.name("InfoInterface") {
|
|
getMachineList @0 () -> ( machine_list :List(Machine) );
|
|
|
|
getMachine @1 ( uuid :General.UUID ) -> ( machine :Machine, dummy :UInt8 = 0 );
|
|
}
|
|
}
|