Ignore:
Timestamp:
Feb 9, 2017, 8:19:28 PM (7 years ago)
Author:
coas-nagasima
Message:

ソフトウェア情報を追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/webapp/webmrbc/Arduino/SdBlock.cs

    r270 r273  
    137137                        this.appendDummyInput()
    138138                                .appendField("ファイルをオープンします")
    139                                 .appendField(GrPeach.SdFileHandles(), "SD_FILE_NO");
     139                                .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO");
    140140                        this.appendValueInput("FILENAME")
    141141                                .setCheck("String")
     
    169169                        this.appendDummyInput()
    170170                                .appendField("ファイルをクローズします")
    171                                 .appendField(GrPeach.SdFileHandles(), "SD_FILE_NO");
     171                                .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO");
    172172                        this.setInputsInline(true);
    173173                        this.setOutput(true, "Boolean");
     
    191191                        this.appendDummyInput()
    192192                                .appendField("ファイルから1バイト読み込みます")
    193                                 .appendField(GrPeach.SdFileHandles(), "SD_FILE_NO");
     193                                .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO");
    194194                        this.setInputsInline(true);
    195195                        this.setOutput(true, "Number");
     
    213213                        this.appendDummyInput()
    214214                                .appendField("ファイルの読み出し位置を移動する")
    215                                 .appendField(GrPeach.SdFileHandles(), "SD_FILE_NO");
     215                                .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO");
    216216                        this.appendValueInput("POSITION")
    217217                                .setCheck("Number")
     
    238238                        this.appendDummyInput()
    239239                                .appendField("ファイルにバイナリデータを書き込む")
    240                                 .appendField(GrPeach.SdFileHandles(), "SD_FILE_NO");
     240                                .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO");
    241241                        this.appendValueInput("DATA")
    242242                                .setCheck("String")
     
    266266                        this.appendDummyInput()
    267267                                .appendField("ファイルの書き込みをフラッシュします")
    268                                 .appendField(GrPeach.SdFileHandles(), "SD_FILE_NO");
     268                                .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO");
    269269                        this.setPreviousStatement(true, null);
    270270                        this.setNextStatement(true, null);
     
    288288                        this.appendDummyInput()
    289289                                .appendField("ファイルのサイズを取得します")
    290                                 .appendField(GrPeach.SdFileHandles(), "SD_FILE_NO");
     290                                .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO");
    291291                        this.setOutput(true, "Number");
    292292                        this.setColour(160);
     
    308308                        this.appendDummyInput()
    309309                                .appendField("ファイルのseek位置を取得します")
    310                                 .appendField(GrPeach.SdFileHandles(), "SD_FILE_NO");
     310                                .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO");
    311311                        this.setOutput(true, "Number");
    312312                        this.setColour(160);
     
    377377                        var c = new const_node(this, intern("SD"));
    378378                        var p = new node[] {
    379                                 new int_node(this, GrPeach.SdFileHandlerNameToNum(dropdown_sd_file_no)),
     379                                new int_node(this, App.TargetBoard.SdFileHandlerNameToNum(dropdown_sd_file_no)),
    380380                                value_filename,
    381                                 new int_node(this, GrPeach.SdOpenModeNameToNum(dropdown_sd_open_mode)),
     381                                new int_node(this, App.TargetBoard.SdOpenModeNameToNum(dropdown_sd_open_mode)),
    382382                        };
    383383                        return new call_node(this, c, intern("open"), p, null);
     
    389389                        var c = new const_node(this, intern("SD"));
    390390                        var p = new node[] {
    391                                 new int_node(this, GrPeach.SdFileHandlerNameToNum(dropdown_sd_file_no)),
     391                                new int_node(this, App.TargetBoard.SdFileHandlerNameToNum(dropdown_sd_file_no)),
    392392                        };
    393393                        return new call_node(this, c, intern("close"), p, null);
     
    399399                        var c = new const_node(this, intern("SD"));
    400400                        var p = new node[] {
    401                                 new int_node(this, GrPeach.SdFileHandlerNameToNum(dropdown_sd_file_no)),
     401                                new int_node(this, App.TargetBoard.SdFileHandlerNameToNum(dropdown_sd_file_no)),
    402402                        };
    403403                        return new call_node(this, c, intern("read"), p, null);
     
    410410                        var c = new const_node(this, intern("SD"));
    411411                        var p = new node[] {
    412                                 new int_node(this, GrPeach.SdFileHandlerNameToNum(dropdown_sd_file_no)),
     412                                new int_node(this, App.TargetBoard.SdFileHandlerNameToNum(dropdown_sd_file_no)),
    413413                                value_position,
    414414                        };
     
    423423                        var c = new const_node(this, intern("SD"));
    424424                        var p = new node[] {
    425                                 new int_node(this, GrPeach.SdFileHandlerNameToNum(dropdown_sd_file_no)),
     425                                new int_node(this, App.TargetBoard.SdFileHandlerNameToNum(dropdown_sd_file_no)),
    426426                                value_data,
    427427                                value_length,
     
    435435                        var c = new const_node(this, intern("SD"));
    436436                        var p = new node[] {
    437                                 new int_node(this, GrPeach.SdFileHandlerNameToNum(dropdown_sd_file_no)),
     437                                new int_node(this, App.TargetBoard.SdFileHandlerNameToNum(dropdown_sd_file_no)),
    438438                        };
    439439                        return new call_node(this, c, intern("flush"), p, null);
     
    445445                        var c = new const_node(this, intern("SD"));
    446446                        var p = new node[] {
    447                                 new int_node(this, GrPeach.SdFileHandlerNameToNum(dropdown_sd_file_no)),
     447                                new int_node(this, App.TargetBoard.SdFileHandlerNameToNum(dropdown_sd_file_no)),
    448448                        };
    449449                        return new call_node(this, c, intern("size"), p, null);
     
    455455                        var c = new const_node(this, intern("SD"));
    456456                        var p = new node[] {
    457                                 new int_node(this, GrPeach.SdFileHandlerNameToNum(dropdown_sd_file_no)),
     457                                new int_node(this, App.TargetBoard.SdFileHandlerNameToNum(dropdown_sd_file_no)),
    458458                        };
    459459                        return new call_node(this, c, intern("position"), p, null);
Note: See TracChangeset for help on using the changeset viewer.