| 1234567891011121314151617181920212223242526 |
- using System;
- using DevExpress.XtraEditors;
- using UAS_DeviceMonitor.Entity;
- namespace UAS_DeviceMonitor.Device.Command
- {
- public partial class FormNewCommand : XtraForm
- {
- public FormNewCommand()
- {
- InitializeComponent();
- }
- private void FormNewCommand_Load(object sender, EventArgs e)
- {
- }
- private void AddCommand_Click(object sender, EventArgs e)
- {
- SystemInf.dh.ExecuteSql("insert into devicecommand(dc_id,dc_name,dc_code,dc_command) values (devicecommand_seq.nextval,'','','')", "insert");
- XtraMessageBox.Show("指令保存成功");
- Close();
- }
- }
- }
|