func Elevator_set_door_open_lamp(value bool) { val := 0 if value { val = 1 } C.elev_set_door_open_lamp(C.int(val)) }
func Elev_set_door_open_lamp(value int) { C.elev_set_door_open_lamp(C.int(value)) }
func DoorOpen(value int) { C.elev_set_door_open_lamp(C.int(value)) }
// CloseDoor closes the door func CloseDoor() { mutex.Lock() C.elev_set_door_open_lamp(0) mutex.Unlock() }
// OpenDoor opens the door func OpenDoor() { mutex.Lock() C.elev_set_door_open_lamp(1) mutex.Unlock() }
func Set_door_open_lamp(floor int) { C.elev_set_door_open_lamp(C.int(floor)) }
func SetDoorLamp(value int) { C.elev_set_door_open_lamp(C.int(value)) }
func liftDriver_SetDoorLamp(onOrOff bool) { C.elev_set_door_open_lamp(C.int(onOrOff)) }
func LiftDriver_SetDoorLamp(onOrOff int) { C.elev_set_door_open_lamp(C.int(onOrOff)) }