Beispiel #1
0
 private void test4( )
 {
     fujiSPB.Write("D100", (short)5);
     fujiSPB.Write("D100", (ushort)5);
     fujiSPB.Write("D100", 5);
     fujiSPB.Write("D100", (uint)5);
     fujiSPB.Write("D100", (long)5);
     fujiSPB.Write("D100", (ulong)5);
     fujiSPB.Write("D100", 5f);
     fujiSPB.Write("D100", 5d);
     // length should Multiples of 2
     fujiSPB.Write("D100", "12345678");
 }
Beispiel #2
0
 private void button22_Click(object sender, EventArgs e)
 {
     // short写入
     DemoUtils.WriteResultRender(() => fujiSPB.Write(textBox8.Text, short.Parse(textBox7.Text)), textBox8.Text);
 }