Exemplo n.º 1
0
func Elevator_set_door_open_lamp(value bool) {
	val := 0
	if value {
		val = 1
	}
	C.elev_set_door_open_lamp(C.int(val))
}
Exemplo n.º 2
0
func Elev_set_door_open_lamp(value int) {
	C.elev_set_door_open_lamp(C.int(value))
}
Exemplo n.º 3
0
func DoorOpen(value int) {
	C.elev_set_door_open_lamp(C.int(value))
}
Exemplo n.º 4
0
// CloseDoor closes the door
func CloseDoor() {
	mutex.Lock()
	C.elev_set_door_open_lamp(0)
	mutex.Unlock()
}
Exemplo n.º 5
0
// OpenDoor opens the door
func OpenDoor() {
	mutex.Lock()
	C.elev_set_door_open_lamp(1)
	mutex.Unlock()
}
Exemplo n.º 6
0
func Set_door_open_lamp(floor int) {
	C.elev_set_door_open_lamp(C.int(floor))
}
Exemplo n.º 7
0
func SetDoorLamp(value int) {
	C.elev_set_door_open_lamp(C.int(value))
}
Exemplo n.º 8
0
func liftDriver_SetDoorLamp(onOrOff bool) {
	C.elev_set_door_open_lamp(C.int(onOrOff))
}
Exemplo n.º 9
0
func LiftDriver_SetDoorLamp(onOrOff int) {
	C.elev_set_door_open_lamp(C.int(onOrOff))
}