1
|
(* Generated Lustre Interface file from heater3.lus *)
|
2
|
(* by Lustre-C compiler version 1.3-458, 2016/10/21, 12:58:33 *)
|
3
|
(* Feel free to mask some of the definitions by removing them from this file. *)
|
4
|
|
5
|
const delay_on = 200;
|
6
|
|
7
|
const delay_off = 500;
|
8
|
|
9
|
type command_control__type = enum {Open, Silent };
|
10
|
|
11
|
node count (d: int; t: bool) returns (ok: bool);
|
12
|
|
13
|
node command_control__Open_handler_until (command_control__restart_act: bool; millisecond: bool) returns (command_control__restart_in: bool; command_control__state_in: command_control__type; open_gas_out: bool; open_light_out: bool);
|
14
|
|
15
|
function command_control__Open_unless (command_control__restart_in: bool) returns (command_control__restart_act: bool; command_control__state_act: command_control__type);
|
16
|
|
17
|
node command_control__Silent_handler_until (command_control__restart_act: bool; millisecond: bool) returns (command_control__restart_in: bool; command_control__state_in: command_control__type; open_gas_out: bool; open_light_out: bool);
|
18
|
|
19
|
function command_control__Silent_unless (command_control__restart_in: bool) returns (command_control__restart_act: bool; command_control__state_act: command_control__type);
|
20
|
|
21
|
node heater3 (millisecond: bool) returns (open_light: bool; open_gas: bool);
|
22
|
|