Changeset 273 for EcnlProtoTool/trunk/webapp/webmrbc/Arduino/SdBlock.cs
- Timestamp:
- Feb 9, 2017, 8:19:28 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/webapp/webmrbc/Arduino/SdBlock.cs
r270 r273 137 137 this.appendDummyInput() 138 138 .appendField("ファイルをオープンします") 139 .appendField( GrPeach.SdFileHandles(), "SD_FILE_NO");139 .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO"); 140 140 this.appendValueInput("FILENAME") 141 141 .setCheck("String") … … 169 169 this.appendDummyInput() 170 170 .appendField("ファイルをクローズします") 171 .appendField( GrPeach.SdFileHandles(), "SD_FILE_NO");171 .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO"); 172 172 this.setInputsInline(true); 173 173 this.setOutput(true, "Boolean"); … … 191 191 this.appendDummyInput() 192 192 .appendField("ファイルから1バイト読み込みます") 193 .appendField( GrPeach.SdFileHandles(), "SD_FILE_NO");193 .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO"); 194 194 this.setInputsInline(true); 195 195 this.setOutput(true, "Number"); … … 213 213 this.appendDummyInput() 214 214 .appendField("ファイルの読み出し位置を移動する") 215 .appendField( GrPeach.SdFileHandles(), "SD_FILE_NO");215 .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO"); 216 216 this.appendValueInput("POSITION") 217 217 .setCheck("Number") … … 238 238 this.appendDummyInput() 239 239 .appendField("ファイルにバイナリデータを書き込む") 240 .appendField( GrPeach.SdFileHandles(), "SD_FILE_NO");240 .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO"); 241 241 this.appendValueInput("DATA") 242 242 .setCheck("String") … … 266 266 this.appendDummyInput() 267 267 .appendField("ファイルの書き込みをフラッシュします") 268 .appendField( GrPeach.SdFileHandles(), "SD_FILE_NO");268 .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO"); 269 269 this.setPreviousStatement(true, null); 270 270 this.setNextStatement(true, null); … … 288 288 this.appendDummyInput() 289 289 .appendField("ファイルのサイズを取得します") 290 .appendField( GrPeach.SdFileHandles(), "SD_FILE_NO");290 .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO"); 291 291 this.setOutput(true, "Number"); 292 292 this.setColour(160); … … 308 308 this.appendDummyInput() 309 309 .appendField("ファイルのseek位置を取得します") 310 .appendField( GrPeach.SdFileHandles(), "SD_FILE_NO");310 .appendField(App.TargetBoard.SdFileHandles(), "SD_FILE_NO"); 311 311 this.setOutput(true, "Number"); 312 312 this.setColour(160); … … 377 377 var c = new const_node(this, intern("SD")); 378 378 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)), 380 380 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)), 382 382 }; 383 383 return new call_node(this, c, intern("open"), p, null); … … 389 389 var c = new const_node(this, intern("SD")); 390 390 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)), 392 392 }; 393 393 return new call_node(this, c, intern("close"), p, null); … … 399 399 var c = new const_node(this, intern("SD")); 400 400 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)), 402 402 }; 403 403 return new call_node(this, c, intern("read"), p, null); … … 410 410 var c = new const_node(this, intern("SD")); 411 411 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)), 413 413 value_position, 414 414 }; … … 423 423 var c = new const_node(this, intern("SD")); 424 424 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)), 426 426 value_data, 427 427 value_length, … … 435 435 var c = new const_node(this, intern("SD")); 436 436 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)), 438 438 }; 439 439 return new call_node(this, c, intern("flush"), p, null); … … 445 445 var c = new const_node(this, intern("SD")); 446 446 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)), 448 448 }; 449 449 return new call_node(this, c, intern("size"), p, null); … … 455 455 var c = new const_node(this, intern("SD")); 456 456 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)), 458 458 }; 459 459 return new call_node(this, c, intern("position"), p, null);
Note:
See TracChangeset
for help on using the changeset viewer.