POS消费机C#软件截图
详细代码
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
//广州荣士电子有限公司,联系电话020-82318861,82322852,定制13826029618 网址http://www.icmcu.com
namespace POS机C井例子代码
{
/// <summary>
/// Form4 的摘要说明。
/// </summary>
public class Form4 : System.Windows.Forms.Form
{
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label label15;
private System.Windows.Forms.Label label16;
private System.Windows.Forms.Label label17;
private System.Windows.Forms.Label label18;
private System.Windows.Forms.Label label19;
private System.Windows.Forms.Label label20;
private System.Windows.Forms.Label label21;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.Label label23;
private System.Windows.Forms.Label label24;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.TextBox textBox4;
private System.Windows.Forms.TextBox textBox5;
private System.Windows.Forms.TextBox textBox6;
private System.Windows.Forms.TextBox textBox7;
private System.Windows.Forms.TextBox textBox8;
private System.Windows.Forms.TextBox textBox9;
private System.Windows.Forms.CheckBox checkBox1;
private System.Windows.Forms.CheckBox checkBox2;
private System.Windows.Forms.CheckBox checkBox3;
private System.Windows.Forms.CheckBox checkBox4;
private System.Windows.Forms.CheckBox checkBox5;
private System.Windows.Forms.CheckBox checkBox6;
private System.Windows.Forms.CheckBox checkBox7;
private System.Windows.Forms.CheckBox checkBox8;
private System.Windows.Forms.TextBox textBox10;
private System.Windows.Forms.TextBox textBox11;
private System.Windows.Forms.TextBox textBox12;
private System.Windows.Forms.TextBox textBox13;
private System.Windows.Forms.TextBox textBox14;
private System.Windows.Forms.TextBox textBox15;
private System.Windows.Forms.TextBox textBox16;
private System.Windows.Forms.TextBox textBox17;
private System.Windows.Forms.TextBox textBox18;
private System.Windows.Forms.TextBox textBox19;
private System.Windows.Forms.TextBox textBox20;
private System.Windows.Forms.TextBox textBox21;
private System.Windows.Forms.TextBox textBox22;
private System.Windows.Forms.TextBox textBox23;
private System.Windows.Forms.TextBox textBox24;
private System.Windows.Forms.TextBox textBox25;
private System.Windows.Forms.TextBox textBox26;
private System.Windows.Forms.Label label25;
private System.Windows.Forms.Label label26;
private System.Windows.Forms.Label label27;
private System.Windows.Forms.Label label28;
private System.Windows.Forms.Label label29;
private System.Windows.Forms.Label label30;
private System.Windows.Forms.Label label31;
private System.Windows.Forms.CheckBox checkBox9;
private System.Windows.Forms.CheckBox checkBox10;
private System.Windows.Forms.TextBox textBox27;
private System.Windows.Forms.Button button1;
private Microsoft.VisualBasic.Compatibility.VB6.DriveListBox driveListBox1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.TextBox textBox28;
private System.Windows.Forms.TextBox textBox29;
private System.Windows.Forms.TextBox textBox30;
private System.Windows.Forms.TextBox textBox31;
private System.Windows.Forms.Label label32;
private System.Windows.Forms.Label label33;
private System.Windows.Forms.Label label34;
private System.Windows.Forms.Label label35;
private System.Windows.Forms.Label label36;
private System.Windows.Forms.Label label37;
private System.Windows.Forms.Label label38;
private System.Windows.Forms.Label label39;
private System.Windows.Forms.Label label40;
private System.Windows.Forms.Label label41;
private System.Windows.Forms.Label label42;
private System.Windows.Forms.Label label43;
private System.Windows.Forms.Label label44;
private System.Windows.Forms.Label label45;
private System.Windows.Forms.Label label46;
private System.Windows.Forms.Label label47;
private System.Windows.Forms.Label label49;
private System.Windows.Forms.Label label50;
private System.Windows.Forms.Label label48;
private System.Windows.Forms.Label label51;
private System.Windows.Forms.Label label52;
private System.Windows.Forms.Label label53;
private System.Windows.Forms.Label label54;
private System.Windows.Forms.Label label55;
private System.Windows.Forms.Label label56;
private System.Windows.Forms.Label label57;
private System.Windows.Forms.Label label58;
private System.Windows.Forms.Label label59;
private System.Windows.Forms.Label label60;
private System.Windows.Forms.Label label61;
private System.Windows.Forms.Label label62;
private System.Windows.Forms.Label label63;
private System.Windows.Forms.Label label64;
private System.Windows.Forms.TextBox textBox32;
private System.Windows.Forms.TextBox textBox33;
private System.Windows.Forms.TextBox textBox34;
private System.Windows.Forms.TextBox textBox35;
private System.Windows.Forms.TextBox textBox36;
private System.Windows.Forms.TextBox textBox37;
private System.Windows.Forms.TextBox textBox38;
private System.Windows.Forms.TextBox textBox39;
private System.Windows.Forms.TextBox textBox40;
private System.Windows.Forms.TextBox textBox41;
private System.Windows.Forms.TextBox textBox42;
private System.Windows.Forms.TextBox textBox43;
private System.Windows.Forms.TextBox textBox44;
private System.Windows.Forms.TextBox textBox45;
private System.Windows.Forms.TextBox textBox46;
private System.Windows.Forms.TextBox textBox47;
private System.Windows.Forms.TextBox textBox48;
private System.Windows.Forms.TextBox textBox49;
private System.Windows.Forms.TextBox textBox50;
private System.Windows.Forms.TextBox textBox51;
private System.Windows.Forms.TextBox textBox52;
private System.Windows.Forms.TextBox textBox53;
private System.Windows.Forms.TextBox textBox54;
private System.Windows.Forms.TextBox textBox55;
private System.Windows.Forms.TextBox textBox56;
private System.Windows.Forms.TextBox textBox57;
private System.Windows.Forms.TextBox textBox58;
private System.Windows.Forms.TextBox textBox59;
private System.Windows.Forms.TextBox textBox60;
private System.Windows.Forms.TextBox textBox61;
private System.Windows.Forms.TextBox textBox62;
private System.Windows.Forms.TextBox textBox63;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Label label65;
private System.Windows.Forms.Label label66;
private System.Windows.Forms.Label label67;
private System.Windows.Forms.Label label68;
private System.Windows.Forms.TextBox textBox64;
private System.Windows.Forms.TextBox textBox65;
private System.Windows.Forms.TextBox textBox66;
private System.Windows.Forms.TextBox textBox67;
private System.Windows.Forms.Label label69;
private System.Windows.Forms.Label label70;
private System.Windows.Forms.Label label71;
private System.Windows.Forms.Label label72;
private System.Windows.Forms.Label label73;
private System.Windows.Forms.Label label74;
private System.Windows.Forms.Label label75;
private System.Windows.Forms.Label label76;
private System.Windows.Forms.Label label77;
private System.Windows.Forms.Label label78;
private System.Windows.Forms.TextBox textBox68;
private System.Windows.Forms.TextBox textBox69;
private System.Windows.Forms.TextBox textBox70;
private System.Windows.Forms.TextBox textBox71;
private System.Windows.Forms.TextBox textBox72;
private System.Windows.Forms.TextBox textBox73;
private System.Windows.Forms.TextBox textBox74;
private System.Windows.Forms.TextBox textBox75;
private System.Windows.Forms.TextBox textBox76;
private System.Windows.Forms.TextBox textBox77;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button button9;
private Microsoft.VisualBasic.Compatibility.VB6.DriveListBox driveListBox2;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public Form4()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.label14 = new System.Windows.Forms.Label();
this.label15 = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.label17 = new System.Windows.Forms.Label();
this.label18 = new System.Windows.Forms.Label();
this.label19 = new System.Windows.Forms.Label();
this.label20 = new System.Windows.Forms.Label();
this.label21 = new System.Windows.Forms.Label();
this.label22 = new System.Windows.Forms.Label();
this.label23 = new System.Windows.Forms.Label();
this.label24 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.textBox4 = new System.Windows.Forms.TextBox();
this.textBox5 = new System.Windows.Forms.TextBox();
this.textBox6 = new System.Windows.Forms.TextBox();
this.textBox7 = new System.Windows.Forms.TextBox();
this.textBox8 = new System.Windows.Forms.TextBox();
this.textBox9 = new System.Windows.Forms.TextBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.checkBox4 = new System.Windows.Forms.CheckBox();
this.checkBox5 = new System.Windows.Forms.CheckBox();
this.checkBox6 = new System.Windows.Forms.CheckBox();
this.checkBox7 = new System.Windows.Forms.CheckBox();
this.checkBox8 = new System.Windows.Forms.CheckBox();
this.textBox10 = new System.Windows.Forms.TextBox();
this.textBox11 = new System.Windows.Forms.TextBox();
this.textBox12 = new System.Windows.Forms.TextBox();
this.textBox13 = new System.Windows.Forms.TextBox();
this.textBox14 = new System.Windows.Forms.TextBox();
this.textBox15 = new System.Windows.Forms.TextBox();
this.textBox16 = new System.Windows.Forms.TextBox();
this.textBox17 = new System.Windows.Forms.TextBox();
this.textBox18 = new System.Windows.Forms.TextBox();
this.textBox19 = new System.Windows.Forms.TextBox();
this.textBox20 = new System.Windows.Forms.TextBox();
this.textBox21 = new System.Windows.Forms.TextBox();
this.textBox22 = new System.Windows.Forms.TextBox();
this.textBox23 = new System.Windows.Forms.TextBox();
this.textBox24 = new System.Windows.Forms.TextBox();
this.textBox25 = new System.Windows.Forms.TextBox();
this.textBox26 = new System.Windows.Forms.TextBox();
this.label25 = new System.Windows.Forms.Label();
this.label26 = new System.Windows.Forms.Label();
this.label27 = new System.Windows.Forms.Label();
this.label28 = new System.Windows.Forms.Label();
this.label29 = new System.Windows.Forms.Label();
this.label30 = new System.Windows.Forms.Label();
this.label31 = new System.Windows.Forms.Label();
this.checkBox9 = new System.Windows.Forms.CheckBox();
this.checkBox10 = new System.Windows.Forms.CheckBox();
this.textBox27 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.driveListBox1 = new Microsoft.VisualBasic.Compatibility.VB6.DriveListBox();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.textBox28 = new System.Windows.Forms.TextBox();
this.textBox29 = new System.Windows.Forms.TextBox();
this.textBox30 = new System.Windows.Forms.TextBox();
this.textBox31 = new System.Windows.Forms.TextBox();
this.label32 = new System.Windows.Forms.Label();
this.label33 = new System.Windows.Forms.Label();
this.label34 = new System.Windows.Forms.Label();
this.label35 = new System.Windows.Forms.Label();
this.label36 = new System.Windows.Forms.Label();
this.label37 = new System.Windows.Forms.Label();
this.label38 = new System.Windows.Forms.Label();
this.label39 = new System.Windows.Forms.Label();
this.label40 = new System.Windows.Forms.Label();
this.label41 = new System.Windows.Forms.Label();
this.label42 = new System.Windows.Forms.Label();
this.label43 = new System.Windows.Forms.Label();
this.label44 = new System.Windows.Forms.Label();
this.label45 = new System.Windows.Forms.Label();
this.label46 = new System.Windows.Forms.Label();
this.label47 = new System.Windows.Forms.Label();
this.label49 = new System.Windows.Forms.Label();
this.label50 = new System.Windows.Forms.Label();
this.label48 = new System.Windows.Forms.Label();
this.label51 = new System.Windows.Forms.Label();
this.label52 = new System.Windows.Forms.Label();
this.label53 = new System.Windows.Forms.Label();
this.label54 = new System.Windows.Forms.Label();
this.label55 = new System.Windows.Forms.Label();
this.label56 = new System.Windows.Forms.Label();
this.label57 = new System.Windows.Forms.Label();
this.label58 = new System.Windows.Forms.Label();
this.label59 = new System.Windows.Forms.Label();
this.label60 = new System.Windows.Forms.Label();
this.label61 = new System.Windows.Forms.Label();
this.label62 = new System.Windows.Forms.Label();
this.label63 = new System.Windows.Forms.Label();
this.label64 = new System.Windows.Forms.Label();
this.textBox32 = new System.Windows.Forms.TextBox();
this.textBox33 = new System.Windows.Forms.TextBox();
this.textBox34 = new System.Windows.Forms.TextBox();
this.textBox35 = new System.Windows.Forms.TextBox();
this.textBox36 = new System.Windows.Forms.TextBox();
this.textBox37 = new System.Windows.Forms.TextBox();
this.textBox38 = new System.Windows.Forms.TextBox();
this.textBox39 = new System.Windows.Forms.TextBox();
this.textBox40 = new System.Windows.Forms.TextBox();
this.textBox41 = new System.Windows.Forms.TextBox();
this.textBox42 = new System.Windows.Forms.TextBox();
this.textBox43 = new System.Windows.Forms.TextBox();
this.textBox44 = new System.Windows.Forms.TextBox();
this.textBox45 = new System.Windows.Forms.TextBox();
this.textBox46 = new System.Windows.Forms.TextBox();
this.textBox47 = new System.Windows.Forms.TextBox();
this.textBox48 = new System.Windows.Forms.TextBox();
this.textBox49 = new System.Windows.Forms.TextBox();
this.textBox50 = new System.Windows.Forms.TextBox();
this.textBox51 = new System.Windows.Forms.TextBox();
this.textBox52 = new System.Windows.Forms.TextBox();
this.textBox53 = new System.Windows.Forms.TextBox();
this.textBox54 = new System.Windows.Forms.TextBox();
this.textBox55 = new System.Windows.Forms.TextBox();
this.textBox56 = new System.Windows.Forms.TextBox();
this.textBox57 = new System.Windows.Forms.TextBox();
this.textBox58 = new System.Windows.Forms.TextBox();
this.textBox59 = new System.Windows.Forms.TextBox();
this.textBox60 = new System.Windows.Forms.TextBox();
this.textBox61 = new System.Windows.Forms.TextBox();
this.textBox62 = new System.Windows.Forms.TextBox();
this.textBox63 = new System.Windows.Forms.TextBox();
this.button4 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.label65 = new System.Windows.Forms.Label();
this.label66 = new System.Windows.Forms.Label();
this.label67 = new System.Windows.Forms.Label();
this.label68 = new System.Windows.Forms.Label();
this.textBox64 = new System.Windows.Forms.TextBox();
this.textBox65 = new System.Windows.Forms.TextBox();
this.textBox66 = new System.Windows.Forms.TextBox();
this.textBox67 = new System.Windows.Forms.TextBox();
this.label69 = new System.Windows.Forms.Label();
this.label70 = new System.Windows.Forms.Label();
this.label71 = new System.Windows.Forms.Label();
this.label72 = new System.Windows.Forms.Label();
this.label73 = new System.Windows.Forms.Label();
this.label74 = new System.Windows.Forms.Label();
this.label75 = new System.Windows.Forms.Label();
this.label76 = new System.Windows.Forms.Label();
this.label77 = new System.Windows.Forms.Label();
this.label78 = new System.Windows.Forms.Label();
this.textBox68 = new System.Windows.Forms.TextBox();
this.textBox69 = new System.Windows.Forms.TextBox();
this.textBox70 = new System.Windows.Forms.TextBox();
this.textBox71 = new System.Windows.Forms.TextBox();
this.textBox72 = new System.Windows.Forms.TextBox();
this.textBox73 = new System.Windows.Forms.TextBox();
this.textBox74 = new System.Windows.Forms.TextBox();
this.textBox75 = new System.Windows.Forms.TextBox();
this.textBox76 = new System.Windows.Forms.TextBox();
this.textBox77 = new System.Windows.Forms.TextBox();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.button9 = new System.Windows.Forms.Button();
this.driveListBox2 = new Microsoft.VisualBasic.Compatibility.VB6.DriveListBox();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(16, 8);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(72, 23);
this.label1.TabIndex = 0;
this.label1.Text = "开机文字";
//
// label2
//
this.label2.Location = new System.Drawing.Point(16, 32);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(72, 23);
this.label2.TabIndex = 1;
this.label2.Text = "Logo图片";
//
// label3
//
this.label3.Location = new System.Drawing.Point(16, 56);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(80, 23);
this.label3.TabIndex = 2;
this.label3.Text = "咨询热线图片";
//
// label4
//
this.label4.Location = new System.Drawing.Point(16, 96);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(80, 23);
this.label4.TabIndex = 3;
this.label4.Text = "管理员密码";
//
// label5
//
this.label5.Location = new System.Drawing.Point(16, 120);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(64, 23);
this.label5.TabIndex = 4;
this.label5.Text = "单位代号";
//
// label6
//
this.label6.Location = new System.Drawing.Point(184, 96);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(112, 23);
this.label6.TabIndex = 5;
this.label6.Text = "卡内允许最大金额";
//
// label7
//
this.label7.Location = new System.Drawing.Point(184, 120);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(112, 23);
this.label7.TabIndex = 6;
this.label7.Text = "卡内允许最小金额";
//
// label8
//
this.label8.Location = new System.Drawing.Point(184, 144);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(112, 23);
this.label8.TabIndex = 7;
this.label8.Text = "卡内最小报警金额";
//
// label9
//
this.label9.Location = new System.Drawing.Point(184, 168);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(112, 23);
this.label9.TabIndex = 8;
this.label9.Text = "键盘输入最高限额";
//
// label10
//
this.label10.Location = new System.Drawing.Point(184, 192);
this.label10.Name = "label10";
this.label10.TabIndex = 9;
this.label10.Text = "相同卡最小间隔";
//
// label11
//
this.label11.Location = new System.Drawing.Point(160, 224);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(80, 16);
this.label11.TabIndex = 10;
this.label11.Text = "早餐起止时间";
//
// label12
//
this.label12.Location = new System.Drawing.Point(160, 248);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(80, 16);
this.label12.TabIndex = 11;
this.label12.Text = "午餐起止时间";
//
// label13
//
this.label13.Location = new System.Drawing.Point(160, 272);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(80, 16);
this.label13.TabIndex = 12;
this.label13.Text = "晚餐起止时间";
//
// label14
//
this.label14.Location = new System.Drawing.Point(160, 296);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(80, 16);
this.label14.TabIndex = 13;
this.label14.Text = "夜宵起止时间";
//
// label15
//
this.label15.Location = new System.Drawing.Point(16, 344);
this.label15.Name = "label15";
this.label15.TabIndex = 14;
this.label15.Text = "卡类别0早餐定额";
//
// label16
//
this.label16.Location = new System.Drawing.Point(280, 224);
this.label16.Name = "label16";
this.label16.Size = new System.Drawing.Size(16, 23);
this.label16.TabIndex = 15;
this.label16.Text = ":";
//
// label17
//
this.label17.Location = new System.Drawing.Point(384, 224);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(16, 23);
this.label17.TabIndex = 16;
this.label17.Text = ":";
//
// label18
//
this.label18.Location = new System.Drawing.Point(336, 232);
this.label18.Name = "label18";
this.label18.Size = new System.Drawing.Size(16, 23);
this.label18.TabIndex = 17;
this.label18.Text = "~";
//
// label19
//
this.label19.Location = new System.Drawing.Point(384, 160);
this.label19.Name = "label19";
this.label19.Size = new System.Drawing.Size(56, 23);
this.label19.TabIndex = 18;
this.label19.Text = "消费模式";
//
// label20
//
this.label20.Location = new System.Drawing.Point(496, 160);
this.label20.Name = "label20";
this.label20.Size = new System.Drawing.Size(256, 40);
this.label20.TabIndex = 19;
this.label20.Text = "(0-普通模式,1-定额消费,2-快捷键方式,3-只记次不扣钱)";
//
// label21
//
this.label21.Location = new System.Drawing.Point(456, 224);
this.label21.Name = "label21";
this.label21.Size = new System.Drawing.Size(80, 16);
this.label21.TabIndex = 20;
this.label21.Text = "早餐最高限额";
//
// label22
//
this.label22.Location = new System.Drawing.Point(456, 248);
this.label22.Name = "label22";
this.label22.Size = new System.Drawing.Size(80, 16);
this.label22.TabIndex = 21;
this.label22.Text = "午餐最高限额";
//
// label23
//
this.label23.Location = new System.Drawing.Point(456, 272);
this.label23.Name = "label23";
this.label23.Size = new System.Drawing.Size(80, 16);
this.label23.TabIndex = 22;
this.label23.Text = "晚餐最高限额";
//
// label24
//
this.label24.Location = new System.Drawing.Point(456, 296);
this.label24.Name = "label24";
this.label24.Size = new System.Drawing.Size(80, 16);
this.label24.TabIndex = 23;
this.label24.Text = "夜宵最高限额";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(104, 8);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(344, 21);
this.textBox1.TabIndex = 24;
this.textBox1.Text = "易用型IC卡POS机 型号:POS-IC-485-01 ——功能强大 快捷易用! ";
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(104, 32);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(344, 21);
this.textBox2.TabIndex = 25;
this.textBox2.Text = "";
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(104, 56);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(344, 21);
this.textBox3.TabIndex = 26;
this.textBox3.Text = "";
//
// textBox4
//
this.textBox4.Location = new System.Drawing.Point(88, 96);
this.textBox4.Name = "textBox4";
this.textBox4.Size = new System.Drawing.Size(88, 21);
this.textBox4.TabIndex = 27;
this.textBox4.Text = "123456";
//
// textBox5
//
this.textBox5.Location = new System.Drawing.Point(88, 120);
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(88, 21);
this.textBox5.TabIndex = 28;
this.textBox5.Text = "0";
//
// textBox6
//
this.textBox6.Location = new System.Drawing.Point(296, 96);
this.textBox6.Name = "textBox6";
this.textBox6.Size = new System.Drawing.Size(72, 21);
this.textBox6.TabIndex = 29;
this.textBox6.Text = "16777215";
//
// textBox7
//
this.textBox7.Location = new System.Drawing.Point(296, 120);
this.textBox7.Name = "textBox7";
this.textBox7.Size = new System.Drawing.Size(72, 21);
this.textBox7.TabIndex = 30;
this.textBox7.Text = "0";
//
// textBox8
//
this.textBox8.Location = new System.Drawing.Point(296, 144);
this.textBox8.Name = "textBox8";
this.textBox8.Size = new System.Drawing.Size(72, 21);
this.textBox8.TabIndex = 31;
this.textBox8.Text = "0";
//
// textBox9
//
this.textBox9.Location = new System.Drawing.Point(296, 168);
this.textBox9.Name = "textBox9";
this.textBox9.Size = new System.Drawing.Size(72, 21);
this.textBox9.TabIndex = 32;
this.textBox9.Text = "0";
//
// checkBox1
//
this.checkBox1.Location = new System.Drawing.Point(16, 192);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(120, 24);
this.checkBox1.TabIndex = 33;
this.checkBox1.Text = "卡类别0允许使用";
//
// checkBox2
//
this.checkBox2.Location = new System.Drawing.Point(16, 208);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(120, 24);
this.checkBox2.TabIndex = 34;
this.checkBox2.Text = "卡类别1允许使用";
//
// checkBox3
//
this.checkBox3.Location = new System.Drawing.Point(16, 224);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(120, 24);
this.checkBox3.TabIndex = 35;
this.checkBox3.Text = "卡类别2允许使用";
//
// checkBox4
//
this.checkBox4.Location = new System.Drawing.Point(16, 240);
this.checkBox4.Name = "checkBox4";
this.checkBox4.Size = new System.Drawing.Size(120, 24);
this.checkBox4.TabIndex = 36;
this.checkBox4.Text = "卡类别3允许使用";
//
// checkBox5
//
this.checkBox5.Location = new System.Drawing.Point(16, 256);
this.checkBox5.Name = "checkBox5";
this.checkBox5.Size = new System.Drawing.Size(128, 24);
this.checkBox5.TabIndex = 37;
this.checkBox5.Text = "卡类别4允许使用";
//
// checkBox6
//
this.checkBox6.Location = new System.Drawing.Point(16, 272);
this.checkBox6.Name = "checkBox6";
this.checkBox6.Size = new System.Drawing.Size(128, 24);
this.checkBox6.TabIndex = 38;
this.checkBox6.Text = "卡类别5允许使用";
//
// checkBox7
//
this.checkBox7.Location = new System.Drawing.Point(16, 288);
this.checkBox7.Name = "checkBox7";
this.checkBox7.Size = new System.Drawing.Size(120, 24);
this.checkBox7.TabIndex = 39;
this.checkBox7.Text = "卡类别6允许使用";
//
// checkBox8
//
this.checkBox8.Location = new System.Drawing.Point(16, 304);
this.checkBox8.Name = "checkBox8";
this.checkBox8.Size = new System.Drawing.Size(128, 24);
this.checkBox8.TabIndex = 40;
this.checkBox8.Text = "卡类别7允许使用";
//
// textBox10
//
this.textBox10.Location = new System.Drawing.Point(296, 192);
this.textBox10.Name = "textBox10";
this.textBox10.Size = new System.Drawing.Size(72, 21);
this.textBox10.TabIndex = 41;
this.textBox10.Text = "3";
//
// textBox11
//
this.textBox11.Location = new System.Drawing.Point(248, 224);
this.textBox11.Name = "textBox11";
this.textBox11.Size = new System.Drawing.Size(32, 21);
this.textBox11.TabIndex = 42;
this.textBox11.Text = "3";
//
// textBox12
//
this.textBox12.Location = new System.Drawing.Point(296, 224);
this.textBox12.Name = "textBox12";
this.textBox12.Size = new System.Drawing.Size(32, 21);
this.textBox12.TabIndex = 43;
this.textBox12.Text = "00";
//
// textBox13
//
this.textBox13.Location = new System.Drawing.Point(352, 224);
this.textBox13.Name = "textBox13";
this.textBox13.Size = new System.Drawing.Size(32, 21);
this.textBox13.TabIndex = 44;
this.textBox13.Text = "8";
//
// textBox14
//
this.textBox14.Location = new System.Drawing.Point(400, 224);
this.textBox14.Name = "textBox14";
this.textBox14.Size = new System.Drawing.Size(32, 21);
this.textBox14.TabIndex = 45;
this.textBox14.Text = "59";
//
// textBox15
//
this.textBox15.Location = new System.Drawing.Point(248, 248);
this.textBox15.Name = "textBox15";
this.textBox15.Size = new System.Drawing.Size(32, 21);
this.textBox15.TabIndex = 46;
this.textBox15.Text = "9";
//
// textBox16
//
this.textBox16.Location = new System.Drawing.Point(296, 248);
this.textBox16.Name = "textBox16";
this.textBox16.Size = new System.Drawing.Size(32, 21);
this.textBox16.TabIndex = 47;
this.textBox16.Text = "00";
//
// textBox17
//
this.textBox17.Location = new System.Drawing.Point(352, 248);
this.textBox17.Name = "textBox17";
this.textBox17.Size = new System.Drawing.Size(32, 21);
this.textBox17.TabIndex = 48;
this.textBox17.Text = "15";
//
// textBox18
//
this.textBox18.Location = new System.Drawing.Point(400, 248);
this.textBox18.Name = "textBox18";
this.textBox18.Size = new System.Drawing.Size(32, 21);
this.textBox18.TabIndex = 49;
this.textBox18.Text = "59";
//
// textBox19
//
this.textBox19.Location = new System.Drawing.Point(248, 272);
this.textBox19.Name = "textBox19";
this.textBox19.Size = new System.Drawing.Size(32, 21);
this.textBox19.TabIndex = 50;
this.textBox19.Text = "16";
//
// textBox20
//
this.textBox20.Location = new System.Drawing.Point(296, 272);
this.textBox20.Name = "textBox20";
this.textBox20.Size = new System.Drawing.Size(32, 21);
this.textBox20.TabIndex = 51;
this.textBox20.Text = "00";
//
// textBox21
//
this.textBox21.Location = new System.Drawing.Point(352, 272);
this.textBox21.Name = "textBox21";
this.textBox21.Size = new System.Drawing.Size(32, 21);
this.textBox21.TabIndex = 52;
this.textBox21.Text = "21";
//
// textBox22
//
this.textBox22.Location = new System.Drawing.Point(400, 272);
this.textBox22.Name = "textBox22";
this.textBox22.Size = new System.Drawing.Size(32, 21);
this.textBox22.TabIndex = 53;
this.textBox22.Text = "59";
//
// textBox23
//
this.textBox23.Location = new System.Drawing.Point(248, 296);
this.textBox23.Name = "textBox23";
this.textBox23.Size = new System.Drawing.Size(32, 21);
this.textBox23.TabIndex = 54;
this.textBox23.Text = "22";
//
// textBox24
//
this.textBox24.Location = new System.Drawing.Point(296, 296);
this.textBox24.Name = "textBox24";
this.textBox24.Size = new System.Drawing.Size(32, 21);
this.textBox24.TabIndex = 55;
this.textBox24.Text = "00";
//
// textBox25
//
this.textBox25.Location = new System.Drawing.Point(352, 296);
this.textBox25.Name = "textBox25";
this.textBox25.Size = new System.Drawing.Size(32, 21);
this.textBox25.TabIndex = 56;
this.textBox25.Text = "23";
//
// textBox26
//
this.textBox26.Location = new System.Drawing.Point(400, 296);
this.textBox26.Name = "textBox26";
this.textBox26.Size = new System.Drawing.Size(32, 21);
this.textBox26.TabIndex = 57;
this.textBox26.Text = "59";
//
// label25
//
this.label25.Location = new System.Drawing.Point(384, 248);
this.label25.Name = "label25";
this.label25.Size = new System.Drawing.Size(16, 23);
this.label25.TabIndex = 58;
this.label25.Text = ":";
//
// label26
//
this.label26.Location = new System.Drawing.Point(280, 248);
this.label26.Name = "label26";
this.label26.Size = new System.Drawing.Size(16, 23);
this.label26.TabIndex = 59;
this.label26.Text = ":";
//
// label27
//
this.label27.Location = new System.Drawing.Point(336, 256);
this.label27.Name = "label27";
this.label27.Size = new System.Drawing.Size(16, 23);
this.label27.TabIndex = 60;
this.label27.Text = "~";
//
// label28
//
this.label28.Location = new System.Drawing.Point(280, 272);
this.label28.Name = "label28";
this.label28.Size = new System.Drawing.Size(16, 23);
this.label28.TabIndex = 61;
this.label28.Text = ":";
//
// label29
//
this.label29.Location = new System.Drawing.Point(280, 296);
this.label29.Name = "label29";
this.label29.Size = new System.Drawing.Size(16, 23);
this.label29.TabIndex = 62;
this.label29.Text = ":";
//
// label30
//
this.label30.Location = new System.Drawing.Point(384, 296);
this.label30.Name = "label30";
this.label30.Size = new System.Drawing.Size(16, 23);
this.label30.TabIndex = 63;
this.label30.Text = ":";
//
// label31
//
this.label31.Location = new System.Drawing.Point(384, 272);
this.label31.Name = "label31";
this.label31.Size = new System.Drawing.Size(16, 23);
this.label31.TabIndex = 64;
this.label31.Text = ":";
//
// checkBox9
//
this.checkBox9.Location = new System.Drawing.Point(384, 96);
this.checkBox9.Name = "checkBox9";
this.checkBox9.Size = new System.Drawing.Size(80, 24);
this.checkBox9.TabIndex = 65;
this.checkBox9.Text = "每餐累计";
//
// checkBox10
//
this.checkBox10.Location = new System.Drawing.Point(384, 120);
this.checkBox10.Name = "checkBox10";
this.checkBox10.Size = new System.Drawing.Size(80, 24);
this.checkBox10.TabIndex = 66;
this.checkBox10.Text = "每天累计";
//
// textBox27
//
this.textBox27.Location = new System.Drawing.Point(440, 160);
this.textBox27.Name = "textBox27";
this.textBox27.Size = new System.Drawing.Size(40, 21);
this.textBox27.TabIndex = 67;
this.textBox27.Text = "0";
//
// button1
//
this.button1.Location = new System.Drawing.Point(528, 8);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(80, 32);
this.button1.TabIndex = 68;
this.button1.Text = "刷 新";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// driveListBox1
//
this.driveListBox1.Location = new System.Drawing.Point(528, 56);
this.driveListBox1.Name = "driveListBox1";
this.driveListBox1.Size = new System.Drawing.Size(80, 22);
this.driveListBox1.TabIndex = 69;
//
// button2
//
this.button2.Location = new System.Drawing.Point(632, 8);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(208, 32);
this.button2.TabIndex = 70;
this.button2.Text = "远程设定logo图片及开机文字";
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button3
//
this.button3.Location = new System.Drawing.Point(632, 48);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(208, 32);
this.button3.TabIndex = 71;
this.button3.Text = "写logo图片及开机文字至U盘或磁盘";
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// textBox28
//
this.textBox28.Location = new System.Drawing.Point(544, 224);
this.textBox28.Name = "textBox28";
this.textBox28.Size = new System.Drawing.Size(88, 21);
this.textBox28.TabIndex = 72;
this.textBox28.Text = "16777215";
//
// textBox29
//
this.textBox29.Location = new System.Drawing.Point(544, 248);
this.textBox29.Name = "textBox29";
this.textBox29.Size = new System.Drawing.Size(88, 21);
this.textBox29.TabIndex = 73;
this.textBox29.Text = "16777215";
//
// textBox30
//
this.textBox30.Location = new System.Drawing.Point(544, 272);
this.textBox30.Name = "textBox30";
this.textBox30.Size = new System.Drawing.Size(88, 21);
this.textBox30.TabIndex = 74;
this.textBox30.Text = "16777215";
//
// textBox31
//
this.textBox31.Location = new System.Drawing.Point(544, 296);
this.textBox31.Name = "textBox31";
this.textBox31.Size = new System.Drawing.Size(88, 21);
this.textBox31.TabIndex = 75;
this.textBox31.Text = "16777215";
//
// label32
//
this.label32.Location = new System.Drawing.Point(336, 280);
this.label32.Name = "label32";
this.label32.Size = new System.Drawing.Size(16, 23);
this.label32.TabIndex = 76;
this.label32.Text = "~";
//
// label33
//
this.label33.Location = new System.Drawing.Point(336, 304);
this.label33.Name = "label33";
this.label33.Size = new System.Drawing.Size(16, 23);
this.label33.TabIndex = 77;
this.label33.Text = "~";
//
// label34
//
this.label34.Location = new System.Drawing.Point(224, 344);
this.label34.Name = "label34";
this.label34.TabIndex = 78;
this.label34.Text = "卡类别2早餐定额";
//
// label35
//
this.label35.Location = new System.Drawing.Point(440, 344);
this.label35.Name = "label35";
this.label35.TabIndex = 79;
this.label35.Text = "卡类别4早餐定额";
//
// label36
//
this.label36.Location = new System.Drawing.Point(224, 368);
this.label36.Name = "label36";
this.label36.TabIndex = 80;
this.label36.Text = "卡类别2午餐定额";
//
// label37
//
this.label37.Location = new System.Drawing.Point(640, 344);
this.label37.Name = "label37";
this.label37.TabIndex = 81;
this.label37.Text = "卡类别6早餐定额";
//
// label38
//
this.label38.Location = new System.Drawing.Point(16, 368);
this.label38.Name = "label38";
this.label38.TabIndex = 82;
this.label38.Text = "卡类别0午餐定额";
//
// label39
//
this.label39.Location = new System.Drawing.Point(16, 440);
this.label39.Name = "label39";
this.label39.TabIndex = 83;
this.label39.Text = "卡类别1早餐定额";
//
// label40
//
this.label40.Location = new System.Drawing.Point(16, 464);
this.label40.Name = "label40";
this.label40.TabIndex = 84;
this.label40.Text = "卡类别1午餐定额";
//
// label41
//
this.label41.Location = new System.Drawing.Point(224, 416);
this.label41.Name = "label41";
this.label41.TabIndex = 85;
this.label41.Text = "卡类别2夜宵定额";
//
// label42
//
this.label42.Location = new System.Drawing.Point(224, 392);
this.label42.Name = "label42";
this.label42.TabIndex = 86;
this.label42.Text = "卡类别2晚餐定额";
//
// label43
//
this.label43.Location = new System.Drawing.Point(224, 464);
this.label43.Name = "label43";
this.label43.TabIndex = 87;
this.label43.Text = "卡类别3午餐定额";
//
// label44
//
this.label44.Location = new System.Drawing.Point(16, 416);
this.label44.Name = "label44";
this.label44.TabIndex = 88;
this.label44.Text = "卡类别0夜宵定额";
//
// label45
//
this.label45.Location = new System.Drawing.Point(16, 392);
this.label45.Name = "label45";
this.label45.TabIndex = 89;
this.label45.Text = "卡类别0晚餐定额";
//
// label46
//
this.label46.Location = new System.Drawing.Point(640, 392);
this.label46.Name = "label46";
this.label46.TabIndex = 90;
this.label46.Text = "卡类别6晚餐定额";
//
// label47
//
this.label47.Location = new System.Drawing.Point(640, 368);
this.label47.Name = "label47";
this.label47.TabIndex = 91;
this.label47.Text = "卡类别6午餐定额";
//
// label49
//
this.label49.Location = new System.Drawing.Point(16, 512);
this.label49.Name = "label49";
this.label49.TabIndex = 93;
this.label49.Text = "卡类别1夜宵定额";
//
// label50
//
this.label50.Location = new System.Drawing.Point(16, 488);
this.label50.Name = "label50";
this.label50.TabIndex = 94;
this.label50.Text = "卡类别1晚餐定额";
//
// label48
//
this.label48.Location = new System.Drawing.Point(224, 440);
this.label48.Name = "label48";
this.label48.TabIndex = 95;
this.label48.Text = "卡类别3早餐定额";
//
// label51
//
this.label51.Location = new System.Drawing.Point(440, 368);
this.label51.Name = "label51";
this.label51.TabIndex = 96;
this.label51.Text = "卡类别4午餐定额";
//
// label52
//
this.label52.Location = new System.Drawing.Point(440, 512);
this.label52.Name = "label52";
this.label52.TabIndex = 97;
this.label52.Text = "卡类别5夜宵定额";
//
// label53
//
this.label53.Location = new System.Drawing.Point(440, 440);
this.label53.Name = "label53";
this.label53.TabIndex = 98;
this.label53.Text = "卡类别5早餐定额";
//
// label54
//
this.label54.Location = new System.Drawing.Point(640, 464);
this.label54.Name = "label54";
this.label54.TabIndex = 99;
this.label54.Text = "卡类别7午餐定额";
//
// label55
//
this.label55.Location = new System.Drawing.Point(640, 440);
this.label55.Name = "label55";
this.label55.TabIndex = 100;
this.label55.Text = "卡类别7早餐定额";
//
// label56
//
this.label56.Location = new System.Drawing.Point(640, 416);
this.label56.Name = "label56";
this.label56.TabIndex = 101;
this.label56.Text = "卡类别6夜宵定额";
//
// label57
//
this.label57.Location = new System.Drawing.Point(440, 416);
this.label57.Name = "label57";
this.label57.TabIndex = 102;
this.label57.Text = "卡类别4夜宵定额";
//
// label58
//
this.label58.Location = new System.Drawing.Point(440, 392);
this.label58.Name = "label58";
this.label58.TabIndex = 103;
this.label58.Text = "卡类别4晚餐定额";
//
// label59
//
this.label59.Location = new System.Drawing.Point(224, 512);
this.label59.Name = "label59";
this.label59.TabIndex = 104;
this.label59.Text = "卡类别3夜宵定额";
//
// label60
//
this.label60.Location = new System.Drawing.Point(224, 488);
this.label60.Name = "label60";
this.label60.TabIndex = 105;
this.label60.Text = "卡类别3晚餐定额";
//
// label61
//
this.label61.Location = new System.Drawing.Point(440, 464);
this.label61.Name = "label61";
this.label61.TabIndex = 106;
this.label61.Text = "卡类别5午餐定额";
//
// label62
//
this.label62.Location = new System.Drawing.Point(440, 488);
this.label62.Name = "label62";
this.label62.TabIndex = 107;
this.label62.Text = "卡类别5晚餐定额";
//
// label63
//
this.label63.Location = new System.Drawing.Point(640, 488);
this.label63.Name = "label63";
this.label63.TabIndex = 108;
this.label63.Text = "卡类别7晚餐定额";
//
// label64
//
this.label64.Location = new System.Drawing.Point(640, 512);
this.label64.Name = "label64";
this.label64.TabIndex = 109;
this.label64.Text = "卡类别7夜宵定额";
//
// textBox32
//
this.textBox32.Location = new System.Drawing.Point(128, 344);
this.textBox32.Name = "textBox32";
this.textBox32.Size = new System.Drawing.Size(88, 21);
this.textBox32.TabIndex = 110;
this.textBox32.Text = "16777215";
//
// textBox33
//
this.textBox33.Location = new System.Drawing.Point(128, 368);
this.textBox33.Name = "textBox33";
this.textBox33.Size = new System.Drawing.Size(88, 21);
this.textBox33.TabIndex = 111;
this.textBox33.Text = "16777215";
//
// textBox34
//
this.textBox34.Location = new System.Drawing.Point(128, 392);
this.textBox34.Name = "textBox34";
this.textBox34.Size = new System.Drawing.Size(88, 21);
this.textBox34.TabIndex = 112;
this.textBox34.Text = "16777215";
//
// textBox35
//
this.textBox35.Location = new System.Drawing.Point(128, 416);
this.textBox35.Name = "textBox35";
this.textBox35.Size = new System.Drawing.Size(88, 21);
this.textBox35.TabIndex = 113;
this.textBox35.Text = "16777215";
//
// textBox36
//
this.textBox36.Location = new System.Drawing.Point(128, 440);
this.textBox36.Name = "textBox36";
this.textBox36.Size = new System.Drawing.Size(88, 21);
this.textBox36.TabIndex = 114;
this.textBox36.Text = "16777215";
//
// textBox37
//
this.textBox37.Location = new System.Drawing.Point(128, 464);
this.textBox37.Name = "textBox37";
this.textBox37.Size = new System.Drawing.Size(88, 21);
this.textBox37.TabIndex = 115;
this.textBox37.Text = "16777215";
//
// textBox38
//
this.textBox38.Location = new System.Drawing.Point(128, 488);
this.textBox38.Name = "textBox38";
this.textBox38.Size = new System.Drawing.Size(88, 21);
this.textBox38.TabIndex = 116;
this.textBox38.Text = "16777215";
//
// textBox39
//
this.textBox39.Location = new System.Drawing.Point(128, 512);
this.textBox39.Name = "textBox39";
this.textBox39.Size = new System.Drawing.Size(88, 21);
this.textBox39.TabIndex = 117;
this.textBox39.Text = "16777215";
//
// textBox40
//
this.textBox40.Location = new System.Drawing.Point(336, 344);
this.textBox40.Name = "textBox40";
this.textBox40.Size = new System.Drawing.Size(88, 21);
this.textBox40.TabIndex = 118;
this.textBox40.Text = "16777215";
//
// textBox41
//
this.textBox41.Location = new System.Drawing.Point(336, 368);
this.textBox41.Name = "textBox41";
this.textBox41.Size = new System.Drawing.Size(88, 21);
this.textBox41.TabIndex = 119;
this.textBox41.Text = "16777215";
//
// textBox42
//
this.textBox42.Location = new System.Drawing.Point(336, 392);
this.textBox42.Name = "textBox42";
this.textBox42.Size = new System.Drawing.Size(88, 21);
this.textBox42.TabIndex = 120;
this.textBox42.Text = "16777215";
//
// textBox43
//
this.textBox43.Location = new System.Drawing.Point(336, 416);
this.textBox43.Name = "textBox43";
this.textBox43.Size = new System.Drawing.Size(88, 21);
this.textBox43.TabIndex = 121;
this.textBox43.Text = "16777215";
//
// textBox44
//
this.textBox44.Location = new System.Drawing.Point(336, 440);
this.textBox44.Name = "textBox44";
this.textBox44.Size = new System.Drawing.Size(88, 21);
this.textBox44.TabIndex = 122;
this.textBox44.Text = "16777215";
//
// textBox45
//
this.textBox45.Location = new System.Drawing.Point(336, 464);
this.textBox45.Name = "textBox45";
this.textBox45.Size = new System.Drawing.Size(88, 21);
this.textBox45.TabIndex = 123;
this.textBox45.Text = "16777215";
//
// textBox46
//
this.textBox46.Location = new System.Drawing.Point(336, 488);
this.textBox46.Name = "textBox46";
this.textBox46.Size = new System.Drawing.Size(88, 21);
this.textBox46.TabIndex = 124;
this.textBox46.Text = "16777215";
//
// textBox47
//
this.textBox47.Location = new System.Drawing.Point(336, 512);
this.textBox47.Name = "textBox47";
this.textBox47.Size = new System.Drawing.Size(88, 21);
this.textBox47.TabIndex = 125;
this.textBox47.Text = "16777215";
//
// textBox48
//
this.textBox48.Location = new System.Drawing.Point(544, 344);
this.textBox48.Name = "textBox48";
this.textBox48.Size = new System.Drawing.Size(88, 21);
this.textBox48.TabIndex = 126;
this.textBox48.Text = "16777215";
//
// textBox49
//
this.textBox49.Location = new System.Drawing.Point(544, 368);
this.textBox49.Name = "textBox49";
this.textBox49.Size = new System.Drawing.Size(88, 21);
this.textBox49.TabIndex = 127;
this.textBox49.Text = "16777215";
//
// textBox50
//
this.textBox50.Location = new System.Drawing.Point(544, 392);
this.textBox50.Name = "textBox50";
this.textBox50.Size = new System.Drawing.Size(88, 21);
this.textBox50.TabIndex = 128;
this.textBox50.Text = "16777215";
//
// textBox51
//
this.textBox51.Location = new System.Drawing.Point(544, 416);
this.textBox51.Name = "textBox51";
this.textBox51.Size = new System.Drawing.Size(88, 21);
this.textBox51.TabIndex = 129;
this.textBox51.Text = "16777215";
//
// textBox52
//
this.textBox52.Location = new System.Drawing.Point(544, 440);
this.textBox52.Name = "textBox52";
this.textBox52.Size = new System.Drawing.Size(88, 21);
this.textBox52.TabIndex = 130;
this.textBox52.Text = "16777215";
//
// textBox53
//
this.textBox53.Location = new System.Drawing.Point(544, 464);
this.textBox53.Name = "textBox53";
this.textBox53.Size = new System.Drawing.Size(88, 21);
this.textBox53.TabIndex = 131;
this.textBox53.Text = "16777215";
//
// textBox54
//
this.textBox54.Location = new System.Drawing.Point(544, 488);
this.textBox54.Name = "textBox54";
this.textBox54.Size = new System.Drawing.Size(88, 21);
this.textBox54.TabIndex = 132;
this.textBox54.Text = "16777215";
//
// textBox55
//
this.textBox55.Location = new System.Drawing.Point(544, 512);
this.textBox55.Name = "textBox55";
this.textBox55.Size = new System.Drawing.Size(88, 21);
this.textBox55.TabIndex = 133;
this.textBox55.Text = "16777215";
//
// textBox56
//
this.textBox56.Location = new System.Drawing.Point(744, 344);
this.textBox56.Name = "textBox56";
this.textBox56.Size = new System.Drawing.Size(88, 21);
this.textBox56.TabIndex = 134;
this.textBox56.Text = "16777215";
//
// textBox57
//
this.textBox57.Location = new System.Drawing.Point(744, 368);
this.textBox57.Name = "textBox57";
this.textBox57.Size = new System.Drawing.Size(88, 21);
this.textBox57.TabIndex = 135;
this.textBox57.Text = "16777215";
//
// textBox58
//
this.textBox58.Location = new System.Drawing.Point(744, 392);
this.textBox58.Name = "textBox58";
this.textBox58.Size = new System.Drawing.Size(88, 21);
this.textBox58.TabIndex = 136;
this.textBox58.Text = "16777215";
//
// textBox59
//
this.textBox59.Location = new System.Drawing.Point(744, 416);
this.textBox59.Name = "textBox59";
this.textBox59.Size = new System.Drawing.Size(88, 21);
this.textBox59.TabIndex = 137;
this.textBox59.Text = "16777215";
//
// textBox60
//
this.textBox60.Location = new System.Drawing.Point(744, 440);
this.textBox60.Name = "textBox60";
this.textBox60.Size = new System.Drawing.Size(88, 21);
this.textBox60.TabIndex = 138;
this.textBox60.Text = "16777215";
//
// textBox61
//
this.textBox61.Location = new System.Drawing.Point(744, 464);
this.textBox61.Name = "textBox61";
this.textBox61.Size = new System.Drawing.Size(88, 21);
this.textBox61.TabIndex = 139;
this.textBox61.Text = "16777215";
//
// textBox62
//
this.textBox62.Location = new System.Drawing.Point(744, 488);
this.textBox62.Name = "textBox62";
this.textBox62.Size = new System.Drawing.Size(88, 21);
this.textBox62.TabIndex = 140;
this.textBox62.Text = "16777215";
//
// textBox63
//
this.textBox63.Location = new System.Drawing.Point(744, 512);
this.textBox63.Name = "textBox63";
this.textBox63.Size = new System.Drawing.Size(88, 21);
this.textBox63.TabIndex = 141;
this.textBox63.Text = "16777215";
//
// button4
//
this.button4.Location = new System.Drawing.Point(456, 32);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(40, 23);
this.button4.TabIndex = 142;
this.button4.Text = "选择";
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// button5
//
this.button5.Location = new System.Drawing.Point(456, 56);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(40, 23);
this.button5.TabIndex = 143;
this.button5.Text = "选择";
this.button5.Click += new System.EventHandler(this.button5_Click);
//
// label65
//
this.label65.Location = new System.Drawing.Point(648, 224);
this.label65.Name = "label65";
this.label65.Size = new System.Drawing.Size(80, 16);
this.label65.TabIndex = 144;
this.label65.Text = "早餐最高限次";
//
// label66
//
this.label66.Location = new System.Drawing.Point(648, 272);
this.label66.Name = "label66";
this.label66.Size = new System.Drawing.Size(80, 16);
this.label66.TabIndex = 145;
this.label66.Text = "晚餐最高限次";
//
// label67
//
this.label67.Location = new System.Drawing.Point(648, 296);
this.label67.Name = "label67";
this.label67.Size = new System.Drawing.Size(80, 16);
this.label67.TabIndex = 146;
this.label67.Text = "夜宵最高限次";
//
// label68
//
this.label68.Location = new System.Drawing.Point(648, 248);
this.label68.Name = "label68";
this.label68.Size = new System.Drawing.Size(80, 16);
this.label68.TabIndex = 147;
this.label68.Text = "午餐最高限次";
//
// textBox64
//
this.textBox64.Location = new System.Drawing.Point(744, 224);
this.textBox64.Name = "textBox64";
this.textBox64.Size = new System.Drawing.Size(88, 21);
this.textBox64.TabIndex = 148;
this.textBox64.Text = "63";
//
// textBox65
//
this.textBox65.Location = new System.Drawing.Point(744, 248);
this.textBox65.Name = "textBox65";
this.textBox65.Size = new System.Drawing.Size(88, 21);
this.textBox65.TabIndex = 149;
this.textBox65.Text = "63";
//
// textBox66
//
this.textBox66.Location = new System.Drawing.Point(744, 272);
this.textBox66.Name = "textBox66";
this.textBox66.Size = new System.Drawing.Size(88, 21);
this.textBox66.TabIndex = 150;
this.textBox66.Text = "63";
//
// textBox67
//
this.textBox67.Location = new System.Drawing.Point(744, 296);
this.textBox67.Name = "textBox67";
this.textBox67.Size = new System.Drawing.Size(88, 21);
this.textBox67.TabIndex = 151;
this.textBox67.Text = "63";
//
// label69
//
this.label69.Location = new System.Drawing.Point(16, 552);
this.label69.Name = "label69";
this.label69.Size = new System.Drawing.Size(80, 23);
this.label69.TabIndex = 152;
this.label69.Text = "快捷键0数值";
//
// label70
//
this.label70.Location = new System.Drawing.Point(16, 576);
this.label70.Name = "label70";
this.label70.Size = new System.Drawing.Size(80, 23);
this.label70.TabIndex = 153;
this.label70.Text = "快捷键1数值";
//
// label71
//
this.label71.Location = new System.Drawing.Point(16, 600);
this.label71.Name = "label71";
this.label71.Size = new System.Drawing.Size(80, 23);
this.label71.TabIndex = 154;
this.label71.Text = "快捷键2数值";
//
// label72
//
this.label72.Location = new System.Drawing.Point(216, 576);
this.label72.Name = "label72";
this.label72.Size = new System.Drawing.Size(80, 23);
this.label72.TabIndex = 155;
this.label72.Text = "快捷键5数值";
//
// label73
//
this.label73.Location = new System.Drawing.Point(16, 624);
this.label73.Name = "label73";
this.label73.Size = new System.Drawing.Size(80, 23);
this.label73.TabIndex = 156;
this.label73.Text = "快捷键3数值";
//
// label74
//
this.label74.Location = new System.Drawing.Point(216, 600);
this.label74.Name = "label74";
this.label74.Size = new System.Drawing.Size(80, 23);
this.label74.TabIndex = 157;
this.label74.Text = "快捷键6数值";
//
// label75
//
this.label75.Location = new System.Drawing.Point(216, 624);
this.label75.Name = "label75";
this.label75.Size = new System.Drawing.Size(80, 23);
this.label75.TabIndex = 158;
this.label75.Text = "快捷键7数值";
//
// label76
//
this.label76.Location = new System.Drawing.Point(216, 552);
this.label76.Name = "label76";
this.label76.Size = new System.Drawing.Size(80, 23);
this.label76.TabIndex = 159;
this.label76.Text = "快捷键4数值";
//
// label77
//
this.label77.Location = new System.Drawing.Point(416, 576);
this.label77.Name = "label77";
this.label77.Size = new System.Drawing.Size(80, 23);
this.label77.TabIndex = 160;
this.label77.Text = "快捷键9数值";
//
// label78
//
this.label78.Location = new System.Drawing.Point(416, 552);
this.label78.Name = "label78";
this.label78.Size = new System.Drawing.Size(80, 23);
this.label78.TabIndex = 161;
this.label78.Text = "快捷键8数值";
//
// textBox68
//
this.textBox68.Location = new System.Drawing.Point(112, 552);
this.textBox68.Name = "textBox68";
this.textBox68.Size = new System.Drawing.Size(88, 21);
this.textBox68.TabIndex = 162;
this.textBox68.Text = "16777215";
//
// textBox69
//
this.textBox69.Location = new System.Drawing.Point(112, 576);
this.textBox69.Name = "textBox69";
this.textBox69.Size = new System.Drawing.Size(88, 21);
this.textBox69.TabIndex = 163;
this.textBox69.Text = "16777215";
//
// textBox70
//
this.textBox70.Location = new System.Drawing.Point(112, 600);
this.textBox70.Name = "textBox70";
this.textBox70.Size = new System.Drawing.Size(88, 21);
this.textBox70.TabIndex = 164;
this.textBox70.Text = "16777215";
//
// textBox71
//
this.textBox71.Location = new System.Drawing.Point(112, 624);
this.textBox71.Name = "textBox71";
this.textBox71.Size = new System.Drawing.Size(88, 21);
this.textBox71.TabIndex = 165;
this.textBox71.Text = "16777215";
//
// textBox72
//
this.textBox72.Location = new System.Drawing.Point(312, 552);
this.textBox72.Name = "textBox72";
this.textBox72.Size = new System.Drawing.Size(88, 21);
this.textBox72.TabIndex = 166;
this.textBox72.Text = "16777215";
//
// textBox73
//
this.textBox73.Location = new System.Drawing.Point(312, 576);
this.textBox73.Name = "textBox73";
this.textBox73.Size = new System.Drawing.Size(88, 21);
this.textBox73.TabIndex = 167;
this.textBox73.Text = "16777215";
//
// textBox74
//
this.textBox74.Location = new System.Drawing.Point(312, 600);
this.textBox74.Name = "textBox74";
this.textBox74.Size = new System.Drawing.Size(88, 21);
this.textBox74.TabIndex = 168;
this.textBox74.Text = "16777215";
//
// textBox75
//
this.textBox75.Location = new System.Drawing.Point(312, 624);
this.textBox75.Name = "textBox75";
this.textBox75.Size = new System.Drawing.Size(88, 21);
this.textBox75.TabIndex = 169;
this.textBox75.Text = "16777215";
//
// textBox76
//
this.textBox76.Location = new System.Drawing.Point(504, 576);
this.textBox76.Name = "textBox76";
this.textBox76.Size = new System.Drawing.Size(88, 21);
this.textBox76.TabIndex = 170;
this.textBox76.Text = "16777215";
//
// textBox77
//
this.textBox77.Location = new System.Drawing.Point(504, 552);
this.textBox77.Name = "textBox77";
this.textBox77.Size = new System.Drawing.Size(88, 21);
this.textBox77.TabIndex = 171;
this.textBox77.Text = "16777215";
//
// button6
//
this.button6.Location = new System.Drawing.Point(488, 648);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(80, 32);
this.button6.TabIndex = 172;
this.button6.Text = "刷新";
//
// button7
//
this.button7.Location = new System.Drawing.Point(688, 560);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(144, 32);
this.button7.TabIndex = 173;
this.button7.Text = "读取属性";
this.button7.Click += new System.EventHandler(this.button7_Click);
//
// button8
//
this.button8.Location = new System.Drawing.Point(688, 600);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(144, 32);
this.button8.TabIndex = 174;
this.button8.Text = "设定属性";
this.button8.Click += new System.EventHandler(this.button8_Click);
//
// button9
//
this.button9.Location = new System.Drawing.Point(688, 648);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(144, 32);
this.button9.TabIndex = 175;
this.button9.Text = "写参数入U盘或磁盘";
this.button9.Click += new System.EventHandler(this.button9_Click);
//
// driveListBox2
//
this.driveListBox2.Location = new System.Drawing.Point(584, 656);
this.driveListBox2.Name = "driveListBox2";
this.driveListBox2.Size = new System.Drawing.Size(80, 22);
this.driveListBox2.TabIndex = 176;
//
// Form4
//
this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
this.ClientSize = new System.Drawing.Size(872, 734);
this.Controls.Add(this.driveListBox2);
this.Controls.Add(this.button9);
this.Controls.Add(this.button8);
this.Controls.Add(this.button7);
this.Controls.Add(this.button6);
this.Controls.Add(this.textBox77);
this.Controls.Add(this.textBox76);
this.Controls.Add(this.textBox75);
this.Controls.Add(this.textBox74);
this.Controls.Add(this.textBox73);
this.Controls.Add(this.textBox72);
this.Controls.Add(this.textBox71);
this.Controls.Add(this.textBox70);
this.Controls.Add(this.textBox69);
this.Controls.Add(this.textBox68);
this.Controls.Add(this.label78);
this.Controls.Add(this.label77);
this.Controls.Add(this.label76);
this.Controls.Add(this.label75);
this.Controls.Add(this.label74);
this.Controls.Add(this.label73);
this.Controls.Add(this.label72);
this.Controls.Add(this.label71);
this.Controls.Add(this.label70);
this.Controls.Add(this.label69);
this.Controls.Add(this.textBox67);
this.Controls.Add(this.textBox66);
this.Controls.Add(this.textBox65);
this.Controls.Add(this.textBox64);
this.Controls.Add(this.label68);
this.Controls.Add(this.label67);
this.Controls.Add(this.label66);
this.Controls.Add(this.label65);
this.Controls.Add(this.button5);
this.Controls.Add(this.button4);
this.Controls.Add(this.textBox63);
this.Controls.Add(this.textBox62);
this.Controls.Add(this.textBox61);
this.Controls.Add(this.textBox60);
this.Controls.Add(this.textBox59);
this.Controls.Add(this.textBox58);
this.Controls.Add(this.textBox57);
this.Controls.Add(this.textBox56);
this.Controls.Add(this.textBox55);
this.Controls.Add(this.textBox54);
this.Controls.Add(this.textBox53);
this.Controls.Add(this.textBox52);
this.Controls.Add(this.textBox51);
this.Controls.Add(this.textBox50);
this.Controls.Add(this.textBox49);
this.Controls.Add(this.textBox48);
this.Controls.Add(this.textBox47);
this.Controls.Add(this.textBox46);
this.Controls.Add(this.textBox45);
this.Controls.Add(this.textBox44);
this.Controls.Add(this.textBox43);
this.Controls.Add(this.textBox42);
this.Controls.Add(this.textBox41);
this.Controls.Add(this.textBox40);
this.Controls.Add(this.textBox39);
this.Controls.Add(this.textBox38);
this.Controls.Add(this.textBox37);
this.Controls.Add(this.textBox36);
this.Controls.Add(this.textBox35);
this.Controls.Add(this.textBox34);
this.Controls.Add(this.textBox33);
this.Controls.Add(this.textBox32);
this.Controls.Add(this.label64);
this.Controls.Add(this.label63);
this.Controls.Add(this.label62);
this.Controls.Add(this.label61);
this.Controls.Add(this.label60);
this.Controls.Add(this.label59);
this.Controls.Add(this.label58);
this.Controls.Add(this.label57);
this.Controls.Add(this.label56);
this.Controls.Add(this.label55);
this.Controls.Add(this.label54);
this.Controls.Add(this.label53);
this.Controls.Add(this.label52);
this.Controls.Add(this.label51);
this.Controls.Add(this.label48);
this.Controls.Add(this.label50);
this.Controls.Add(this.label49);
this.Controls.Add(this.label47);
this.Controls.Add(this.label46);
this.Controls.Add(this.label45);
this.Controls.Add(this.label44);
this.Controls.Add(this.label43);
this.Controls.Add(this.label42);
this.Controls.Add(this.label41);
this.Controls.Add(this.label40);
this.Controls.Add(this.label39);
this.Controls.Add(this.label38);
this.Controls.Add(this.label37);
this.Controls.Add(this.label36);
this.Controls.Add(this.label35);
this.Controls.Add(this.label34);
this.Controls.Add(this.label33);
this.Controls.Add(this.label32);
this.Controls.Add(this.textBox31);
this.Controls.Add(this.textBox30);
this.Controls.Add(this.textBox29);
this.Controls.Add(this.textBox28);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.driveListBox1);
this.Controls.Add(this.button1);
this.Controls.Add(this.textBox27);
this.Controls.Add(this.checkBox10);
this.Controls.Add(this.checkBox9);
this.Controls.Add(this.label31);
this.Controls.Add(this.label30);
this.Controls.Add(this.label29);
this.Controls.Add(this.label28);
this.Controls.Add(this.label27);
this.Controls.Add(this.label26);
this.Controls.Add(this.label25);
this.Controls.Add(this.textBox26);
this.Controls.Add(this.textBox25);
this.Controls.Add(this.textBox24);
this.Controls.Add(this.textBox23);
this.Controls.Add(this.textBox22);
this.Controls.Add(this.textBox21);
this.Controls.Add(this.textBox20);
this.Controls.Add(this.textBox19);
this.Controls.Add(this.textBox18);
this.Controls.Add(this.textBox17);
this.Controls.Add(this.textBox16);
this.Controls.Add(this.textBox15);
this.Controls.Add(this.textBox14);
this.Controls.Add(this.textBox13);
this.Controls.Add(this.textBox12);
this.Controls.Add(this.textBox11);
this.Controls.Add(this.textBox10);
this.Controls.Add(this.checkBox8);
this.Controls.Add(this.checkBox7);
this.Controls.Add(this.checkBox6);
this.Controls.Add(this.checkBox5);
this.Controls.Add(this.checkBox4);
this.Controls.Add(this.checkBox3);
this.Controls.Add(this.checkBox2);
this.Controls.Add(this.checkBox1);
this.Controls.Add(this.textBox9);
this.Controls.Add(this.textBox8);
this.Controls.Add(this.textBox7);
this.Controls.Add(this.textBox6);
this.Controls.Add(this.textBox5);
this.Controls.Add(this.textBox4);
this.Controls.Add(this.textBox3);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label24);
this.Controls.Add(this.label23);
this.Controls.Add(this.label22);
this.Controls.Add(this.label21);
this.Controls.Add(this.label20);
this.Controls.Add(this.label19);
this.Controls.Add(this.label18);
this.Controls.Add(this.label17);
this.Controls.Add(this.label16);
this.Controls.Add(this.label15);
this.Controls.Add(this.label14);
this.Controls.Add(this.label13);
this.Controls.Add(this.label12);
this.Controls.Add(this.label11);
this.Controls.Add(this.label10);
this.Controls.Add(this.label9);
this.Controls.Add(this.label8);
this.Controls.Add(this.label7);
this.Controls.Add(this.label6);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Name = "Form4";
this.Text = "Form4";
this.ResumeLayout(false);
}
#endregion
private void button7_Click(object sender, System.EventArgs e)
{
Form1 f4 ;
f4 = (Form1)this.Owner;
f4.Refresh();
if (f4.axPOS011.DevComPortOpen == 1 )
{
f4.axPOS011.DevNumber = Convert.ToInt32(f4.textBox16.Text );
f4.axPOS011.DevProRead();
if (f4.axPOS011.OperatingResults == 0 )
{
textBox4.Text =Convert.ToString( f4.axPOS011.DevProAdminPwdStr); //设备管理员密码
textBox5.Text =Convert.ToString( f4.axPOS011.DevProUnitCode); //单位代码
if( f4.axPOS011.DevProClassBit0 > 0 ) //使用权限规则1
{
checkBox1.Checked=true;
}
else
{
checkBox1.Checked =false;
}
if (f4.axPOS011.DevProClassBit1 > 0) //使用权限规则2
{
checkBox2.Checked=true; ;
}
else
{
checkBox2.Checked=false;
}
if (f4.axPOS011.DevProClassBit2 > 0 ) //使用权限规则3
{
checkBox3.Checked=true; ;
}
else
{
checkBox3.Checked=false;
}
if( f4.axPOS011.DevProClassBit3 > 0 ) //使用权限规则4
{
checkBox4.Checked=true; ;
}
else
{
checkBox4.Checked=false;
}
if (f4.axPOS011.DevProClassBit4 > 0 ) //使用权限规则5
{
checkBox5.Checked=true; ;
}
else
{
checkBox5.Checked=false;
}
if (f4.axPOS011.DevProClassBit5 > 0 ) //使用权限规则6
{
checkBox6.Checked=true; ;
}
else
{
checkBox6.Checked=false;
}
if (f4.axPOS011.DevProClassBit6 > 0 ) //使用权限规则7
{
checkBox7.Checked=true; ;
}
else
{
checkBox7.Checked=false;
}
if( f4.axPOS011.DevProClassBit7 > 0 ) //使用权限规则8
{
checkBox8.Checked=true; ;
}
else
{
checkBox8.Checked=false;
}
textBox6.Text = Convert.ToString(f4.axPOS011.DevProMoneyMax) ; //卡内允许最大金额
textBox7.Text = Convert.ToString(f4.axPOS011.DevProMoneyMin); //卡内允许最小金额
textBox8.Text = Convert.ToString(f4.axPOS011.DevProMoneyAlert) ; //卡内最小报警金额
textBox9.Text = Convert.ToString(f4.axPOS011.DevProKeyEnterMax) ; //键盘输入最高限额
textBox10.Text = Convert.ToString(f4.axPOS011.DevProSameCardInterval); //相同卡最小间隔
//早餐起止时间
textBox11.Text = Convert.ToString(f4.axPOS011.DevProMealTime1StartH);
textBox12.Text = Convert.ToString(f4.axPOS011.DevProMealTime1StartM);
textBox13.Text = Convert.ToString(f4.axPOS011.DevProMealTime1StopH);
textBox14.Text = Convert.ToString(f4.axPOS011.DevProMealTime1StopM);
//午餐起止时间
textBox15.Text = Convert.ToString(f4.axPOS011.DevProMealTime2StartH);
textBox16.Text = Convert.ToString(f4.axPOS011.DevProMealTime2StartM);
textBox17.Text = Convert.ToString(f4.axPOS011.DevProMealTime2StopH);
textBox18.Text = Convert.ToString(f4.axPOS011.DevProMealTime2StopM);
//晚餐起止时间
textBox19.Text = Convert.ToString(f4.axPOS011.DevProMealTime3StartH);
textBox20.Text = Convert.ToString(f4.axPOS011.DevProMealTime3StartM);
textBox21.Text = Convert.ToString(f4.axPOS011.DevProMealTime3StopH);
textBox22.Text = Convert.ToString(f4.axPOS011.DevProMealTime3StopM);
//夜宵起止时间
textBox23.Text = Convert.ToString(f4.axPOS011.DevProMealTime4StartH);
textBox24.Text = Convert.ToString(f4.axPOS011.DevProMealTime4StartM);
textBox25.Text = Convert.ToString(f4.axPOS011.DevProMealTime4StopH);
textBox26.Text = Convert.ToString(f4.axPOS011.DevProMealTime4StopM);
textBox28.Text = Convert.ToString(f4.axPOS011.DevProMealMoney1Max) ; //早餐最高限额
textBox29.Text = Convert.ToString(f4.axPOS011.DevProMealMoney2Max ); //午餐最高限额
textBox30.Text = Convert.ToString(f4.axPOS011.DevProMealMoney3Max) ; //晚餐最高限额
textBox31.Text = Convert.ToString(f4.axPOS011.DevProMealMoney4Max) ; //夜宵最高限额
textBox64.Text = Convert.ToString(f4.axPOS011.DevProMealTimes1Max); //早餐最高限次
textBox65.Text = Convert.ToString(f4.axPOS011.DevProMealTimes2Max); //午餐最高限次
textBox66.Text = Convert.ToString(f4.axPOS011.DevProMealTimes3Max); //晚餐最高限次
textBox67.Text = Convert.ToString(f4.axPOS011.DevProMealTimes4Max); //夜宵最高限次
if (f4.axPOS011.DevProConsAddToMeal > 0) //每餐累计
{
checkBox9.Checked=true;
}
else
{
checkBox9.Checked = false;
}
if (f4.axPOS011.DevProConsAddToDay > 0 ) //每天累计
{
checkBox10.Checked=true;
}
else
{
checkBox10.Checked =false;
}
textBox27.Text = Convert.ToString(f4.axPOS011.DevProConsMode) ; //消费模式
textBox32.Text = Convert.ToString(f4.axPOS011.DevProClass0QuotaMoney1) ; //卡类别0早餐定额
textBox33.Text =Convert.ToString( f4.axPOS011.DevProClass0QuotaMoney2) ; //卡类别0午餐定额
textBox34.Text = Convert.ToString(f4.axPOS011.DevProClass0QuotaMoney3) ; //卡类别0晚餐定额
textBox35.Text =Convert.ToString( f4.axPOS011.DevProClass0QuotaMoney4) ; //卡类别0夜宵定额
textBox36.Text = Convert.ToString(f4.axPOS011.DevProClass1QuotaMoney1 ); //卡类别1早餐定额
textBox37.Text = Convert.ToString(f4.axPOS011.DevProClass1QuotaMoney2 ); //卡类别1午餐定额
textBox38.Text = Convert.ToString(f4.axPOS011.DevProClass1QuotaMoney3 ); //卡类别1晚餐定额
textBox39.Text = Convert.ToString(f4.axPOS011.DevProClass1QuotaMoney4) ; //卡类别1夜宵定额
textBox40.Text = Convert.ToString(f4.axPOS011.DevProClass2QuotaMoney1 ); //卡类别2早餐定额
textBox41.Text =Convert.ToString( f4.axPOS011.DevProClass2QuotaMoney2) ; //卡类别2午餐定额
textBox42.Text = Convert.ToString(f4.axPOS011.DevProClass2QuotaMoney3) ; //卡类别2晚餐定额
textBox43.Text = Convert.ToString(f4.axPOS011.DevProClass2QuotaMoney4) ; //卡类别2夜宵定额
textBox44.Text = Convert.ToString(f4.axPOS011.DevProClass3QuotaMoney1) ; //卡类别3早餐定额
textBox45.Text = Convert.ToString(f4.axPOS011.DevProClass3QuotaMoney2) ; //卡类别3午餐定额
textBox46.Text = Convert.ToString(f4.axPOS011.DevProClass3QuotaMoney3) ; //卡类别3晚餐定额
textBox47.Text = Convert.ToString( f4.axPOS011.DevProClass3QuotaMoney4); //卡类别3夜宵定额
textBox48.Text = Convert.ToString(f4.axPOS011.DevProClass4QuotaMoney1) ; //卡类别4早餐定额
textBox49.Text = Convert.ToString(f4.axPOS011.DevProClass4QuotaMoney2) ; //卡类别4午餐定额
textBox50.Text = Convert.ToString(f4.axPOS011.DevProClass4QuotaMoney3); //卡类别4晚餐定额
textBox51.Text = Convert.ToString(f4.axPOS011.DevProClass4QuotaMoney4) ; //卡类别4夜宵定额
textBox52.Text = Convert.ToString(f4.axPOS011.DevProClass5QuotaMoney1 ); //卡类别5早餐定额
textBox53.Text = Convert.ToString(f4.axPOS011.DevProClass5QuotaMoney2 ); //卡类别5午餐定额
textBox54.Text = Convert.ToString(f4.axPOS011.DevProClass5QuotaMoney3) ; //卡类别5晚餐定额
textBox55.Text = Convert.ToString(f4.axPOS011.DevProClass5QuotaMoney4 ); //卡类别5夜宵定额
textBox56.Text = Convert.ToString(f4.axPOS011.DevProClass6QuotaMoney1 ); //卡类别6早餐定额
textBox57.Text = Convert.ToString(f4.axPOS011.DevProClass6QuotaMoney2 ); //卡类别6午餐定额
textBox58.Text = Convert.ToString(f4.axPOS011.DevProClass6QuotaMoney3 ); //卡类别6晚餐定额
textBox59.Text = Convert.ToString(f4.axPOS011.DevProClass6QuotaMoney4 ); //卡类别6夜宵定额
textBox60.Text = Convert.ToString(f4.axPOS011.DevProClass7QuotaMoney1 ); //卡类别7早餐定额
textBox61.Text = Convert.ToString(f4.axPOS011.DevProClass7QuotaMoney2 ); //卡类别7午餐定额
textBox62.Text = Convert.ToString(f4.axPOS011.DevProClass7QuotaMoney3 ) ; //卡类别7晚餐定额
textBox63.Text = Convert.ToString(f4.axPOS011.DevProClass7QuotaMoney4 ); //卡类别7夜宵定额
textBox68.Text = Convert.ToString(f4.axPOS011.DevProShortcutkey0); //快捷键0数值
textBox69.Text = Convert.ToString(f4.axPOS011.DevProShortcutkey1) ; //快捷键1数值
textBox70.Text = Convert.ToString(f4.axPOS011.DevProShortcutkey2) ; //快捷键2数值
textBox71.Text = Convert.ToString(f4.axPOS011.DevProShortcutkey3) ; //快捷键3数值
textBox72.Text = Convert.ToString(f4.axPOS011.DevProShortcutkey4) ; //快捷键4数值
textBox73.Text = Convert.ToString(f4.axPOS011.DevProShortcutkey5) ; //快捷键5数值
textBox74.Text = Convert.ToString(f4.axPOS011.DevProShortcutkey6) ; //快捷键6数值
textBox75.Text = Convert.ToString(f4.axPOS011.DevProShortcutkey7) ; //快捷键7数值
textBox76.Text = Convert.ToString(f4.axPOS011.DevProShortcutkey8) ; //快捷键8数值
textBox77.Text = Convert.ToString(f4.axPOS011.DevProShortcutkey9) ; //快捷键9数值
MessageBox.Show( "读取属性成功!");
}
else
{
MessageBox.Show("设备通讯不通!");
}
}
else
{
MessageBox.Show("端口未打开!");
}
}
private void button5_Click(object sender, System.EventArgs e)
{
openFileDialog1.FileName= "'" ;
openFileDialog1.Title= "请选择图片文件";
openFileDialog1.Filter = "图像文件(*.bmp) |*.bmp|所有文件(bmp)|*.*";
openFileDialog1.ShowDialog();
textBox3.Text = openFileDialog1.FileName;
;
}
private void button4_Click(object sender, System.EventArgs e)
{
openFileDialog1.FileName= "'" ;
openFileDialog1.Title= "请选择图片文件";
openFileDialog1.Filter = "图像文件(*.bmp) |*.bmp|所有文件(bmp)|*.*";
openFileDialog1.ShowDialog();
textBox2.Text = openFileDialog1.FileName;
}
private void button1_Click(object sender, System.EventArgs e)
{
driveListBox1.Refresh();
}
private void button2_Click(object sender, System.EventArgs e)
{
Form1 f4 ;
f4 = (Form1)this.Owner;
f4.Refresh();
if (f4.axPOS011.DevComPortOpen == 1 )
{
f4.axPOS011.DevProBootText= textBox1.Text;
f4.axPOS011.DevProLogoPicFile = textBox2.Text;
f4.axPOS011.DevProHotlinePicFile = textBox3.Text;
f4.axPOS011.DevNumber = Convert.ToInt32(f4.textBox16.Text );
f4.axPOS011.DevProWriteLogoPicAndText();
if (f4.axPOS011.OperatingResults == 0)
{
MessageBox.Show ("设定logo图片及开机文字成功!");
}
else if( f4.axPOS011.OperatingResults == 40)
{
MessageBox.Show( "logo图片图片文件不存在!" );
}
else if (f4.axPOS011.OperatingResults == 41 )
{
MessageBox.Show( "logo图片文件格式错误,正确文件为黑白两像素的128*32的图片文件!");
}
else if (f4.axPOS011.OperatingResults == 42 )
{
MessageBox.Show( "咨询热线图片图片文件不存在!" );
}
else if (f4.axPOS011.OperatingResults == 43 )
{
MessageBox.Show("咨询热线图片文件格式错误,正确文件为黑白两像素的128*64的图片文件!" );
}
else
{
//'MessageBox.Show "设备通讯不通!"'
MessageBox.Show(Convert.ToString (f4.axPOS011.OperatingResults ));
}
}
else
{
MessageBox.Show("端口未打开!");
}
}
private void button3_Click(object sender, System.EventArgs e)
{
Form1 f4 ;
f4 = (Form1)this.Owner;
f4.Refresh();
f4.axPOS011.DevProBootText = textBox1.Text;
f4.axPOS011.DevProLogoPicFile = textBox2.Text;
f4.axPOS011.DevProHotlinePicFile = textBox3.Text;
f4.axPOS011.DevDriverStr = driveListBox1.Drive;
f4.axPOS011.DevProWriteLogoPicAndTextToDisk();
if (f4.axPOS011.OperatingResults == 0 )
{
MessageBox.Show ("写logo图片及开机文字到U盘成功!");
}
else if (f4.axPOS011.OperatingResults == 40 )
{
MessageBox.Show ("logo图片图片文件不存在!");
textBox2.Focus();
}
else if (f4.axPOS011.OperatingResults == 41)
{
MessageBox.Show ("logo图片文件格式错误,正确文件为黑白两像素的128*32的图片文件!" );
textBox2.Focus();
}
else if (f4.axPOS011.OperatingResults == 42)
{
MessageBox.Show( "咨询热线图片图片文件不存在!");
textBox3.Focus();
}
else if (f4.axPOS011.OperatingResults == 43 )
{
MessageBox.Show ("咨询热线图片文件格式错误,正确文件为黑白两像素的128*64的图片文件!" );
textBox3.Focus();
}
else
{
MessageBox.Show(Convert.ToString( f4.axPOS011.OperatingResults));
}
}
private void button8_Click(object sender, System.EventArgs e)
{
Form1 f4 ;
f4 = (Form1)this.Owner;
f4.Refresh();
if (f4.axPOS011.DevComPortOpen == 1)
{
f4.axPOS011.DevProAdminPwdStr = textBox4.Text ; //设备管理员密码
f4.axPOS011.DevProUnitCode = Convert.ToInt16(textBox5.Text ); //单位代码
if (checkBox1.Checked==true ) //使用权限规则1
{
f4.axPOS011.DevProClassBit0 = 1;
}
else
{
f4.axPOS011.DevProClassBit0 = 0;
}
if( checkBox2.Checked==true ) //使用权限规则2
{
f4.axPOS011.DevProClassBit1 = 1;
}
else
{
f4.axPOS011.DevProClassBit1 = 0;
}
if (checkBox3.Checked==true ) //使用权限规则3
{
f4.axPOS011.DevProClassBit2 = 1;
}
else
{
f4.axPOS011.DevProClassBit2 = 0;
}
if (checkBox4.Checked==true ) //使用权限规则4
{
f4.axPOS011.DevProClassBit3 = 1;
}
else
{
f4.axPOS011.DevProClassBit3 = 0;
}
if (checkBox5.Checked==true) //使用权限规则5
{
f4.axPOS011.DevProClassBit4 = 1;
}
else
{
f4.axPOS011.DevProClassBit4 = 0;
}
if (checkBox6.Checked==true ) //使用权限规则6
{
f4.axPOS011.DevProClassBit5 = 1;
}
else
{
f4.axPOS011.DevProClassBit5 = 0;
}
if (checkBox7.Checked==true ) //使用权限规则7
{
f4.axPOS011.DevProClassBit6 = 1;
}
else
{
f4.axPOS011.DevProClassBit6 = 0;
}
if (checkBox8.Checked==true ) //使用权限规则8
{
f4.axPOS011.DevProClassBit7 = 1;
}
else
{
f4.axPOS011.DevProClassBit7 = 0;
}
f4.axPOS011.DevProMoneyMax = Convert.ToInt32(textBox6.Text) ; //卡内允许最大金额
f4.axPOS011.DevProMoneyMin = Convert.ToInt32(textBox7.Text ); // 卡内允许最小金额
f4.axPOS011.DevProMoneyAlert = Convert.ToInt32(textBox8.Text) ; // 卡内最小报警金额
f4.axPOS011.DevProKeyEnterMax = Convert.ToInt32(textBox9.Text); // 键盘输入最高限额
f4.axPOS011.DevProSameCardInterval =Convert.ToInt16( textBox10.Text ); //相同卡最小间隔
//早餐起止时间
f4.axPOS011.DevProMealTime1StartH = Convert.ToInt16(textBox11.Text);
f4.axPOS011.DevProMealTime1StartM = Convert.ToInt16(textBox12.Text);
f4.axPOS011.DevProMealTime1StopH =Convert.ToInt16 (textBox13.Text);
f4.axPOS011.DevProMealTime1StopM = Convert.ToInt16(textBox14.Text);
//午餐起止时间
f4.axPOS011.DevProMealTime2StartH =Convert.ToInt16 (textBox15.Text);
f4.axPOS011.DevProMealTime2StartM =Convert.ToInt16( textBox16.Text);
f4.axPOS011.DevProMealTime2StopH = Convert.ToInt16(textBox17.Text);
f4.axPOS011.DevProMealTime2StopM = Convert.ToInt16(textBox18.Text);
//晚餐起止时间
f4.axPOS011.DevProMealTime3StartH = Convert.ToInt16(textBox19.Text);
f4.axPOS011.DevProMealTime3StartM = Convert.ToInt16(textBox20.Text);
f4.axPOS011.DevProMealTime3StopH = Convert.ToInt16(textBox21.Text);
f4.axPOS011.DevProMealTime3StopM = Convert.ToInt16(textBox22.Text);
//夜宵起止时间
f4.axPOS011.DevProMealTime4StartH = Convert.ToInt16(textBox23.Text);
f4.axPOS011.DevProMealTime4StartM = Convert.ToInt16(textBox24.Text);
f4.axPOS011.DevProMealTime4StopH = Convert.ToInt16(textBox25.Text);
f4.axPOS011.DevProMealTime4StopM = Convert.ToInt16(textBox26.Text);
f4.axPOS011.DevProMealMoney1Max = Convert.ToInt32(textBox28.Text) ; //早餐最高限额
f4.axPOS011.DevProMealMoney2Max = Convert.ToInt32(textBox29.Text) ; //午餐最高限额
f4.axPOS011.DevProMealMoney3Max = Convert.ToInt32(textBox30.Text) ; //晚餐最高限额
f4.axPOS011.DevProMealMoney4Max = Convert.ToInt32(textBox31.Text) ; //夜宵最高限额
f4.axPOS011.DevProMealTimes1Max = Convert.ToInt16(textBox64.Text) ; //早餐最高限次
f4.axPOS011.DevProMealTimes2Max = Convert.ToInt16(textBox65.Text) ; // 午餐最高限次
f4.axPOS011.DevProMealTimes3Max = Convert.ToInt16(textBox66.Text) ; // 晚餐最高限次
f4.axPOS011.DevProMealTimes4Max = Convert.ToInt16(textBox67.Text) ; // 夜宵最高限次
if (checkBox9.Checked==true ) //每餐累计
{
f4.axPOS011.DevProConsAddToMeal = 1;
}
else
{
f4.axPOS011.DevProConsAddToMeal = 0;
}
if (checkBox10.Checked==true ) //每天累计
{
f4.axPOS011.DevProConsAddToDay = 1;
}
else
{
f4.axPOS011.DevProConsAddToDay = 0;
}
f4.axPOS011.DevProConsMode = Convert.ToInt16(textBox27.Text) ; //消费模式
f4.axPOS011.DevProClass0QuotaMoney1 =Convert.ToInt32 (textBox32.Text) ; //卡类别0早餐定额
f4.axPOS011.DevProClass0QuotaMoney2 = Convert.ToInt32(textBox33.Text) ; //卡类别0午餐定额
f4.axPOS011.DevProClass0QuotaMoney3 = Convert.ToInt32(textBox34.Text) ; //卡类别0晚餐定额
f4.axPOS011.DevProClass0QuotaMoney4 = Convert.ToInt32(textBox35.Text) ; //卡类别0夜宵定额
f4.axPOS011.DevProClass1QuotaMoney1 = Convert.ToInt32(textBox36.Text) ; //卡类别1早餐定额
f4.axPOS011.DevProClass1QuotaMoney2 = Convert.ToInt32(textBox37.Text) ; //卡类别1午餐定额
f4.axPOS011.DevProClass1QuotaMoney3 = Convert.ToInt32(textBox38.Text) ; //卡类别1晚餐定额
f4.axPOS011.DevProClass1QuotaMoney4 = Convert.ToInt32(textBox39.Text) ; //卡类别1夜宵定额
f4.axPOS011.DevProClass2QuotaMoney1 = Convert.ToInt32(textBox40.Text) ; //卡类别2早餐定额
f4.axPOS011.DevProClass2QuotaMoney2 = Convert.ToInt32(textBox41.Text) ; //卡类别2午餐定额
f4.axPOS011.DevProClass2QuotaMoney3 = Convert.ToInt32(textBox42.Text) ; //卡类别2晚餐定额
f4.axPOS011.DevProClass2QuotaMoney4 = Convert.ToInt32(textBox43.Text) ; //卡类别2夜宵定额
f4.axPOS011.DevProClass3QuotaMoney1 = Convert.ToInt32(textBox44.Text) ; //卡类别3早餐定额
f4.axPOS011.DevProClass3QuotaMoney2 = Convert.ToInt32(textBox45.Text) ; //卡类别3午餐定额
f4.axPOS011.DevProClass3QuotaMoney3 = Convert.ToInt32(textBox46.Text); //卡类别3晚餐定额
f4.axPOS011.DevProClass3QuotaMoney4 = Convert.ToInt32(textBox47.Text) ; //卡类别3夜宵定额
f4.axPOS011.DevProClass4QuotaMoney1 = Convert.ToInt32(textBox48.Text) ; //卡类别4早餐定额
f4.axPOS011.DevProClass4QuotaMoney2 = Convert.ToInt32(textBox49.Text) ; //卡类别4午餐定额
f4.axPOS011.DevProClass4QuotaMoney3 = Convert.ToInt32(textBox50.Text) ; //卡类别4晚餐定额
f4.axPOS011.DevProClass4QuotaMoney4 = Convert.ToInt32(textBox51.Text) ; //卡类别4夜宵定额
f4.axPOS011.DevProClass5QuotaMoney1 = Convert.ToInt32(textBox52.Text); //卡类别5早餐定额
f4.axPOS011.DevProClass5QuotaMoney2 = Convert.ToInt32(textBox53.Text) ; //卡类别5午餐定额
f4.axPOS011.DevProClass5QuotaMoney3 = Convert.ToInt32(textBox54.Text); //卡类别5晚餐定额
f4.axPOS011.DevProClass5QuotaMoney4 = Convert.ToInt32(textBox55.Text) ; //卡类别5夜宵定额
f4.axPOS011.DevProClass6QuotaMoney1 = Convert.ToInt32(textBox56.Text) ; //卡类别6早餐定额
f4.axPOS011.DevProClass6QuotaMoney2 = Convert.ToInt32(textBox57.Text) ; //卡类别6午餐定额
f4.axPOS011.DevProClass6QuotaMoney3 = Convert.ToInt32(textBox58.Text) ; //卡类别6晚餐定额
f4.axPOS011.DevProClass6QuotaMoney4 = Convert.ToInt32(textBox59.Text) ; //卡类别6夜宵定额
f4.axPOS011.DevProClass7QuotaMoney1 = Convert.ToInt32(textBox60.Text) ; //卡类别7早餐定额
f4.axPOS011.DevProClass7QuotaMoney2 = Convert.ToInt32(textBox61.Text) ; //卡类别7午餐定额
f4.axPOS011.DevProClass7QuotaMoney3 = Convert.ToInt32(textBox62.Text) ; //卡类别7晚餐定额
f4.axPOS011.DevProClass7QuotaMoney4 = Convert.ToInt32(textBox63.Text) ; //卡类别7夜宵定额
f4.axPOS011.DevProShortcutkey0 = Convert.ToInt32(textBox68.Text); //快捷键0数值
f4.axPOS011.DevProShortcutkey1 = Convert.ToInt32(textBox69.Text ); //快捷键1数值
f4.axPOS011.DevProShortcutkey2 = Convert.ToInt32(textBox70.Text ); //快捷键2数值
f4.axPOS011.DevProShortcutkey3 = Convert.ToInt32(textBox71.Text) ; //快捷键3数值
f4.axPOS011.DevProShortcutkey4 = Convert.ToInt32(textBox72.Text) ; //快捷键4数值
f4.axPOS011.DevProShortcutkey5 = Convert.ToInt32(textBox73.Text); //快捷键5数值
f4.axPOS011.DevProShortcutkey6 = Convert.ToInt32(textBox74.Text) ; //快捷键6数值
f4.axPOS011.DevProShortcutkey7 = Convert.ToInt32(textBox75.Text) ; //快捷键7数值
f4.axPOS011.DevProShortcutkey8 = Convert.ToInt32(textBox76.Text); //快捷键8数值
f4.axPOS011.DevProShortcutkey9 = Convert.ToInt32(textBox77.Text) ; //快捷键9数值
f4.axPOS011.DevNumber = Convert.ToInt32(f4.textBox16 .Text);
f4.axPOS011.DevProWrite();
if (f4.axPOS011.OperatingResults == 0)
{
MessageBox.Show( "写设备属性成功!");
}
else
{
MessageBox.Show( "设备通讯不通!");
}
}
else
{
MessageBox.Show("端口未打开!");
}
}
private void button9_Click(object sender, System.EventArgs e)
{
Form1 f4 ;
f4 = (Form1)this.Owner;
f4.Refresh();
f4.axPOS011.DevProAdminPwdStr = textBox4.Text ; //设备管理员密码
f4.axPOS011.DevProUnitCode = Convert.ToInt16(textBox5.Text ); //单位代码
if (checkBox1.Checked==true ) //使用权限规则1
{
f4.axPOS011.DevProClassBit0 = 1;
}
else
{
f4.axPOS011.DevProClassBit0 = 0;
}
if( checkBox2.Checked==true ) //使用权限规则2
{
f4.axPOS011.DevProClassBit1 = 1;
}
else
{
f4.axPOS011.DevProClassBit1 = 0;
}
if (checkBox3.Checked==true ) //使用权限规则3
{
f4.axPOS011.DevProClassBit2 = 1;
}
else
{
f4.axPOS011.DevProClassBit2 = 0;
}
if (checkBox4.Checked==true ) //使用权限规则4
{
f4.axPOS011.DevProClassBit3 = 1;
}
else
{
f4.axPOS011.DevProClassBit3 = 0;
}
if (checkBox5.Checked==true) //使用权限规则5
{
f4.axPOS011.DevProClassBit4 = 1;
}
else
{
f4.axPOS011.DevProClassBit4 = 0;
}
if (checkBox6.Checked==true ) //使用权限规则6
{
f4.axPOS011.DevProClassBit5 = 1;
}
else
{
f4.axPOS011.DevProClassBit5 = 0;
}
if (checkBox7.Checked==true ) //使用权限规则7
{
f4.axPOS011.DevProClassBit6 = 1;
}
else
{
f4.axPOS011.DevProClassBit6 = 0;
}
if (checkBox8.Checked==true ) //使用权限规则8
{
f4.axPOS011.DevProClassBit7 = 1;
}
else
{
f4.axPOS011.DevProClassBit7 = 0;
}
f4.axPOS011.DevProMoneyMax = Convert.ToInt32(textBox6.Text) ; //卡内允许最大金额
f4.axPOS011.DevProMoneyMin = Convert.ToInt32(textBox7.Text ); // 卡内允许最小金额
f4.axPOS011.DevProMoneyAlert = Convert.ToInt32(textBox8.Text) ; // 卡内最小报警金额
f4.axPOS011.DevProKeyEnterMax = Convert.ToInt32(textBox9.Text); // 键盘输入最高限额
f4.axPOS011.DevProSameCardInterval =Convert.ToInt16( textBox10.Text ); //相同卡最小间隔
//早餐起止时间
f4.axPOS011.DevProMealTime1StartH = Convert.ToInt16(textBox11.Text);
f4.axPOS011.DevProMealTime1StartM = Convert.ToInt16(textBox12.Text);
f4.axPOS011.DevProMealTime1StopH =Convert.ToInt16 (textBox13.Text);
f4.axPOS011.DevProMealTime1StopM = Convert.ToInt16(textBox14.Text);
//午餐起止时间
f4.axPOS011.DevProMealTime2StartH =Convert.ToInt16 (textBox15.Text);
f4.axPOS011.DevProMealTime2StartM =Convert.ToInt16( textBox16.Text);
f4.axPOS011.DevProMealTime2StopH = Convert.ToInt16(textBox17.Text);
f4.axPOS011.DevProMealTime2StopM = Convert.ToInt16(textBox18.Text);
//晚餐起止时间
f4.axPOS011.DevProMealTime3StartH = Convert.ToInt16(textBox19.Text);
f4.axPOS011.DevProMealTime3StartM = Convert.ToInt16(textBox20.Text);
f4.axPOS011.DevProMealTime3StopH = Convert.ToInt16(textBox21.Text);
f4.axPOS011.DevProMealTime3StopM = Convert.ToInt16(textBox22.Text);
//夜宵起止时间
f4.axPOS011.DevProMealTime4StartH = Convert.ToInt16(textBox23.Text);
f4.axPOS011.DevProMealTime4StartM = Convert.ToInt16(textBox24.Text);
f4.axPOS011.DevProMealTime4StopH = Convert.ToInt16(textBox25.Text);
f4.axPOS011.DevProMealTime4StopM = Convert.ToInt16(textBox26.Text);
f4.axPOS011.DevProMealMoney1Max = Convert.ToInt32(textBox28.Text) ; //早餐最高限额
f4.axPOS011.DevProMealMoney2Max = Convert.ToInt32(textBox29.Text) ; //午餐最高限额
f4.axPOS011.DevProMealMoney3Max = Convert.ToInt32(textBox30.Text) ; //晚餐最高限额
f4.axPOS011.DevProMealMoney4Max = Convert.ToInt32(textBox31.Text) ; //夜宵最高限额
f4.axPOS011.DevProMealTimes1Max = Convert.ToInt16(textBox64.Text) ; //早餐最高限次
f4.axPOS011.DevProMealTimes2Max = Convert.ToInt16(textBox65.Text) ; // 午餐最高限次
f4.axPOS011.DevProMealTimes3Max = Convert.ToInt16(textBox66.Text) ; // 晚餐最高限次
f4.axPOS011.DevProMealTimes4Max = Convert.ToInt16(textBox67.Text) ; // 夜宵最高限次
if (checkBox9.Checked==true ) //每餐累计
{
f4.axPOS011.DevProConsAddToMeal = 1;
}
else
{
f4.axPOS011.DevProConsAddToMeal = 0;
}
if (checkBox10.Checked==true ) //每天累计
{
f4.axPOS011.DevProConsAddToDay = 1;
}
else
{
f4.axPOS011.DevProConsAddToDay = 0;
}
f4.axPOS011.DevProConsMode = Convert.ToInt16(textBox27.Text) ; //消费模式
f4.axPOS011.DevProClass0QuotaMoney1 =Convert.ToInt32 (textBox32.Text) ; //卡类别0早餐定额
f4.axPOS011.DevProClass0QuotaMoney2 = Convert.ToInt32(textBox33.Text) ; //卡类别0午餐定额
f4.axPOS011.DevProClass0QuotaMoney3 = Convert.ToInt32(textBox34.Text) ; //卡类别0晚餐定额
f4.axPOS011.DevProClass0QuotaMoney4 = Convert.ToInt32(textBox35.Text) ; //卡类别0夜宵定额
f4.axPOS011.DevProClass1QuotaMoney1 = Convert.ToInt32(textBox36.Text) ; //卡类别1早餐定额
f4.axPOS011.DevProClass1QuotaMoney2 = Convert.ToInt32(textBox37.Text) ; //卡类别1午餐定额
f4.axPOS011.DevProClass1QuotaMoney3 = Convert.ToInt32(textBox38.Text) ; //卡类别1晚餐定额
f4.axPOS011.DevProClass1QuotaMoney4 = Convert.ToInt32(textBox39.Text) ; //卡类别1夜宵定额
f4.axPOS011.DevProClass2QuotaMoney1 = Convert.ToInt32(textBox40.Text) ; //卡类别2早餐定额
f4.axPOS011.DevProClass2QuotaMoney2 = Convert.ToInt32(textBox41.Text) ; //卡类别2午餐定额
f4.axPOS011.DevProClass2QuotaMoney3 = Convert.ToInt32(textBox42.Text) ; //卡类别2晚餐定额
f4.axPOS011.DevProClass2QuotaMoney4 = Convert.ToInt32(textBox43.Text) ; //卡类别2夜宵定额
f4.axPOS011.DevProClass3QuotaMoney1 = Convert.ToInt32(textBox44.Text) ; //卡类别3早餐定额
f4.axPOS011.DevProClass3QuotaMoney2 = Convert.ToInt32(textBox45.Text) ; //卡类别3午餐定额
f4.axPOS011.DevProClass3QuotaMoney3 = Convert.ToInt32(textBox46.Text); //卡类别3晚餐定额
f4.axPOS011.DevProClass3QuotaMoney4 = Convert.ToInt32(textBox47.Text) ; //卡类别3夜宵定额
f4.axPOS011.DevProClass4QuotaMoney1 = Convert.ToInt32(textBox48.Text) ; //卡类别4早餐定额
f4.axPOS011.DevProClass4QuotaMoney2 = Convert.ToInt32(textBox49.Text) ; //卡类别4午餐定额
f4.axPOS011.DevProClass4QuotaMoney3 = Convert.ToInt32(textBox50.Text) ; //卡类别4晚餐定额
f4.axPOS011.DevProClass4QuotaMoney4 = Convert.ToInt32(textBox51.Text) ; //卡类别4夜宵定额
f4.axPOS011.DevProClass5QuotaMoney1 = Convert.ToInt32(textBox52.Text); //卡类别5早餐定额
f4.axPOS011.DevProClass5QuotaMoney2 = Convert.ToInt32(textBox53.Text) ; //卡类别5午餐定额
f4.axPOS011.DevProClass5QuotaMoney3 = Convert.ToInt32(textBox54.Text); //卡类别5晚餐定额
f4.axPOS011.DevProClass5QuotaMoney4 = Convert.ToInt32(textBox55.Text) ; //卡类别5夜宵定额
f4.axPOS011.DevProClass6QuotaMoney1 = Convert.ToInt32(textBox56.Text) ; //卡类别6早餐定额
f4.axPOS011.DevProClass6QuotaMoney2 = Convert.ToInt32(textBox57.Text) ; //卡类别6午餐定额
f4.axPOS011.DevProClass6QuotaMoney3 = Convert.ToInt32(textBox58.Text) ; //卡类别6晚餐定额
f4.axPOS011.DevProClass6QuotaMoney4 = Convert.ToInt32(textBox59.Text) ; //卡类别6夜宵定额
f4.axPOS011.DevProClass7QuotaMoney1 = Convert.ToInt32(textBox60.Text) ; //卡类别7早餐定额
f4.axPOS011.DevProClass7QuotaMoney2 = Convert.ToInt32(textBox61.Text) ; //卡类别7午餐定额
f4.axPOS011.DevProClass7QuotaMoney3 = Convert.ToInt32(textBox62.Text) ; //卡类别7晚餐定额
f4.axPOS011.DevProClass7QuotaMoney4 = Convert.ToInt32(textBox63.Text) ; //卡类别7夜宵定额
f4.axPOS011.DevProShortcutkey0 = Convert.ToInt32(textBox68.Text); //快捷键0数值
f4.axPOS011.DevProShortcutkey1 = Convert.ToInt32(textBox69.Text ); //快捷键1数值
f4.axPOS011.DevProShortcutkey2 = Convert.ToInt32(textBox70.Text ); //快捷键2数值
f4.axPOS011.DevProShortcutkey3 = Convert.ToInt32(textBox71.Text) ; //快捷键3数值
f4.axPOS011.DevProShortcutkey4 = Convert.ToInt32(textBox72.Text) ; //快捷键4数值
f4.axPOS011.DevProShortcutkey5 = Convert.ToInt32(textBox73.Text); //快捷键5数值
f4.axPOS011.DevProShortcutkey6 = Convert.ToInt32(textBox74.Text) ; //快捷键6数值
f4.axPOS011.DevProShortcutkey7 = Convert.ToInt32(textBox75.Text) ; //快捷键7数值
f4.axPOS011.DevProShortcutkey8 = Convert.ToInt32(textBox76.Text); //快捷键8数值
f4.axPOS011.DevProShortcutkey9 = Convert.ToInt32(textBox77.Text) ; //快捷键9数值
f4.axPOS011.DevDriverStr = driveListBox2.Drive ;
f4.axPOS011.DevProWriteToDisk();
if (f4.axPOS011.OperatingResults == 0)
{
MessageBox.Show( "写设备属性到U盘成功!");
}
else
{
MessageBox.Show( "写设备属性到U盘失败!");
}
}
}
}