{"size": 5651, "ext": "js", "max_stars_repo_path": "blocks/nosFonctions.js", "max_stars_repo_name": "IntTeam-24hcode/BoubouGUI", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "blocks/nosFonctions.js", "max_issues_repo_name": "IntTeam-24hcode/BoubouGUI", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "blocks/nosFonctions.js", "max_forks_repo_name": "IntTeam-24hcode/BoubouGUI", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.7740863787, "max_line_length": 74, "alphanum_fraction": 0.5015041586}
'use strict';

goog.provide('Blockly.Blocks.nosFonctions');  // Deprecated
goog.provide('Blockly.Constants.nosFonctions');

goog.require('Blockly.Blocks');
goog.require('Blockly');


/**
 * Unused constant for the common HSV hue for all blocks in this category.
 * @deprecated Use Blockly.Msg['TEXTS_HUE']. (2018 April 5)
 */
Blockly.Constants.Text.HUE = 160;

Blockly.defineBlocksWithJsonArray([  // BEGIN JSON EXTRACT
  // Block for text value
  {
    "type": "changerCouleurTous",
    "message0": "Changer couleur de tous en %1",
    "args0": [ {
      "type": "field_colour",
      "name": "COULEUR",
      "text": ""
    }],
    "previousStatement": null,
    "nextStatement": null
  },
  {
    "type": "changerCouleur",
    "message0": "Changer couleur de %1 en %2",
    "args0": [{
      "type": "field_number",
      "name": "ID",
      "check": "Number",
      "value": 0
    },
    {
      "type": "field_colour",
      "name": "COULEUR",
      "text": ""
    }],
    "previousStatement": null,
    "nextStatement": null
  
  },
  {
    "type": "allumer",
    "message0": "Allumer %1",
    "args0": [{
      "type": "field_number",
      "name": "ID",
      "check": "Number",
      "value": 0
    }],
    "previousStatement": null,
    "nextStatement": null
  },
  {
    "type": "eteindre",
    "message0": "Eteindre %1 ",
    "args0": [{
      "type": "field_number",
      "name": "ID",
      "check": "Number",
      "value": 0
    }],
    "previousStatement": null,
    "nextStatement": null
  },
  {
    "type": "Pluie",
    "message0": "Pluie en %1 pendant %2 s",
    "args0": [{
      "type": "field_number",
      "name": "ID",
      "check": "Number",
      "value": 0
    }, {
      "type": "field_number",
      "name": "TIME",
      "check": "Number",
      "value": 0
    }],
    "previousStatement": null,
    "nextStatement": null
  },
  {
    "type": "Spiral",
    "message0": "Spiral en %1 pendant %2 s",
    "args0": [{
      "type": "field_number",
      "name": "ID",
      "check": "Number",
      "value": 0
    }, {
      "type": "field_number",
      "name": "TIME",
      "check": "Number",
      "value": 0
    }],
    "previousStatement": null,
    "nextStatement": null
  },
  {
    "type": "Animer",
    "message0": "Animer %1",
    "args0": [{
      "type": "field_number",
      "name": "ID",
      "check": "Number",
      "value": 0
    }],
    "previousStatement": null,
    "nextStatement": null
  },
  {
    "type": "AnimerTous",
    "message0": "Animer tous",

    "previousStatement": null,
    "nextStatement": null
  }
  /**
   *
   * CAPTEUR BP
   *
   */,
  {
    "type": "Message",
    "message0" : "Message",
    "output": "String"
  },
  {
    "type": "Pause",
    "message0" : "Pause de %1 s",
    "args0": [{
      "type": "field_number",
      "name": "ID",
      "check": "Number",
      "value": 1
    }],
    "previousStatement": null,
    "nextStatement": null
  },
  {
    "type": "EtatLED",
    "message0": "Etat led %1",
    "output": "String",
    "args0": [{
      "type": "field_number",
      "name": "ID",
      "check": "Number",
      "value": 1
    }]
  },
  {
    "type": "Etatbp",
    "message0": "Changement état bouton %1 : %2",
    "args0": [{
      "type": "field_number",
      "name": "ID",
      "check": "Number",
      "value": 1
    },
    {
      "type": "input_statement",
      "name": "CODE"
    }
    ],
    "previousStatement": null,
    "nextStatement": null,
  },
  {
    "type": "capteur_bp/switch/ledX/command/allumer",
    "message0": "Allumer led %1 ",
    "output": "String",
    "args0": [{
      "type": "field_number",
      "name": "ID",
      "check": "Number",
      "value": 0
    }]
  },
  {
    "type": "capteur_bp/switch/ledX/command/eteindre",
    "message0": "Eteindre led %1 ",
    "output": "String",
    "args0": [{
      "type": "field_number",
      "name": "ID",
      "check": "Number",
      "value": 0
    }]
  }
  /**
   * Télécommande infrarouge
   */
  ,
  {
    "type": "remote/NOM_DE_LA_TOUCHE/state",
    "message0": "Etat bouton telecommande %1 ",
    "output": "String",
    "args0": [{
      "type": "field_input",
      "name": "NAME_BTN",
      "check": "String"
    }]
  }

  /**
   * Capteur détecteur de présence
   */
  ,
  {
    "type": "presence/state",
    "message0": "Etat détection",
    "output": "String"
  }
    /**
   * Capteur de distance
   */
  ,
  {
    "type": "distance/value",
    "message0": "Etat détection",
    "output": "Number"
  }
  /**
   * Capteur atmosphérique
   */
  ,
  {
    "type": "atmosphere/temperature",
    "message0": "Temperature",
    "output": "Number"
  }
  ,
  {
    "type": "atmosphere/pression",
    "message0": "Pression",
    "output": "Number"
  }
  ,
  {
    "type": "atmosphere/humidite",
    "message0": "Humidite Absolu",
    "output": "Number"
  }
  ,
  {
    "type": "atmosphere/humidite_absolue",
    "message0": "Humidite Absolu",
    "output": "Number"
  }
  /**
  * musique
  */
 ,
 {
   "type": "music/control/getstate",
   "message0": "Etat Musique",
   "output": "String"
 } ,
 {
   "type": "music/control/getvol",
   "message0": "Volume",
   "output": "Number"
 },
 {
   "type": "music/control/next",
   "message0": "Suivant"
 },
 {
   "type": "music/control/previous",
   "message0": "Précédent"
 },
 {
   "type": "music/control/stop",
   "message0": "Arreter"
 },
 {
   "type": "music/control/play",
   "message0": "Jouer"
 },
 {
   "type": "music/control/pause",
   "message0": "Pause"
 },
 {
   "type": "music/control/setvol",
   "message0": "Toogle",
   "args0": [{
    "type": "field_input",
    "name": "VOLUME",
    "check": "Number"
  }]
 }

])
