问题修改
This commit is contained in:
@@ -18,6 +18,20 @@ export const VOICE_RECOGNITION_CONTROL = {
|
||||
this.setInputsInline(true);
|
||||
}
|
||||
}
|
||||
export const CI130X_OPEN_AND_CLOSE = {
|
||||
init: function () {
|
||||
this.setColour(AI_LOCAL_VOICE_HUE);
|
||||
this.appendDummyInput("")
|
||||
.appendField(Blockly.Msg.MIXLY_AipSpeech_asr)
|
||||
.appendField(new Blockly.FieldDropdown([
|
||||
[Blockly.Msg.MIXLY_ON,"1"],
|
||||
[Blockly.Msg.MIXLY_OFF,"0"]
|
||||
]),"status")
|
||||
this.setPreviousStatement(true);
|
||||
this.setNextStatement(true);
|
||||
this.setInputsInline(true);
|
||||
}
|
||||
}
|
||||
|
||||
export const CI130X_IDENTIFY_AND_SAVE_SANT = {
|
||||
init: function () {
|
||||
@@ -116,7 +130,8 @@ export const CI130X_GET_THE_RECOGNIZED_CMD_SANT = {
|
||||
.appendField(new Blockly.FieldDropdown([
|
||||
[Blockly.Msg.MIXLY_RECOGNIZED_STATE, "status1"],
|
||||
[Blockly.Msg.MIXLY_WHETHER_BROADCAST, "status2"],
|
||||
[Blockly.Msg.MIXLY_THE_RECOGNIZED_CMD, "result"]
|
||||
[Blockly.Msg.MIXLY_THE_RECOGNIZED_CMD, "result"],
|
||||
[Blockly.Msg.MIXLY_ENABLE_STATUS,"status3"]
|
||||
]), "key")
|
||||
this.setOutput(true);
|
||||
this.setInputsInline(true);
|
||||
|
||||
Reference in New Issue
Block a user