Index: EcnlProtoTool/trunk/webapp/webmrbc/Arduino/KernelBlock.cs
===================================================================
--- EcnlProtoTool/trunk/webapp/webmrbc/Arduino/KernelBlock.cs	(revision 270)
+++ EcnlProtoTool/trunk/webapp/webmrbc/Arduino/KernelBlock.cs	(revision 273)
@@ -42,5 +42,5 @@
 			this.appendDummyInput()
 				.appendField("PINのモード設定")
-				.appendField(GrPeach.Pins(), "PIN_NO");
+				.appendField(App.TargetBoard.Pins(), "PIN_NO");
 			this.appendDummyInput()
 				.appendField("モード")
@@ -71,5 +71,5 @@
 			this.appendDummyInput()
 				.appendField("デジタルライト")
-				.appendField(GrPeach.Pins(), "PIN_NO");
+				.appendField(App.TargetBoard.Pins(), "PIN_NO");
 			this.appendDummyInput()
 				.appendField("値")
@@ -100,5 +100,5 @@
 			this.appendDummyInput()
 				.appendField("デジタルリード")
-				.appendField(GrPeach.Pins(), "PIN_NO");
+				.appendField(App.TargetBoard.Pins(), "PIN_NO");
 			this.setInputsInline(true);
 			this.setOutput(true, "Boolean");
@@ -122,5 +122,5 @@
 			this.appendDummyInput()
 				.appendField("アナログリード")
-				.appendField(GrPeach.AnalogPins(), "PIN_NO");
+				.appendField(App.TargetBoard.AnalogPins(), "PIN_NO");
 			this.setInputsInline(true);
 			this.setOutput(true, "Number");
@@ -144,5 +144,5 @@
 			this.appendDummyInput()
 				.appendField("PWM出力")
-				.appendField(GrPeach.PwmPins(), "PIN_NO");
+				.appendField(App.TargetBoard.PwmPins(), "PIN_NO");
 			this.appendValueInput("PWM_OUT")
 				.setCheck("Number")
@@ -432,5 +432,5 @@
 			this.appendDummyInput()
 				.appendField("トーン出力")
-				.appendField(GrPeach.PwmPins(), "PIN_NO");
+				.appendField(App.TargetBoard.PwmPins(), "PIN_NO");
 			this.appendValueInput("FREQUENCY")
 				.setCheck("Number")
@@ -481,5 +481,5 @@
 			this.appendDummyInput()
 				.appendField("トーン出力停止")
-				.appendField(GrPeach.PwmPins(), "PIN_NO");
+				.appendField(App.TargetBoard.PwmPins(), "PIN_NO");
 			this.setInputsInline(true);
 			this.setPreviousStatement(true, null);
@@ -555,6 +555,6 @@
 			var dropdown_pin_mode = block.getFieldValue("PIN_MODE");
 			var p = new node[] {
-				new int_node(this, GrPeach.PinNameToNum(dropdown_pin_no)),
-				new int_node(this, GrPeach.PinModeNameToNum(dropdown_pin_mode))
+				new int_node(this, App.TargetBoard.PinNameToNum(dropdown_pin_no)),
+				new int_node(this, App.TargetBoard.PinModeNameToNum(dropdown_pin_mode))
 			};
 			return new fcall_node(this, intern("pinMode"), p, null);
@@ -566,6 +566,6 @@
 			var dropdown_pin_value = block.getFieldValue("PIN_VALUE");
 			var p = new node[] {
-				new int_node(this, GrPeach.PinNameToNum(dropdown_pin_no)),
-				new int_node(this, GrPeach.PinValueNameToNum(dropdown_pin_value ))
+				new int_node(this, App.TargetBoard.PinNameToNum(dropdown_pin_no)),
+				new int_node(this, App.TargetBoard.PinValueNameToNum(dropdown_pin_value ))
 			};
 			return new fcall_node(this, intern("digitalWrite"), p, null);
@@ -576,5 +576,5 @@
 			var dropdown_pin_no = block.getFieldValue("PIN_NO");
 			var p = new node[] {
-				new int_node(this, GrPeach.PinNameToNum(dropdown_pin_no)),
+				new int_node(this, App.TargetBoard.PinNameToNum(dropdown_pin_no)),
 			};
 			return new fcall_node(this, intern("digitalRead"), p, null);
@@ -585,5 +585,5 @@
 			var dropdown_pin_no = block.getFieldValue("PIN_NO");
 			var p = new node[] {
-				new int_node(this, GrPeach.PinNameToNum(dropdown_pin_no)),
+				new int_node(this, App.TargetBoard.PinNameToNum(dropdown_pin_no)),
 			};
 			return new fcall_node(this, intern("analogRead"), p, null);
@@ -595,5 +595,5 @@
 			var value_pwm_out = valueToCode(block, "PWM_OUT");
 			var p = new node[] {
-				new int_node(this, GrPeach.PinNameToNum(dropdown_pin_no)),
+				new int_node(this, App.TargetBoard.PinNameToNum(dropdown_pin_no)),
 				value_pwm_out
 			};
@@ -611,5 +611,5 @@
 			var dropdown_analog_reference_mode = block.getFieldValue("ANALOG_REFERENCE_MODE");
 			var p = new node[] {
-				new int_node(this, GrPeach.AnalogRefModeNameToNum(dropdown_analog_reference_mode))
+				new int_node(this, App.TargetBoard.AnalogRefModeNameToNum(dropdown_analog_reference_mode))
 			};
 			return new fcall_node(this, intern("analogReference"), p, null);
@@ -693,5 +693,5 @@
 			var value_duration = valueToCode(block, "DURATION");
 			var p = new node[] {
-				new int_node(this, GrPeach.PinNameToNum(dropdown_pin_no)),
+				new int_node(this, App.TargetBoard.PinNameToNum(dropdown_pin_no)),
 				value_frequency,
 				value_duration
@@ -710,5 +710,5 @@
 			var dropdown_pin_no = block.getFieldValue("PIN_NO");
 			var p = new node[] {
-				new int_node(this, GrPeach.PinNameToNum(dropdown_pin_no)),
+				new int_node(this, App.TargetBoard.PinNameToNum(dropdown_pin_no)),
 			};
 			return new fcall_node(this, intern("noTone"), p, null);
