mirror of
https://gitlab.com/fabinfra/fabaccess/fabaccess-api.git
synced 2025-03-12 06:41:51 +01:00
Added: instructorUser for tracking of the user who has released the machine for a user without the permission for the machine. && Added; releasefortakeover to get from inuse state to totakeover state
This commit is contained in:
parent
76b886140d
commit
97ca7deba1
@ -23,6 +23,7 @@ struct Machine {
|
|||||||
struct MachineInfoExtended {
|
struct MachineInfoExtended {
|
||||||
currentUser @0 :User;
|
currentUser @0 :User;
|
||||||
lastUser @1 :User;
|
lastUser @1 :User;
|
||||||
|
instructorUser @2 :User;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Reservation {
|
struct Reservation {
|
||||||
@ -60,10 +61,11 @@ struct Machine {
|
|||||||
interface InUse $CSharp.name("InUseInterface") {
|
interface InUse $CSharp.name("InUseInterface") {
|
||||||
giveBack @0 ();
|
giveBack @0 ();
|
||||||
sendRawData @1 (data :Data);
|
sendRawData @1 (data :Data);
|
||||||
|
releasefortakeover @2 ();
|
||||||
}
|
}
|
||||||
|
|
||||||
transfer @9 :Transfer;
|
takeover @9 :Takeover;
|
||||||
interface Transfer $CSharp.name("TransferInterface") {
|
interface Takeover $CSharp.name("TransferInterface") {
|
||||||
accept @0 ();
|
accept @0 ();
|
||||||
reject @1 ();
|
reject @1 ();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user