File name
Commit message
Commit date
File name
Commit message
Commit date
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
2022-03-31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
·using ClientLib;
using ClientLib.CommonService;
using DevExpress.XtraEditors;
using PublicLib;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace HANMI_SALE
{
    partial class AlarmMessageForm : XtraForm
    {
        public AlarmMessageForm()
        {
            InitializeComponent();
            simpleButton_OK.Click += (sender, e) =>
            {
                saveProc();
            };
            simpleButton_Cancel.Click += (sender, e) =>
            {
                this.DialogResult = DialogResult.Cancel;
                this.Close();
            };
            this.Shown += (sender, e) =>
            {
                try
                {
                    SerializedSqlParam[] aParam = new SerializedSqlParam[] {
                    ClientClass.CreateSqlParameter("COMP_CD", SqlDbType.NVarChar, ConstClass._COMP_CD)
                };
                    ResultData result = ClientClass.GetData("GetAlarmRouting", aParam);
                    if (result.isError)
                    {
                        throw new Exception(result.ResultValue);
                    }
                    UtilClass.SetLookup(lookUpEdit_ROUT_CD, result.TableData, "ROUT_CD", "ROUT_NM", true, false);
                }
                catch (Exception ex)
                {
                    XtraMessageBox.Show(ex.Message);
                }
            };
        }
        private void saveProc()
        {
            try
            {
                this.Cursor = Cursors.WaitCursor;
                SerializedSqlParam[] aParam = new SerializedSqlParam[] {
                    ClientClass.CreateSqlParameter("COMP_CD", SqlDbType.NVarChar, ConstClass._COMP_CD), 
                    ClientClass.CreateSqlParameter("ROUT_CD", SqlDbType.NVarChar, lookUpEdit_ROUT_CD.EditValue), 
                    ClientClass.CreateSqlParameter("ALARM_MSG", SqlDbType.NVarChar, memoEdit_ALARM_MSG.Text), 
                    ClientClass.CreateSqlParameter("DISPLAY_YN", SqlDbType.NVarChar, checkEdit_DISPLAY_YN.Checked ? "Y" : "N"),
                    ClientClass.CreateSqlParameter("REG_ID", SqlDbType.NVarChar, ConstClass._USR_ID), 
                    ClientClass.CreateSqlParameter("RESULT_STR", SqlDbType.NVarChar, "", ParameterDirection.Output, 1000)
                };
                ResultData result = ClientClass.SetData("SaveAlarmMessage", aParam);
                if (result.isError)
                {
                    throw new Exception(result.ResultValue);
                }
                XtraMessageBox.Show(" .");
                this.DialogResult = DialogResult.Yes;
                this.Close();
                this.Cursor = Cursors.Arrow;
            }
            catch (Exception ex)
            {
                this.Cursor = Cursors.Arrow;
                XtraMessageBox.Show(ex.Message);
            }
        }
    }
}
X