diff --git a/Project/Properties/AssemblyInfo.cs b/Project/Properties/AssemblyInfo.cs
index f9ed788..39a9fbd 100644
--- a/Project/Properties/AssemblyInfo.cs
+++ b/Project/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
// 지정되도록 할 수 있습니다.
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("23.06.11.2350")]
-[assembly: AssemblyFileVersion("23.06.11.2350")]
+[assembly: AssemblyVersion("23.06.22.0930")]
+[assembly: AssemblyFileVersion("23.06.22.0930")]
diff --git a/SubProject/FCOMMON/DataBaseManager.cs b/SubProject/FCOMMON/DataBaseManager.cs
index 29c466a..25c8153 100644
--- a/SubProject/FCOMMON/DataBaseManager.cs
+++ b/SubProject/FCOMMON/DataBaseManager.cs
@@ -763,7 +763,7 @@ namespace FCOMMON
where = string.Format(where, GroupCode);
return getTwoColumnList("Common", "code", "memo", where, "code");
}
- public static string getCodeSavlue(string GroupCode, string code)
+ public static string getCodeSvalue(string GroupCode, string code)
{
var cn = getCn();
cn.Open();
@@ -779,6 +779,22 @@ namespace FCOMMON
cn.Dispose();
return data.ToString();
}
+ public static float getCodeFvalue(string GroupCode, string code)
+ {
+ var cn = getCn();
+ cn.Open();
+ var sql = "select isnull(FValue,0)" +
+ " from Common" +
+ " where gcode='" + FCOMMON.info.Login.gcode + "' and Grp = '{0}' and code = '{1}'";
+
+ sql = string.Format(sql, GroupCode, code);
+ var cmd = new SqlCommand(sql, cn);
+ var data = cmd.ExecuteScalar();
+ cmd.Dispose();
+ cn.Close();
+ cn.Dispose();
+ return float.Parse(data.ToString());
+ }
public struct sCodeData
{
diff --git a/SubProject/FCOMMON/Util_Form.cs b/SubProject/FCOMMON/Util_Form.cs
index f5f731a..cb5427e 100644
--- a/SubProject/FCOMMON/Util_Form.cs
+++ b/SubProject/FCOMMON/Util_Form.cs
@@ -27,7 +27,7 @@ namespace FCOMMON
///
public static void OpenSharedPath(List subdir, params string[] pathlist)
{
- var serverpath = FCOMMON.DBM.getCodeSavlue("55", "01");
+ var serverpath = FCOMMON.DBM.getCodeSvalue("55", "01");
//var serverpath = FCOMMON.info.datapath;
if (System.IO.Directory.Exists(serverpath) == false)
{
diff --git a/SubProject/FEQ0000/Purchase/fPurchase_Add.cs b/SubProject/FEQ0000/Purchase/fPurchase_Add.cs
index 60ac6a4..4cdef39 100644
--- a/SubProject/FEQ0000/Purchase/fPurchase_Add.cs
+++ b/SubProject/FEQ0000/Purchase/fPurchase_Add.cs
@@ -970,7 +970,7 @@ namespace FEQ0000
private void button7_Click(object sender, EventArgs e)
{
- var datapath = FCOMMON.DBM.getCodeSavlue("55", "02");
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "02");
if (datapath.isEmpty())
{
FCOMMON.Util.MsgE("견적서 기본폴더 공용코드 55-02 값을 입력하세요");
diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.cs
index 05e3077..2dc35e8 100644
--- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.cs
+++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.cs
@@ -869,7 +869,7 @@ namespace FEQ0000
private void button7_Click(object sender, EventArgs e)
{
- var datapath = FCOMMON.DBM.getCodeSavlue("55", "02");
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "02");
if (datapath.isEmpty())
{
FCOMMON.Util.MsgE("견적서 기본폴더 공용코드 55-02 값을 입력하세요");
diff --git a/SubProject/FPJ0000/JobReport_/fJobChartMenu.Designer.cs b/SubProject/FPJ0000/JobReport_/fJobChartMenu.Designer.cs
index a700d7b..772c79f 100644
--- a/SubProject/FPJ0000/JobReport_/fJobChartMenu.Designer.cs
+++ b/SubProject/FPJ0000/JobReport_/fJobChartMenu.Designer.cs
@@ -29,6 +29,8 @@
private void InitializeComponent()
{
this.panel1 = new System.Windows.Forms.Panel();
+ this.linkLabel2 = new System.Windows.Forms.LinkLabel();
+ this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.btSave = new System.Windows.Forms.Button();
this.cmbUser = new System.Windows.Forms.ComboBox();
this.label4 = new System.Windows.Forms.Label();
@@ -41,8 +43,7 @@
this.btRefresh = new System.Windows.Forms.Button();
this.fpSpread1 = new FarPoint.Win.Spread.FpSpread();
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
- this.linkLabel1 = new System.Windows.Forms.LinkLabel();
- this.linkLabel2 = new System.Windows.Forms.LinkLabel();
+ this.progressBar1 = new System.Windows.Forms.ProgressBar();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fpSpread1_Sheet1)).BeginInit();
@@ -70,6 +71,28 @@
this.panel1.Size = new System.Drawing.Size(1102, 58);
this.panel1.TabIndex = 1;
//
+ // linkLabel2
+ //
+ this.linkLabel2.AutoSize = true;
+ this.linkLabel2.Location = new System.Drawing.Point(475, 12);
+ this.linkLabel2.Name = "linkLabel2";
+ this.linkLabel2.Size = new System.Drawing.Size(41, 12);
+ this.linkLabel2.TabIndex = 15;
+ this.linkLabel2.TabStop = true;
+ this.linkLabel2.Text = "이전달";
+ this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
+ //
+ // linkLabel1
+ //
+ this.linkLabel1.AutoSize = true;
+ this.linkLabel1.Location = new System.Drawing.Point(522, 12);
+ this.linkLabel1.Name = "linkLabel1";
+ this.linkLabel1.Size = new System.Drawing.Size(41, 12);
+ this.linkLabel1.TabIndex = 14;
+ this.linkLabel1.TabStop = true;
+ this.linkLabel1.Text = "다음달";
+ this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
+ //
// btSave
//
this.btSave.Dock = System.Windows.Forms.DockStyle.Right;
@@ -169,7 +192,7 @@
this.fpSpread1.Name = "fpSpread1";
this.fpSpread1.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpSpread1_Sheet1});
- this.fpSpread1.Size = new System.Drawing.Size(1102, 592);
+ this.fpSpread1.Size = new System.Drawing.Size(1102, 566);
this.fpSpread1.TabIndex = 4;
//
// fpSpread1_Sheet1
@@ -177,27 +200,13 @@
this.fpSpread1_Sheet1.Reset();
this.fpSpread1_Sheet1.SheetName = "Sheet1";
//
- // linkLabel1
+ // progressBar1
//
- this.linkLabel1.AutoSize = true;
- this.linkLabel1.Location = new System.Drawing.Point(522, 12);
- this.linkLabel1.Name = "linkLabel1";
- this.linkLabel1.Size = new System.Drawing.Size(41, 12);
- this.linkLabel1.TabIndex = 14;
- this.linkLabel1.TabStop = true;
- this.linkLabel1.Text = "다음달";
- this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
- //
- // linkLabel2
- //
- this.linkLabel2.AutoSize = true;
- this.linkLabel2.Location = new System.Drawing.Point(475, 12);
- this.linkLabel2.Name = "linkLabel2";
- this.linkLabel2.Size = new System.Drawing.Size(41, 12);
- this.linkLabel2.TabIndex = 15;
- this.linkLabel2.TabStop = true;
- this.linkLabel2.Text = "이전달";
- this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked);
+ this.progressBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.progressBar1.Location = new System.Drawing.Point(0, 624);
+ this.progressBar1.Name = "progressBar1";
+ this.progressBar1.Size = new System.Drawing.Size(1102, 26);
+ this.progressBar1.TabIndex = 5;
//
// fJobChartMenu
//
@@ -205,6 +214,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1102, 650);
this.Controls.Add(this.fpSpread1);
+ this.Controls.Add(this.progressBar1);
this.Controls.Add(this.panel1);
this.Name = "fJobChartMenu";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
@@ -236,5 +246,6 @@
private System.Windows.Forms.Button btSave;
private System.Windows.Forms.LinkLabel linkLabel2;
private System.Windows.Forms.LinkLabel linkLabel1;
+ private System.Windows.Forms.ProgressBar progressBar1;
}
}
\ No newline at end of file
diff --git a/SubProject/FPJ0000/JobReport_/fJobChartMenu.cs b/SubProject/FPJ0000/JobReport_/fJobChartMenu.cs
index 6c7d773..e57aeb6 100644
--- a/SubProject/FPJ0000/JobReport_/fJobChartMenu.cs
+++ b/SubProject/FPJ0000/JobReport_/fJobChartMenu.cs
@@ -109,6 +109,11 @@ namespace FPJ0000.JobReport_
{
var db = new EEEntities();
+ progressBar1.Value = 0;
+ progressBar1.Maximum = 10;
+
+
+ fpSpread1.Visible = false;
//조회공정
this.fpSpread1.Sheets[0].Cells[3, 2].Value = tbProcess.Text;
@@ -141,24 +146,25 @@ namespace FPJ0000.JobReport_
//사용자목록을 가져온다
List baseData;
+ var userCount = 0;
if (cmbUser.SelectedIndex > 0)
{
//사용자번호
var UserNo = getUserID();// cmbUser.Text.Substring(1, cmbUser.Text.IndexOf(']') - 1);
- baseData = db.vJobReportForUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.id == UserNo).OrderBy(t => t.name).ToList();
+ userCount = db.vJobReportForUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.id == UserNo).GroupBy(t=>t.id).Count();
}
else if (tbProcess.SelectedIndex > 0)
{
- baseData = db.vJobReportForUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.userProcess == tbProcess.Text).OrderBy(t => t.name).ToList();
+ userCount = db.vJobReportForUser.Where(t => t.gcode == FCOMMON.info.Login.gcode && t.userProcess == tbProcess.Text).GroupBy(t => t.id).Count();
}
else
{
- baseData = db.vJobReportForUser.Where(t => t.gcode == FCOMMON.info.Login.gcode).OrderBy(t => t.name).ToList();
+ userCount = db.vJobReportForUser.Where(t => t.gcode == FCOMMON.info.Login.gcode).GroupBy(t => t.id).Count();
}
//사용자로 그룹해서 수량을 세명 , 사용자 숫자가 된다.
- this.fpSpread1.Sheets[0].Cells[3, 7].Value = baseData.GroupBy(t => t.id).Count(); //인원수
+ this.fpSpread1.Sheets[0].Cells[3, 7].Value = userCount;// baseData.GroupBy(t => t.id).Count(); //인원수
var col = 0;
var row = 0;
@@ -260,8 +266,11 @@ namespace FPJ0000.JobReport_
var orProcess = baseData.OrderBy(t => t.requestpart).GroupBy(t => t.requestpart);
this.fpSpread1.Sheets[0].RowCount = 7 + orProcess.Count() + 1;
+ progressBar1.Value = 0;
+ progressBar1.Maximum = orProcess.Count();
foreach (var item in orProcess)
{
+ progressBar1.Value += 1;
var RequestPart = item.FirstOrDefault().requestpart;
this.fpSpread1.Sheets[0].Cells[row, 1].Value = RequestPart;
@@ -449,6 +458,9 @@ namespace FPJ0000.JobReport_
this.fpSpread1.Sheets[0].RowCount = row + 1;
+ fpSpread1.Visible = true;
+
+ //FCOMMON.Util.MsgI("조회 완료");
}
diff --git a/SubProject/FPJ0000/JobReport_/fJobChartMenu.resx b/SubProject/FPJ0000/JobReport_/fJobChartMenu.resx
index 5e99c82..0e0a4da 100644
--- a/SubProject/FPJ0000/JobReport_/fJobChartMenu.resx
+++ b/SubProject/FPJ0000/JobReport_/fJobChartMenu.resx
@@ -120,7 +120,4 @@
17, 17
-
- 17, 17
-
\ No newline at end of file
diff --git a/SubProject/FPJ0000/JobReport_/fJobReport.Designer.cs b/SubProject/FPJ0000/JobReport_/fJobReport.Designer.cs
index 13345eb..089db06 100644
--- a/SubProject/FPJ0000/JobReport_/fJobReport.Designer.cs
+++ b/SubProject/FPJ0000/JobReport_/fJobReport.Designer.cs
@@ -721,7 +721,7 @@
dateTimeCellType1.CalendarSurroundingDaysColor = System.Drawing.SystemColors.GrayText;
dateTimeCellType1.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.TimeOnly;
dateTimeCellType1.MaximumTime = System.TimeSpan.Parse("23:59:59.9999999");
- dateTimeCellType1.TimeDefault = new System.DateTime(2023, 3, 17, 22, 53, 4, 0);
+ dateTimeCellType1.TimeDefault = new System.DateTime(2023, 6, 21, 22, 53, 4, 0);
this.fpSpread1_Sheet1.Columns.Get(14).CellType = dateTimeCellType1;
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "otStart";
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
@@ -732,7 +732,7 @@
dateTimeCellType2.CalendarSurroundingDaysColor = System.Drawing.SystemColors.GrayText;
dateTimeCellType2.DateTimeFormat = FarPoint.Win.Spread.CellType.DateTimeFormat.TimeOnly;
dateTimeCellType2.MaximumTime = System.TimeSpan.Parse("23:59:59.9999999");
- dateTimeCellType2.TimeDefault = new System.DateTime(2023, 3, 17, 22, 53, 4, 0);
+ dateTimeCellType2.TimeDefault = new System.DateTime(2023, 6, 21, 22, 53, 4, 0);
this.fpSpread1_Sheet1.Columns.Get(15).CellType = dateTimeCellType2;
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "otEnd";
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
@@ -928,7 +928,7 @@
// 태그자료만조회ToolStripMenuItem
//
this.태그자료만조회ToolStripMenuItem.Name = "태그자료만조회ToolStripMenuItem";
- this.태그자료만조회ToolStripMenuItem.Size = new System.Drawing.Size(162, 22);
+ this.태그자료만조회ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.태그자료만조회ToolStripMenuItem.Text = "태그자료만 조회";
this.태그자료만조회ToolStripMenuItem.Click += new System.EventHandler(this.태그자료만조회ToolStripMenuItem_Click);
//
diff --git a/SubProject/FPJ0000/JobReport_/fJobReport.cs b/SubProject/FPJ0000/JobReport_/fJobReport.cs
index 885f540..f36a018 100644
--- a/SubProject/FPJ0000/JobReport_/fJobReport.cs
+++ b/SubProject/FPJ0000/JobReport_/fJobReport.cs
@@ -262,9 +262,13 @@ namespace FPJ0000
//사용자 목록다중선택으로 인해 처리
- var sql = "SELECT *, dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, dbo.getCodeSValue(gcode, '15',type) AS svalue";
+ var sql = "SELECT gcode, idx, pidx, pdate, uid, requestpart, package, status, type, description," +
+ "remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot," +
+ "dbo.getWorkWeek(pdate) AS ww, process, tag," +
+ "dbo.getCodeSValue(gcode, '15', type) AS svalue," +
+ "otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otwuid, ottime";
sql += " FROM JobReport";
- sql += " WHERE(pdate BETWEEN @sd AND @ed) AND(gcode = @gcode)";
+ sql += " WHERE (gcode = @gcode) and (pdate BETWEEN @sd AND @ed)";
if (request != "%")
{
//사용자가 지정되어있다
@@ -294,6 +298,7 @@ namespace FPJ0000
var da = new System.Data.SqlClient.SqlDataAdapter(cmd);
dsMSSQL.JobReport.Clear();
+ dsMSSQL.JobReport.AcceptChanges();
da.Fill(this.dsMSSQL.JobReport);
dsMSSQL.JobReport.AcceptChanges();
diff --git a/SubProject/FPJ0000/JobReport_/fJobReport.resx b/SubProject/FPJ0000/JobReport_/fJobReport.resx
index 44b0f86..87b499f 100644
--- a/SubProject/FPJ0000/JobReport_/fJobReport.resx
+++ b/SubProject/FPJ0000/JobReport_/fJobReport.resx
@@ -243,20 +243,20 @@
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALxSURBVDhPhZLrS1NhHMf3qv6EsF70UohSapFRL0pTmxrY
- zVTMvM0pmprowiBbTCPzEpqoUCFK0YsK7aJTm5rbnG44S3OZlznvgpel7nKO7pz57TlnSw2EfvDhefGc
- 74fz+54j4Cbovir+UolOGV6q+x0s01HkpHnKuFNPh5f00qFPtMazUk3FkYi3+/jQ7gl51K1ZstIrxhET
- a7FvwGLbYcXKQePXghX5n2YQXTriEGUo9nui7gkr0i4Nj5nZ3ikn9NMM9DMMdFMMtJObUI1voHXYjg0G
- aBqhkP9hGknPjNQ/kmBZK7Xu2ET/LItvsww5GfTxkk2oTRv4MuwgAhf6F1jo550oVMwg4F7nGz4cVeZv
- viGL2JJUX0NS1XVUtdWjoKEMATIf+BNEhWcQJD+F8qZyfhUbzWBx1YGgRDXDCyJLAt53DjWjeewlqnS5
- vCSuMhS5r2ORWR8Ncc1lJNYkomlwEc1GGz7/WMca6SlY3k3zAlGFaL+fLIvVjXbh1ZAcxaoMXhJfHUbC
- V5D6PAUak51fpWOMgpL0sGp3Irigxy3gJqRITWfXJsBg0qJGfxeP23MQVXYB8ZURMEw5YCDFcgVrJtyd
- WIggSL5LcO6BzOmXdxixFSL0T/SisCsNckU2op8Gol71EQNzDAyk2N5JJ3oIS1YnAh56BCekXhKh9BAy
- 62JwszoEMeUXeUm2IhbShhTyJoHg7vtnWPRxn5hgJUX6ZmndAqH0wJxQepA85AVhrheuFgci/UUCNMNK
- FCrzkPYuAeLqSBiIQE/+DR0R0E4XEah2Vjif1U0vrNEYnGN51KPzuFObimQSlNREI6fu9vYdh2OTJYLG
- HQFnm7XsCP6HnVshZZfgdPZXh+b76NZeD++FaXLadSyuyeaJkyJT283T6w6rZmDcZV6mYF6iYPKwbHPy
- cM3baBYjpikXRVFr3rdafnriAsHJ1LZ0X3Fr+3GJ0uIraaS3SXbj8xdxI+0tblk9mtjS4ZOgSBIIBII/
- aFuft/aGoE8AAAAASUVORK5CYII=
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAALxSURBVDhPhZLrS1NhHMf3qv6EsF70UohSamFRL0pTmxrY
+ zVTMdDqnaGqiC4NsMY3MS2iiQoUoRS8qtItObWpuc7rhtMz7bd4FL0vd5RzdOfPbc86WGgj94MPz4jnf
+ D+f3PUfATcBDdeyVQr0qtEj/O1Cup8hJ8xRzp4EOLeyig5/pBs7LtKXHwt4f4EN7J+hJh3bZQq8ODI+z
+ ZtsmzNZdVi0cNIYXLcj5MovIohG7KFV50B11TUi+bnlwdJLtmnbAMMPAMMtAP81AN7UF9fgmmoZs2GSA
+ +hEKOZ9mEP9igPpHEihvojbsW+iZY9E7x5CTQTcv2YJmYhPfhuxE4ETPIgvDggN5yln4PWh7x4cjin1N
+ t+Rh29KKG4gvv4ny5hrk1hbDT+4FX4Io7xwCFD4oqS/hV7HSDJbW7AgQaxheEF7o97GtvwENY69Rrs/i
+ JTFlwch6G420mkhIKq8irjIO9X1LaBiw4uuvDayTngIVHTQvEJWKDvrI01n9aDve9CtQoE7lJbEVISR8
+ DUkvE6GdsPGrtI5RUJEe1mwOBOZ2ugTcBOVr6IwqMYwTOlQa7uNpSyYiii8htiwMxmk7jKRYrmDtpKsT
+ MxEEKPYILjySO85kH0V0qQg9k13Ia0+GQpmByOf+qFF/xs95BkZSbNeUA52EZYsDfo/dglMyD6lQdgRp
+ 1VG4XRGEqJLLvCRDGQ1ZbSJ5E39w9z2zLLq5T0ywkCK903UugVB2aF4oO0we8oAwywPXC/yR8koM7ZAK
+ eapsJH8QQ1IRDiMRGMi/oScC2uEkAvXuChfTO+jFdRp98yyPZnQB96qSkECC0spIZFbf3bnjsG+xRFC3
+ K+Bsc+Zdwf+wcSsk7hGczfhu1/SObO/38H6Mm6adJ2Lqre44KTKpxTSzYbdofow5TSsUTMsUJtysWB08
+ XPNWmsXw+JSToqh1zzuNg+64QHA6qTnFW9LUclKqMntL6+gdElx4/UVSR3tKGteOxzW2eomV8QKBQPAH
+ StmfpCX1GtcAAAAASUVORK5CYII=
@@ -417,41 +417,41 @@
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANQSURBVFhH7djXT1NRHAdw/gjj3ogsZUNbhiIucEZjYmL8
- B3wRNcaIIBRRVgulZYOgMlQSZ6xQ6KSUSlk+oSagRoJRI0ZZMuXrueltQn2g51wSfOk3Oc/nk3vv9/xu
- joc77rgjIA+Pv77w4Jh1/P7RXtQfIetwD+oO9aA2oRs18d24d7ALdw904c5+svZ1onpvJ6ribLi9x4bK
- 2A5U7O5A+a5XKIshK9qK0igrSiKtKJa0o0jcjkKRBaoIssLboAxrQ0GoeTw/xJTIb+86y4yDIsSM3GDz
- GL+96yw3Lj/YjLygVvDbu87/wMkDWYBLwJVGt0MlMSJP1IICkQGFYgsVTh5gogcu5ckpI/XoffwRM5Nz
- 6Gr4AHmYjgon28kAFIrjnlxbxTssTFG8ngqXu8NIDxSCK4o049GlTsz/medpwM+hCcgiNFS4HH8GICuu
- JMqCylMmTI3N8DRgdnoO1WdboQhtpcJl+xnogWw4UopYPb6/H+Vp9ryQ9iIv1ECNy/JlANLiuKNEIdbh
- re4zz7LHVj9ADl4tEy7ThwVIiVOKjTCXO5disHeYfHfNzLhMbz09kAZXKCGluOhcipEvv6GM05LvzsSM
- u7WdAegKVxzJl2J8lqfZS1F1phVk6AvC3fTS0QMXw3HjSxFhwIDlK0+z51lKD+QhesG4jG0MwMVw3GzN
- Dzegv80Z+DS5G7JgvWDcDU8tPXAxHDf4VSIzyk4YnV/x1BwqThNQoFEQLn0rA3AxnGPwK8KMaEi0OZXk
- FymJPKYZsgADM066pYUe6ArnmK2yEB2MJW94nj2feoaRGdjIjEvbzAKkwDnOuaxADfpahniePdaafmT4
- NTHh0jY10wNpcVwh5EEm5Ig0+DYwwvPseZLUhQyfZmpc6kYGIC3O0Vbum1Ml6DA5uuBngZSm5CRBeWup
- cNc3MABZcI62ZvlrUXeu3ak0PwbHIPVVU+FS1mvogaw4RyEyfDXQqfp4nj3ZkiYqXPI6BqAQnKMQUp+X
- 6CB/M9MTs7DW9iPVU02Fu7a2iR4oFOcohNSrCSmezwmuEemeLVS4pDUswCXgaAvxLy5pdSM98H/grq5i
- ABLc+HLjLq9U0199cBc53F3JcuKurFCf57d3xx136OPh8Rc0ez3xKe5elAAAAABJRU5ErkJggg==
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANPSURBVFhH7dhZTxNRHAVwPoRx3yuyKWUvqyJu4BqNiYnx
+ C/giaowRQSiibC0Uyg6CyqKSuEaEQvdCK7tPqAmokWDUiFGgyCrHO+k0oT609w4JvvQk9/n+MjPn/ifX
+ wx133BGQh8dfX3hwzGy9f7QfDUfIOtyH+kN9qEvoRW18L+4d7MHdAz24s5+sfd2o2duN6rgu3N7TharY
+ TlTu7kTFrlcojyEr2oKyKAtKIy0oiTCjONyMIkkHlGFkhbajMKQdBcEma36QIZHf3nWWGQdFkAm5gaYJ
+ fnvXWW5cfqAJeQFG8Nu7zv/AycUswCXgyqLNUEbokSdpQ4FEh6LwDiqc3N9AD1zKkyuM1KL/8UfMTs2j
+ p/ED5CEaKpxsJwNQKI57cu2V77A4xfFaKlzuDj09UAiuONKER5e6sfBngacBP0cmIQtTUeFy/BiArLjS
+ qA5UnTJgemKWpwFzM/OoOWuEIthIhcv21dED2XCkFLFafH8/ztNseSHtR16wjhqX5cMApMVxR4kiXIO3
+ ms88y5auhiFy8KqZcJneLEBKXGG4HqYKx1IM94+S766VGZfppaUH0uCKIkgpLjqWYuzLbxTGqcl3Z2DG
+ 3drOAHSFK4nkS2Gd42m2UlSfMYIMfUG4m54aeqAzHDe+FGE6DHV85Wm2PEvpgzxIKxiXsY0B6AzHzdb8
+ UB0G2x2BT5N7IQvUCsbdEKnpgc5w3OBXSkwoP6F3fMXT86g8TUBivSBc+lYGoDOcffArQvRoTOxyKMkv
+ UhJ5TCtk/jpmnHRLGz3QFc4+W2VBGuhL3/A8Wz71jSJT3MyMS9vMAqTA2c+5LLEKA20jPM8WS+0gMnxb
+ mHBpm1rpgbQ4rhDyAANyJCp8GxrjebY8SepBhncrNS51IwOQFmdvK/fNKRM0mBpf9LNASlN6kqC81FS4
+ 6xsYgCw4e1uz/NSoP2d2KM2P4QlIfZqocCnrVfRAVpy9EBk+KmiUAzzPluyIFipc8joGoBCcvRBS75fo
+ JH8zM5NzsNQNIlXURIW7traFHigUZy+E1LMFKaLnBNeMdFEbFS5pDQtwCTjaQvyLS1rdTA/8H7irqxiA
+ BGddbtzllU30Vx/cRQ53V7KcuCsrms7z27vjjjv08fD4CwlIPe+HvHrCAAAAAElFTkSuQmCC
iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
- YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANSSURBVFhH7djZTxNRGAVw/gjjvq8UWVrAolAQ3AW3xGji
- g+++uCVGBUW2UqCApYCgiAuColExUcRuQ6etQCnbkwQSBBJFEjGSSIksynGGmUaJSXvvmOBLT3Kf7y9z
- 58x3MwH++OOPhDw+3HWu9lCL+9HBTjw8wK2kDtQkdqB6fzse7GtH1d423N/Thnu7ubXLhbs7XbizoxWV
- Ca24He9ExXYnbsW14GYst1TNKI9pRll0M25sa0Lp1iaURL1FsZJbWxzQRzpQFGF3Xw9nz4rb+84846AL
- t0OrsI+J2/vOfOOuK+wolNsgbu87/wNXEEYDJMTdTnCiLM4GvcqMUhWL8thmybiCUJYcSPrkSmNZdD4b
- wNT3H+iqG0RxDCMZlx9CASQ+1iMs/oyjogf6rVZJOG2wlRxI+s6VxDMYHRoXecDMzxk8Pe+CPspGjcvb
- TAEkLUSZqglVJx2zR+zJpHsaFcdY6JV2KlxuUCM5kATnaWtJtA0vUztFnpAvg2PQxZlQFGknxuXIKICk
- OE8hdMpGuGrfizwhvewwtOFGYpwmkAZIgfMUoiDKiAHXiMgTYi3rRp7cQoTTbGLIgbQ4vhB6JfeuxZsw
- +vGP0swAT845kRtq8YnL3kgBpMV52qqLsKHyBIvpid+lmRibQkmSBdqQRq849QYLOVAKztPWfAWDFynt
- Ik9Ir20Y6iCDV1zWegqgVBxfCK2cQV3yXGCP9RMHNHrFZa4zkwOl4grkLG4dt/51xPr9ZuQEMV5xGWsp
- gFJwhQob8lUGfP3gFmlCSWpPt0AtM/rEpa8xkQNpcfx3TiNvQL/rs0gTwhS/Q5bMQIRLW00DpMTlhJrQ
- UtMnsoR0M0PIDHpNjEtbZSQH0uDywix4fqlNZAkZ6f8GTWQDNDKGGHdtJQWQFJcfZkX5Ueucy8IEd1ko
- TjRT41JXUABJcPz4ylG8mVsK7rpVfaoJ6kATNe7qcgM5kATHz1ZdgkmkCeFLkRlokIS7sowCSILjZ2v2
- ZgNaH/Vhcnwazod9yJC9loxLWfqGHEiC4wd/XnDj7IRID3z1T0+OxyUvoQES4HwNflpc8uIGcuD/wF1e
- RAHkcO75xl1YWE/+64P/kcP/K5lP3MUF9WfE7f3xxx/yBAT8AtInPpbTa5zAAAAAAElFTkSuQmCC
+ YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANSSURBVFhH7djZTxNRGAVw/gjjvq9tVWgBAbUguO+aGE18
+ 8N0XFROj4oYitHbB0haL4i4qGhUTRew27bS1pRSEJ4kkKCZuiRhJpEQE5TjDTKPEpL13TPClJ7nP95e5
+ c+a7mZRkkklGQu5saSus3RyK3t7UilsbubXhOW6uf46adS24sbYF19c049rqZlxdxa2VEVxZEcHl5U24
+ VNCEi/lhVC8L40JeI87ncksdQtXSEGxLQji3OIjKnCCs2c9gyeLWogDMmQFUZPijZ9PZfeL2iTPKOJjS
+ /dCr/L3i9okz2rizKj/KlT6I2yfO/8AZ02iAhLiLBWHY8nwwq12oVLOoyg1JxhlTWXIg6ZOrzGXRer8L
+ A99+oK3uDSxLGck4w0IKIPGxbmXxZwLVL2HO8UrC6Rd4yYGk75w1n0HP+z6RBwz9HMK9/RGYs33UON18
+ CiBpIWzqIK7vCgwfcSzfo4Oo3s7CnOWnwp1ReMiBJLhYW61LfHh0vFXkCfn8phemPCcqMv3EOK2cAkiK
+ ixXClOVBpPaVyBPSwX6EPt1BjNPIaIAUuFghjNkOdEW6RZ4Qr60dOqWbCKeZx5ADaXF8IcxZ3LuW70TP
+ uz9KMwTcLQzjTKo7Ia5sLgWQFhdrqynDh0s7WQz2/y5Nf+8ArBvc0C/0xMWVznGTA6XgYm01qBg8PNIi
+ 8oR0+D6iVGGPizs9mwIoFccXQq9kUFc0EvjS+4EDOuLiSma5yIFScUYliws7vH8dsXmdC1oFExd3aiYF
+ UAquXOWDQW3Hl7dRkSaUpHZPI0rljoS4kzOc5EBaHP+d0ygb8DrySaQJYSwvcFpuJ8IVT6cBUuK0qU40
+ 3uwUWULamfcoUTwhxhVPc5ADaXC6NDceHGoWWUK6X3+FJrMBGjlDjDsxlQJIijOkeVG1zTvistDPXRYs
+ 613UuONTKIAkOH58aVVPR5aCu27V7A6iVOakxh2bbCcHkuD42WoqcIo0IXwpSmR2SbijkyiAJDh+tpbN
+ t6Ppdie+9w0ifKsTp+RPJOOOTHxKDiTB8YNft8AzPCFOyh7/05PjcUUTaIAEuESDnxZXNL6BHPg/cIfH
+ UQA5XHS0cQfG1pP/+uB/5PD/SkYTd3BM/V5x+2SSSYY8KSm/AKb0PpQCSEV4AAAAAElFTkSuQmCC
diff --git a/SubProject/FPJ0000/JobReport_/fJobReport_Add.Designer.cs b/SubProject/FPJ0000/JobReport_/fJobReport_Add.Designer.cs
index 30d73c1..8c322a4 100644
--- a/SubProject/FPJ0000/JobReport_/fJobReport_Add.Designer.cs
+++ b/SubProject/FPJ0000/JobReport_/fJobReport_Add.Designer.cs
@@ -548,6 +548,7 @@
this.textBox1.Font = new System.Drawing.Font("굴림", 9F);
this.textBox1.Location = new System.Drawing.Point(77, 55);
this.textBox1.Name = "textBox1";
+ this.textBox1.ReadOnly = true;
this.textBox1.Size = new System.Drawing.Size(108, 21);
this.textBox1.TabIndex = 22;
this.textBox1.Text = "0.000";
diff --git a/SubProject/FPJ0000/JobReport_/fJobReport_Add.cs b/SubProject/FPJ0000/JobReport_/fJobReport_Add.cs
index b396b9a..858dd72 100644
--- a/SubProject/FPJ0000/JobReport_/fJobReport_Add.cs
+++ b/SubProject/FPJ0000/JobReport_/fJobReport_Add.cs
@@ -298,7 +298,7 @@ namespace FPJ0000.JobReport_
{
//신규자료가 아니라면 7일간만 편집을 허용한다
var enableBlock = FCOMMON.Util.getBit(FCOMMON.info.Login.gpermission, (int)FCOMMON.eGroupPermission.jobreport_editblock);
- if(enableBlock)
+ if (enableBlock)
{
var writedate = DateTime.Now - DateTime.Parse(dr.pdate);
if (writedate.TotalDays > 7)
@@ -601,16 +601,23 @@ namespace FPJ0000.JobReport_
this.dr.process = cmbProcess.Text;
this.dr.tag = tbTag.Text.Trim();
- if (getKisulInput)
- {
- this.dr.kisuldiv = cmb_kisuldiv.Text;
- this.dr.kisullv = cmb_kisullv.Text;
- this.dr.kisulamt = Decimal.Parse(textBox1.Text);
- }
if (tbHrs.Text != "") this.dr.hrs = double.Parse(tbHrs.Text);
else this.dr.hrs = 0;
+
+ if (getKisulInput)
+ {
+ //기술금액을 계산해야함
+ var price = FCOMMON.DBM.getCodeFvalue("51", cmb_kisullv.Text);
+ var amt = (dr.hrs + dr.ot) * price;
+
+ this.dr.kisuldiv = cmb_kisuldiv.Text;
+ this.dr.kisullv = cmb_kisullv.Text;
+ this.dr.kisulamt =(Decimal)amt; // Decimal.Parse(textBox1.Text);
+ textBox1.Text = amt.ToString();
+ }
+
//this.dr.description = richTextBox1.Text.Trim();
//MessageBox.Show(richTextBox1.Text);
@@ -762,7 +769,7 @@ namespace FPJ0000.JobReport_
this.richTextBoxEx1.rtb.ForeColor = Color.Black;
this.richTextBoxEx1.rtb.AppendText(oldtext);
}
- //this.richTextBoxEx1.Text += oldtext;
+ //this.richTextBoxEx1.Text += oldtext;
//this.richTextBoxEx1.Text += oldtext;
diff --git a/SubProject/FPJ0000/Note/fNote.cs b/SubProject/FPJ0000/Note/fNote.cs
index 89a0584..45c85ef 100644
--- a/SubProject/FPJ0000/Note/fNote.cs
+++ b/SubProject/FPJ0000/Note/fNote.cs
@@ -435,7 +435,7 @@ namespace FPJ0000.Note
// serverpath);
// return;
//}
- var datapath = FCOMMON.DBM.getCodeSavlue("55", "01");
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "01");
var path = System.IO.Path.Combine(datapath,"Data","Note", dr.guid);
if (System.IO.Directory.Exists(path) == false)
{
diff --git a/SubProject/FPJ0000/Note/fNote_Add.cs b/SubProject/FPJ0000/Note/fNote_Add.cs
index 950f45b..0ee5ce2 100644
--- a/SubProject/FPJ0000/Note/fNote_Add.cs
+++ b/SubProject/FPJ0000/Note/fNote_Add.cs
@@ -210,7 +210,7 @@ namespace FPJ0000.Note
private void button1_Click_1(object sender, EventArgs e)
{
- var serverpath = FCOMMON.DBM.getCodeSavlue("55", "01");
+ var serverpath = FCOMMON.DBM.getCodeSvalue("55", "01");
// var serverpath = FCOMMON.info.datapath; // @"\\10.131.32.29\Data\Project";
if (System.IO.Directory.Exists(serverpath) == false)
{
diff --git a/SubProject/FPJ0000/Project/fPartList.cs b/SubProject/FPJ0000/Project/fPartList.cs
index 8dd2480..b63d5ba 100644
--- a/SubProject/FPJ0000/Project/fPartList.cs
+++ b/SubProject/FPJ0000/Project/fPartList.cs
@@ -767,7 +767,7 @@ namespace FPJ0000
else tbPath = "\\" + tbPath;
}
//\\10.131.32.29\Data
- var datapath = FCOMMON.DBM.getCodeSavlue("55", "01");
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "01");
var serverpath = System.IO.Path.Combine(datapath, "Data", "Project");
if (System.IO.Directory.Exists(serverpath) == false)
{
diff --git a/SubProject/FPJ0000/Project/fProjectData.cs b/SubProject/FPJ0000/Project/fProjectData.cs
index fdf07bb..96dca26 100644
--- a/SubProject/FPJ0000/Project/fProjectData.cs
+++ b/SubProject/FPJ0000/Project/fProjectData.cs
@@ -400,7 +400,7 @@ namespace FPJ0000
else tbPath = "\\" + tbPath;
}
//\\10.131.32.29\Data
- var datapath = FCOMMON.DBM.getCodeSavlue("55", "01");
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "01");
var serverpath = System.IO.Path.Combine(datapath, "Data", "Project");
if (System.IO.Directory.Exists(serverpath) == false)
{
@@ -520,7 +520,7 @@ namespace FPJ0000
if (tbPath.Text.StartsWith("/")) tbPath.Text = tbPath.Text.Replace("/", "\\");
else tbPath.Text = "\\" + tbPath.Text;
}
- var datapath = FCOMMON.DBM.getCodeSavlue("55", "01");
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "01");
var serverpath = System.IO.Path.Combine("Data", "Project");
if (System.IO.Directory.Exists(serverpath) == false)
{
diff --git a/SubProject/FPJ0000/Project/fProjectLayout.cs b/SubProject/FPJ0000/Project/fProjectLayout.cs
index f4c1e03..79a3bcb 100644
--- a/SubProject/FPJ0000/Project/fProjectLayout.cs
+++ b/SubProject/FPJ0000/Project/fProjectLayout.cs
@@ -527,7 +527,7 @@ namespace FPJ0000
else tbPath = "\\" + tbPath;
}
//\\10.131.32.29\Data
- var datapath = FCOMMON.DBM.getCodeSavlue("55", "01");
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "01");
var serverpath = System.IO.Path.Combine(datapath, "Data", "Project");
if (System.IO.Directory.Exists(serverpath) == false)
{
diff --git a/SubProject/FPJ0000/Project/fProjectList.Designer.cs b/SubProject/FPJ0000/Project/fProjectList.Designer.cs
index 1af517f..ca9cc5f 100644
--- a/SubProject/FPJ0000/Project/fProjectList.Designer.cs
+++ b/SubProject/FPJ0000/Project/fProjectList.Designer.cs
@@ -30,37 +30,37 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fProjectList));
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType();
- FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType36 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType37 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType38 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType39 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType40 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType41 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType42 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType43 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.TextCellType textCellType44 = new FarPoint.Win.Spread.CellType.TextCellType();
+ FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType();
this.bn = new System.Windows.Forms.BindingNavigator(this.components);
this.bs = new System.Windows.Forms.BindingSource(this.components);
this.dsMSSQL = new FPJ0000.dsPRJ();
@@ -189,6 +189,12 @@
this.button1 = new System.Windows.Forms.Button();
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this.label17 = new System.Windows.Forms.Label();
+ this.panel5 = new System.Windows.Forms.Panel();
+ this.label31 = new System.Windows.Forms.Label();
+ this.sbDateMemo = new System.Windows.Forms.Label();
+ this.rtMemo = new System.Windows.Forms.RichTextBox();
+ this.bsHistD = new System.Windows.Forms.BindingSource(this.components);
+ this.taHistD = new FPJ0000.dsPRJTableAdapters.EETGW_ProjecthistoryDTableAdapter();
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
this.bn.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
@@ -206,6 +212,8 @@
this.toolStrip2.SuspendLayout();
this.panel1.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
+ this.panel5.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.bsHistD)).BeginInit();
this.SuspendLayout();
//
// bn
@@ -728,185 +736,185 @@
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 46F;
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 44F;
this.fpSpread1_Sheet1.Columns.Get(0).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
- numberCellType1.DecimalPlaces = 0;
- numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType1.MaximumValue = 2147483647D;
- numberCellType1.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType1;
+ numberCellType10.DecimalPlaces = 0;
+ numberCellType10.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
+ numberCellType10.MaximumValue = 2147483647D;
+ numberCellType10.MinimumValue = -2147483648D;
+ this.fpSpread1_Sheet1.Columns.Get(0).CellType = numberCellType10;
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "idx";
this.fpSpread1_Sheet1.Columns.Get(0).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.fpSpread1_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(0).Locked = true;
this.fpSpread1_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(0).Width = 45F;
- numberCellType2.DecimalPlaces = 0;
- numberCellType2.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType2.MaximumValue = 2147483647D;
- numberCellType2.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType2;
+ numberCellType11.DecimalPlaces = 0;
+ numberCellType11.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
+ numberCellType11.MaximumValue = 2147483647D;
+ numberCellType11.MinimumValue = -2147483648D;
+ this.fpSpread1_Sheet1.Columns.Get(1).CellType = numberCellType11;
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "pno";
this.fpSpread1_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(1).Label = "Project\r\nNo";
this.fpSpread1_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1;
+ this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType23;
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "process";
this.fpSpread1_Sheet1.Columns.Get(2).Label = "Process / Equipment";
- this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2;
+ this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType24;
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "ReqSite";
this.fpSpread1_Sheet1.Columns.Get(3).Label = "Site";
- this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
+ this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType25;
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "ReqPlant";
this.fpSpread1_Sheet1.Columns.Get(4).Label = "Plant";
- this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4;
+ this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType26;
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "ReqPackage";
this.fpSpread1_Sheet1.Columns.Get(5).Label = "PKG";
- this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5;
+ this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType27;
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "ReqLine";
this.fpSpread1_Sheet1.Columns.Get(6).Label = "Line";
- this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6;
+ this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType28;
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "part";
this.fpSpread1_Sheet1.Columns.Get(7).Label = "Request Team";
- this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7;
+ this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType29;
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "name";
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
this.fpSpread1_Sheet1.Columns.Get(8).Label = "Project Title";
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- numberCellType3.DecimalPlaces = 0;
- numberCellType3.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType3.MaximumValue = 2147483647D;
- numberCellType3.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType3;
+ numberCellType12.DecimalPlaces = 0;
+ numberCellType12.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
+ numberCellType12.MaximumValue = 2147483647D;
+ numberCellType12.MinimumValue = -2147483648D;
+ this.fpSpread1_Sheet1.Columns.Get(9).CellType = numberCellType12;
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "finishrate";
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(9).Label = "준수(%)";
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- numberCellType4.DecimalPlaces = 0;
- numberCellType4.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType4.MaximumValue = 2147483647D;
- numberCellType4.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType4;
+ numberCellType13.DecimalPlaces = 0;
+ numberCellType13.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
+ numberCellType13.MaximumValue = 2147483647D;
+ numberCellType13.MinimumValue = -2147483648D;
+ this.fpSpread1_Sheet1.Columns.Get(10).CellType = numberCellType13;
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "ProgressPrj";
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Label = "완료(%)";
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(10).Width = 63F;
- this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType8;
+ this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType30;
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "status";
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(11).Label = "Status";
this.fpSpread1_Sheet1.Columns.Get(11).Tag = "Status";
this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType9;
+ this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType31;
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "kdate";
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(12).Label = "검토\r\n기한";
this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType10;
+ this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType32;
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "sdate";
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(13).Label = "Start Date";
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(13).Width = 52F;
- this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType11;
+ this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType33;
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "ddate";
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Label = "Due Date";
this.fpSpread1_Sheet1.Columns.Get(14).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F;
- this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType12;
+ this.fpSpread1_Sheet1.Columns.Get(15).CellType = textCellType34;
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "edate";
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(15).Label = "Done Date";
this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- numberCellType5.DecimalPlaces = 0;
- numberCellType5.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType5.MaximumValue = 2147483647D;
- numberCellType5.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType5;
+ numberCellType14.DecimalPlaces = 0;
+ numberCellType14.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
+ numberCellType14.MaximumValue = 2147483647D;
+ numberCellType14.MinimumValue = -2147483648D;
+ this.fpSpread1_Sheet1.Columns.Get(16).CellType = numberCellType14;
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "cnt";
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(16).Label = "Q\'ty";
this.fpSpread1_Sheet1.Columns.Get(16).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(16).Width = 42F;
- numberCellType6.MaximumValue = 999999999999999D;
- numberCellType6.MinimumValue = -999999999999999D;
- this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType6;
+ numberCellType15.MaximumValue = 999999999999999D;
+ numberCellType15.MinimumValue = -999999999999999D;
+ this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType15;
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "costo";
this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(17).Label = "Outsourced Cost ($K)/Set\r\n";
this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(17).Width = 63F;
- numberCellType7.MaximumValue = 999999999999999D;
- numberCellType7.MinimumValue = -999999999999999D;
- this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType7;
+ numberCellType16.MaximumValue = 999999999999999D;
+ numberCellType16.MinimumValue = -999999999999999D;
+ this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType16;
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "costn";
this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(18).Label = "In-house Cost ($K/Set)";
this.fpSpread1_Sheet1.Columns.Get(18).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(18).Width = 63F;
this.fpSpread1_Sheet1.Columns.Get(19).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
- numberCellType8.MaximumValue = 999999999999999D;
- numberCellType8.MinimumValue = -999999999999999D;
- this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType8;
+ numberCellType17.MaximumValue = 999999999999999D;
+ numberCellType17.MinimumValue = -999999999999999D;
+ this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType17;
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "coste";
this.fpSpread1_Sheet1.Columns.Get(19).ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(19).Label = "Cost Save ($k)/Set";
this.fpSpread1_Sheet1.Columns.Get(19).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(19).Width = 67F;
- this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType13;
+ this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType35;
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "orderno";
this.fpSpread1_Sheet1.Columns.Get(20).Label = "SCR/CF";
this.fpSpread1_Sheet1.Columns.Get(21).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType14;
+ this.fpSpread1_Sheet1.Columns.Get(21).CellType = textCellType36;
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "name_champion";
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(21).Label = "Champion";
this.fpSpread1_Sheet1.Columns.Get(21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(22).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType15;
+ this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType37;
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "name_software";
this.fpSpread1_Sheet1.Columns.Get(22).Label = "S/W";
this.fpSpread1_Sheet1.Columns.Get(23).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType16;
+ this.fpSpread1_Sheet1.Columns.Get(23).CellType = textCellType38;
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "name_design";
this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(23).Label = "Design";
this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(24).AllowAutoFilter = true;
- this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17;
+ this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType39;
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "name_epanel";
this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(24).Label = "ePanel";
this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType18;
+ this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType40;
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "lasthistory";
this.fpSpread1_Sheet1.Columns.Get(25).Label = "History";
- this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType19;
+ this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType41;
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "memo";
this.fpSpread1_Sheet1.Columns.Get(26).Label = "Memo";
this.fpSpread1_Sheet1.Columns.Get(26).Width = 77F;
- this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType20;
+ this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType42;
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "asset";
this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(27).Label = "Asset";
this.fpSpread1_Sheet1.Columns.Get(27).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType21;
+ this.fpSpread1_Sheet1.Columns.Get(28).CellType = textCellType43;
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "model";
this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(28).Label = "Model#";
this.fpSpread1_Sheet1.Columns.Get(28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType22;
+ this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType44;
this.fpSpread1_Sheet1.Columns.Get(29).DataField = "serial";
this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(29).Label = "Serial#";
this.fpSpread1_Sheet1.Columns.Get(29).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
- numberCellType9.DecimalPlaces = 0;
- numberCellType9.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
- numberCellType9.MaximumValue = 2147483647D;
- numberCellType9.MinimumValue = -2147483648D;
- this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType9;
+ numberCellType18.DecimalPlaces = 0;
+ numberCellType18.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
+ numberCellType18.MaximumValue = 2147483647D;
+ numberCellType18.MinimumValue = -2147483648D;
+ this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType18;
this.fpSpread1_Sheet1.Columns.Get(30).DataField = "jasmin";
this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
this.fpSpread1_Sheet1.Columns.Get(30).Label = "자스민";
@@ -1059,9 +1067,12 @@
//
// tableLayoutPanel1
//
- this.tableLayoutPanel1.ColumnCount = 2;
- this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
- this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ this.tableLayoutPanel1.ColumnCount = 3;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 40F));
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
+ this.tableLayoutPanel1.Controls.Add(this.rtMemo, 2, 1);
+ this.tableLayoutPanel1.Controls.Add(this.panel5, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.panel4, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.label2, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.richTextBox1, 0, 1);
@@ -1071,7 +1082,7 @@
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
- this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1585, 139);
this.tableLayoutPanel1.TabIndex = 11;
//
@@ -1080,10 +1091,10 @@
this.panel4.Controls.Add(this.label11);
this.panel4.Controls.Add(this.label4);
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel4.Location = new System.Drawing.Point(792, 0);
+ this.panel4.Location = new System.Drawing.Point(475, 0);
this.panel4.Margin = new System.Windows.Forms.Padding(0);
this.panel4.Name = "panel4";
- this.panel4.Size = new System.Drawing.Size(793, 25);
+ this.panel4.Size = new System.Drawing.Size(634, 25);
this.panel4.TabIndex = 0;
//
// label11
@@ -1091,7 +1102,7 @@
this.label11.Dock = System.Windows.Forms.DockStyle.Fill;
this.label11.Location = new System.Drawing.Point(0, 0);
this.label11.Name = "label11";
- this.label11.Size = new System.Drawing.Size(693, 25);
+ this.label11.Size = new System.Drawing.Size(534, 25);
this.label11.TabIndex = 14;
this.label11.Text = "주간 진행 내용";
this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1102,7 +1113,7 @@
this.label4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "pdate", true));
this.label4.Dock = System.Windows.Forms.DockStyle.Right;
this.label4.Font = new System.Drawing.Font("Cambria", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.label4.Location = new System.Drawing.Point(693, 0);
+ this.label4.Location = new System.Drawing.Point(534, 0);
this.label4.Margin = new System.Windows.Forms.Padding(0);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(100, 25);
@@ -1125,7 +1136,7 @@
this.label2.Location = new System.Drawing.Point(0, 0);
this.label2.Margin = new System.Windows.Forms.Padding(0);
this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(792, 25);
+ this.label2.Size = new System.Drawing.Size(475, 25);
this.label2.TabIndex = 0;
this.label2.Text = "요청 사항";
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -1138,7 +1149,7 @@
this.richTextBox1.Location = new System.Drawing.Point(3, 28);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.ReadOnly = true;
- this.richTextBox1.Size = new System.Drawing.Size(786, 108);
+ this.richTextBox1.Size = new System.Drawing.Size(469, 108);
this.richTextBox1.TabIndex = 1;
this.richTextBox1.Text = "";
//
@@ -1148,10 +1159,10 @@
this.richTextBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHist, "remark", true));
this.richTextBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox2.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
- this.richTextBox2.Location = new System.Drawing.Point(795, 28);
+ this.richTextBox2.Location = new System.Drawing.Point(478, 28);
this.richTextBox2.Name = "richTextBox2";
this.richTextBox2.ReadOnly = true;
- this.richTextBox2.Size = new System.Drawing.Size(787, 108);
+ this.richTextBox2.Size = new System.Drawing.Size(628, 108);
this.richTextBox2.TabIndex = 1;
this.richTextBox2.Text = "";
this.richTextBox2.TextChanged += new System.EventHandler(this.richTextBox2_TextChanged);
@@ -1885,6 +1896,65 @@
this.label17.Text = "구매 진행";
this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
+ // panel5
+ //
+ this.panel5.Controls.Add(this.label31);
+ this.panel5.Controls.Add(this.sbDateMemo);
+ this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel5.Location = new System.Drawing.Point(1109, 0);
+ this.panel5.Margin = new System.Windows.Forms.Padding(0);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(476, 25);
+ this.panel5.TabIndex = 35;
+ //
+ // label31
+ //
+ this.label31.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.label31.Location = new System.Drawing.Point(0, 0);
+ this.label31.Name = "label31";
+ this.label31.Size = new System.Drawing.Size(376, 25);
+ this.label31.TabIndex = 14;
+ this.label31.Text = "프로젝트 메모";
+ this.label31.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // sbDateMemo
+ //
+ this.sbDateMemo.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
+ this.sbDateMemo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHistD, "pdate", true));
+ this.sbDateMemo.Dock = System.Windows.Forms.DockStyle.Right;
+ this.sbDateMemo.Font = new System.Drawing.Font("Cambria", 11.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.sbDateMemo.Location = new System.Drawing.Point(376, 0);
+ this.sbDateMemo.Margin = new System.Windows.Forms.Padding(0);
+ this.sbDateMemo.Name = "sbDateMemo";
+ this.sbDateMemo.Size = new System.Drawing.Size(100, 25);
+ this.sbDateMemo.TabIndex = 12;
+ this.sbDateMemo.Text = "--";
+ this.sbDateMemo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // rtMemo
+ //
+ this.rtMemo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
+ this.rtMemo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsHistD, "remark", true));
+ this.rtMemo.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.rtMemo.Font = new System.Drawing.Font("맑은 고딕", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
+ this.rtMemo.Location = new System.Drawing.Point(1112, 28);
+ this.rtMemo.Name = "rtMemo";
+ this.rtMemo.ReadOnly = true;
+ this.rtMemo.Size = new System.Drawing.Size(470, 108);
+ this.rtMemo.TabIndex = 35;
+ this.rtMemo.Text = "";
+ //
+ // bsHistD
+ //
+ this.bsHistD.DataMember = "EETGW_ProjecthistoryD";
+ this.bsHistD.DataSource = this.dsMSSQL;
+ this.bsHistD.Sort = "pdate desc";
+ this.bsHistD.CurrentChanged += new System.EventHandler(this.bsHistD_CurrentChanged);
+ //
+ // taHistD
+ //
+ this.taHistD.ClearBeforeFill = true;
+ //
// fProjectList
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -1920,6 +1990,8 @@
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.tableLayoutPanel3.ResumeLayout(false);
+ this.panel5.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.bsHistD)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -2055,5 +2127,11 @@
private System.Windows.Forms.Label label29;
private System.Windows.Forms.Label label30;
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
+ private System.Windows.Forms.Panel panel5;
+ private System.Windows.Forms.Label label31;
+ private System.Windows.Forms.Label sbDateMemo;
+ private System.Windows.Forms.RichTextBox rtMemo;
+ private System.Windows.Forms.BindingSource bsHistD;
+ private dsPRJTableAdapters.EETGW_ProjecthistoryDTableAdapter taHistD;
}
}
\ No newline at end of file
diff --git a/SubProject/FPJ0000/Project/fProjectList.cs b/SubProject/FPJ0000/Project/fProjectList.cs
index d94528c..ffc5bfd 100644
--- a/SubProject/FPJ0000/Project/fProjectList.cs
+++ b/SubProject/FPJ0000/Project/fProjectList.cs
@@ -172,7 +172,7 @@ namespace FPJ0000
" [process],[part],[pdate],[name],[userManager],[usermain],[usersub],[userhw2],[reqstaff]," +
" [costo],[costn],[cnt],[remark_req],[remark_ans],[sdate],[ddate],[edate],[odate],[progress]," +
" [memo],[wuid],[wdate],[orderno],[crdue],[import],[path],[userprocess],[bCost],[bFanOut],[div]," +
- " dbo.getScheduleProgress(idx) as ProgressPrj, dbo.getLastHistory(idx) AS lasthistory,'' AS wws, '' AS wwo, '' AS wwe, '' AS wwd,model,serial," +
+ " dbo.getScheduleProgress(idx) as ProgressPrj,'' AS lasthistory,'' AS wws, '' AS wwo, '' AS wwe, '' AS wwd,model,serial," +
" [championid], dbo.getProjectFinishRate(gcode, idx) AS finishrate," +
" championid,designid,assemblyid,epanelid,softwareid,userAssembly," +
"dbo.getUserName2(championid,usermanager) as name_champion," +
@@ -180,7 +180,7 @@ namespace FPJ0000
"dbo.getUserName2(assemblyid,userAssembly) as name_assembly," +
"dbo.getUserName2(epanelid,userhw2) as name_epanel," +
"dbo.getUserName2(softwareid,usersub) as name_software," +
- "ReqLine,ReqSite,ReqPackage,ReqPlant,pno,kdate,jasmin,sfi" +
+ "ReqLine,ReqSite,ReqPackage,ReqPlant,pno,kdate,jasmin,sfi,'' AS lasthistoryD" +
" FROM Projects";
//string State_Select = " SELECT [idx],[pidx],[gcode],[isdel],[status],[asset],[level],[rev],[process],[part],[pdate],[name],[userManager],[usermain],[usersub],[userhw2],[reqstaff],[costo],[costn],[cnt],[remark_req],[remark_ans],[sdate],[ddate],[edate],[odate],[progress],[memo],[wuid],[wdate],[orderno],[crdue],[import],[path],[userprocess],[bCost],[bFanOut],[div],dbo.getScheduleProgress(idx) as ProgressPrj, dbo.getLastHistory(idx) AS lasthistory, dbo.getWorkWeek(sdate) AS wws, dbo.getWorkWeek(odate) AS wwo, dbo.getWorkWeek(edate) AS wwe, dbo.getWorkWeek(ddate) AS wwd FROM Projects";
string State_where = " WHERE gcode=@gcode and isnull(div,'') <> 'EB' and ";
@@ -575,6 +575,11 @@ namespace FPJ0000
{
}
+ try
+ {
+ taHistD.Fill(this.dsMSSQL.EETGW_ProjecthistoryD, dr.idx);
+ }
+ catch { }
}
private void button1_Click(object sender, EventArgs e)
@@ -764,7 +769,7 @@ namespace FPJ0000
else tbPath = "\\" + tbPath;
}
//\\10.131.32.29\Data
- var datapath = FCOMMON.DBM.getCodeSavlue("55", "01");
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "01");
var serverpath = System.IO.Path.Combine(datapath, "Data", "Project");
if (System.IO.Directory.Exists(serverpath) == false)
{
@@ -883,6 +888,28 @@ namespace FPJ0000
}
else label4.BackColor = SystemColors.Control;
+
+
+ }
+
+ private void bsHistD_CurrentChanged(object sender, EventArgs e)
+ {
+ var drv = this.bsHistD.Current as DataRowView;
+ if (drv == null)
+ {
+ sbDateMemo.BackColor = SystemColors.Control;
+ return;
+ }
+ var dr = drv.Row as dsPRJ.EETGW_ProjecthistoryDRow;
+
+ if (dr.IspdateNull()) sbDateMemo.BackColor = SystemColors.Control;
+ else if (DateTime.TryParse(dr.pdate, out DateTime dt_pdate))
+ {
+ var ts = DateTime.Now - dt_pdate;
+ if (ts.TotalDays > 7) sbDateMemo.BackColor = Color.Tomato;
+ else sbDateMemo.BackColor = Color.Lime;
+ }
+ else sbDateMemo.BackColor = SystemColors.Control;
}
}
}
\ No newline at end of file
diff --git a/SubProject/FPJ0000/Project/fProjectList.resx b/SubProject/FPJ0000/Project/fProjectList.resx
index 57fd864..ff280c4 100644
--- a/SubProject/FPJ0000/Project/fProjectList.resx
+++ b/SubProject/FPJ0000/Project/fProjectList.resx
@@ -290,6 +290,9 @@
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
+
+ 17, 17
+
387, 17
@@ -344,6 +347,12 @@
455, 17
+
+ 1086, 17
+
+
+ 561, 17
+
561, 17
@@ -353,6 +362,9 @@
647, 17
+
+ 731, 17
+
828, 17
@@ -536,6 +548,9 @@
B0X5B56Fg+LhPgWxAAAAAElFTkSuQmCC
+
+ 17, 56
+
82
diff --git a/SubProject/FPJ0000/Project/fProjectListU.cs b/SubProject/FPJ0000/Project/fProjectListU.cs
index 9b1599d..ca4527a 100644
--- a/SubProject/FPJ0000/Project/fProjectListU.cs
+++ b/SubProject/FPJ0000/Project/fProjectListU.cs
@@ -778,7 +778,7 @@ namespace FPJ0000
else tbPath = "\\" + tbPath;
}
//\\10.131.32.29\Data
- var datapath = FCOMMON.DBM.getCodeSavlue("55", "01");
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "01");
var serverpath = System.IO.Path.Combine(datapath, "Data", "Project");
if (System.IO.Directory.Exists(serverpath) == false)
{
diff --git a/SubProject/FPJ0000/Project/fProjectSummary.cs b/SubProject/FPJ0000/Project/fProjectSummary.cs
index 3ae740a..39a0878 100644
--- a/SubProject/FPJ0000/Project/fProjectSummary.cs
+++ b/SubProject/FPJ0000/Project/fProjectSummary.cs
@@ -618,7 +618,7 @@ namespace FPJ0000
else tbPath = "\\" + tbPath;
}
//\\10.131.32.29\Data
- var datapath = FCOMMON.DBM.getCodeSavlue("55", "01");
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "01");
var serverpath = System.IO.Path.Combine( "Data", "Project");
if (System.IO.Directory.Exists(serverpath) == false)
{
diff --git a/SubProject/FPJ0000/Util.cs b/SubProject/FPJ0000/Util.cs
index 195baba..5343065 100644
--- a/SubProject/FPJ0000/Util.cs
+++ b/SubProject/FPJ0000/Util.cs
@@ -22,7 +22,7 @@ namespace FPJ0000
static void OpenPath(string group, string dataidx, Boolean openexplore = false)
{
//전자시 ㄹ업무일지 관련 폴더 열긴 -- 210708
- var datapath = FCOMMON.DBM.getCodeSavlue("55", "01");
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "01");
var serverpath = System.IO.Path.Combine(datapath, "Data", group);
if (System.IO.Directory.Exists(serverpath) == false)
{
@@ -73,7 +73,7 @@ namespace FPJ0000
else tbPath = "\\" + tbPath;
}
//\\10.131.32.29\Data
- var datapath = FCOMMON.DBM.getCodeSavlue("55", "01");
+ var datapath = FCOMMON.DBM.getCodeSvalue("55", "01");
var serverpath = System.IO.Path.Combine(datapath, "Data", "Project");
if (System.IO.Directory.Exists(serverpath) == false)
{
diff --git a/SubProject/FPJ0000/dsPRJ.Designer.cs b/SubProject/FPJ0000/dsPRJ.Designer.cs
index 4255ced..0235284 100644
--- a/SubProject/FPJ0000/dsPRJ.Designer.cs
+++ b/SubProject/FPJ0000/dsPRJ.Designer.cs
@@ -32,8 +32,6 @@ namespace FPJ0000 {
private ProjectsPartDataTable tableProjectsPart;
- private JobReportDataTable tableJobReport;
-
private ProjectsHistoryDataTable tableProjectsHistory;
private SPMasterDataTable tableSPMaster;
@@ -58,6 +56,8 @@ namespace FPJ0000 {
private vJobReportForUserListDataTable tablevJobReportForUserList;
+ private JobReportDataTable tableJobReport;
+
private SCTableDataTable tableSCTable;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
@@ -104,9 +104,6 @@ namespace FPJ0000 {
if ((ds.Tables["ProjectsPart"] != null)) {
base.Tables.Add(new ProjectsPartDataTable(ds.Tables["ProjectsPart"]));
}
- if ((ds.Tables["JobReport"] != null)) {
- base.Tables.Add(new JobReportDataTable(ds.Tables["JobReport"]));
- }
if ((ds.Tables["ProjectsHistory"] != null)) {
base.Tables.Add(new ProjectsHistoryDataTable(ds.Tables["ProjectsHistory"]));
}
@@ -143,6 +140,9 @@ namespace FPJ0000 {
if ((ds.Tables["vJobReportForUserList"] != null)) {
base.Tables.Add(new vJobReportForUserListDataTable(ds.Tables["vJobReportForUserList"]));
}
+ if ((ds.Tables["JobReport"] != null)) {
+ base.Tables.Add(new JobReportDataTable(ds.Tables["JobReport"]));
+ }
if ((ds.Tables["SCTable"] != null)) {
base.Tables.Add(new SCTableDataTable(ds.Tables["SCTable"]));
}
@@ -205,16 +205,6 @@ namespace FPJ0000 {
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
- public JobReportDataTable JobReport {
- get {
- return this.tableJobReport;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -335,6 +325,16 @@ namespace FPJ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
+ public JobReportDataTable JobReport {
+ get {
+ return this.tableJobReport;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -425,9 +425,6 @@ namespace FPJ0000 {
if ((ds.Tables["ProjectsPart"] != null)) {
base.Tables.Add(new ProjectsPartDataTable(ds.Tables["ProjectsPart"]));
}
- if ((ds.Tables["JobReport"] != null)) {
- base.Tables.Add(new JobReportDataTable(ds.Tables["JobReport"]));
- }
if ((ds.Tables["ProjectsHistory"] != null)) {
base.Tables.Add(new ProjectsHistoryDataTable(ds.Tables["ProjectsHistory"]));
}
@@ -464,6 +461,9 @@ namespace FPJ0000 {
if ((ds.Tables["vJobReportForUserList"] != null)) {
base.Tables.Add(new vJobReportForUserListDataTable(ds.Tables["vJobReportForUserList"]));
}
+ if ((ds.Tables["JobReport"] != null)) {
+ base.Tables.Add(new JobReportDataTable(ds.Tables["JobReport"]));
+ }
if ((ds.Tables["SCTable"] != null)) {
base.Tables.Add(new SCTableDataTable(ds.Tables["SCTable"]));
}
@@ -524,12 +524,6 @@ namespace FPJ0000 {
this.tableProjectsPart.InitVars();
}
}
- this.tableJobReport = ((JobReportDataTable)(base.Tables["JobReport"]));
- if ((initTable == true)) {
- if ((this.tableJobReport != null)) {
- this.tableJobReport.InitVars();
- }
- }
this.tableProjectsHistory = ((ProjectsHistoryDataTable)(base.Tables["ProjectsHistory"]));
if ((initTable == true)) {
if ((this.tableProjectsHistory != null)) {
@@ -602,6 +596,12 @@ namespace FPJ0000 {
this.tablevJobReportForUserList.InitVars();
}
}
+ this.tableJobReport = ((JobReportDataTable)(base.Tables["JobReport"]));
+ if ((initTable == true)) {
+ if ((this.tableJobReport != null)) {
+ this.tableJobReport.InitVars();
+ }
+ }
this.tableSCTable = ((SCTableDataTable)(base.Tables["SCTable"]));
if ((initTable == true)) {
if ((this.tableSCTable != null)) {
@@ -626,8 +626,6 @@ namespace FPJ0000 {
base.Tables.Add(this.tableProjectsMailList);
this.tableProjectsPart = new ProjectsPartDataTable();
base.Tables.Add(this.tableProjectsPart);
- this.tableJobReport = new JobReportDataTable();
- base.Tables.Add(this.tableJobReport);
this.tableProjectsHistory = new ProjectsHistoryDataTable();
base.Tables.Add(this.tableProjectsHistory);
this.tableSPMaster = new SPMasterDataTable();
@@ -652,6 +650,8 @@ namespace FPJ0000 {
base.Tables.Add(this.tableEETGW_ProjectReson);
this.tablevJobReportForUserList = new vJobReportForUserListDataTable();
base.Tables.Add(this.tablevJobReportForUserList);
+ this.tableJobReport = new JobReportDataTable();
+ base.Tables.Add(this.tableJobReport);
this.tableSCTable = new SCTableDataTable();
base.Tables.Add(this.tableSCTable);
}
@@ -680,12 +680,6 @@ namespace FPJ0000 {
return false;
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- private bool ShouldSerializeJobReport() {
- return false;
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private bool ShouldSerializeProjectsHistory() {
@@ -758,6 +752,12 @@ namespace FPJ0000 {
return false;
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private bool ShouldSerializeJobReport() {
+ return false;
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private bool ShouldSerializeSCTable() {
@@ -838,9 +838,6 @@ namespace FPJ0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void ProjectsPartRowChangeEventHandler(object sender, ProjectsPartRowChangeEvent e);
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public delegate void JobReportRowChangeEventHandler(object sender, JobReportRowChangeEvent e);
-
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void ProjectsHistoryRowChangeEventHandler(object sender, ProjectsHistoryRowChangeEvent e);
@@ -877,6 +874,9 @@ namespace FPJ0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void vJobReportForUserListRowChangeEventHandler(object sender, vJobReportForUserListRowChangeEvent e);
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public delegate void JobReportRowChangeEventHandler(object sender, JobReportRowChangeEvent e);
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void SCTableRowChangeEventHandler(object sender, SCTableRowChangeEvent e);
@@ -1043,6 +1043,8 @@ namespace FPJ0000 {
private global::System.Data.DataColumn columnname2;
+ private global::System.Data.DataColumn columnlasthistoryD;
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public ProjectsDataTable() :
@@ -1709,6 +1711,14 @@ namespace FPJ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn lasthistoryDColumn {
+ get {
+ return this.columnlasthistoryD;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -1823,7 +1833,8 @@ namespace FPJ0000 {
int jasmin,
double sfi,
float chamyeo,
- string name2) {
+ string name2,
+ string lasthistoryD) {
ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -1903,7 +1914,8 @@ namespace FPJ0000 {
jasmin,
sfi,
chamyeo,
- name2};
+ name2,
+ lasthistoryD};
rowProjectsRow.ItemArray = columnValuesArray;
this.Rows.Add(rowProjectsRow);
return rowProjectsRow;
@@ -1987,7 +1999,8 @@ namespace FPJ0000 {
int jasmin,
double sfi,
float chamyeo,
- string name2) {
+ string name2,
+ string lasthistoryD) {
ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -2067,7 +2080,8 @@ namespace FPJ0000 {
jasmin,
sfi,
chamyeo,
- name2};
+ name2,
+ lasthistoryD};
rowProjectsRow.ItemArray = columnValuesArray;
this.Rows.Add(rowProjectsRow);
return rowProjectsRow;
@@ -2175,6 +2189,7 @@ namespace FPJ0000 {
this.columnsfi = base.Columns["sfi"];
this.columnchamyeo = base.Columns["chamyeo"];
this.columnname2 = base.Columns["name2"];
+ this.columnlasthistoryD = base.Columns["lasthistoryD"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2336,6 +2351,8 @@ namespace FPJ0000 {
base.Columns.Add(this.columnchamyeo);
this.columnname2 = new global::System.Data.DataColumn("name2", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnname2);
+ this.columnlasthistoryD = new global::System.Data.DataColumn("lasthistoryD", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnlasthistoryD);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -2416,6 +2433,8 @@ namespace FPJ0000 {
this.columnReqPackage.MaxLength = 50;
this.columnReqPlant.MaxLength = 50;
this.columnkdate.MaxLength = 20;
+ this.columnlasthistoryD.ReadOnly = true;
+ this.columnlasthistoryD.MaxLength = 200;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -3951,823 +3970,6 @@ namespace FPJ0000 {
}
}
- ///
- ///Represents the strongly named DataTable class.
- ///
- [global::System.Serializable()]
- [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
- public partial class JobReportDataTable : global::System.Data.TypedTableBase {
-
- private global::System.Data.DataColumn columnidx;
-
- private global::System.Data.DataColumn columnpdate;
-
- private global::System.Data.DataColumn columnuid;
-
- private global::System.Data.DataColumn columntype;
-
- private global::System.Data.DataColumn columnhrs;
-
- private global::System.Data.DataColumn columnwuid;
-
- private global::System.Data.DataColumn columnwdate;
-
- private global::System.Data.DataColumn columnusername;
-
- private global::System.Data.DataColumn columnpidx;
-
- private global::System.Data.DataColumn columnrequestpart;
-
- private global::System.Data.DataColumn columnpackage;
-
- private global::System.Data.DataColumn columnstatus;
-
- private global::System.Data.DataColumn columndescription;
-
- private global::System.Data.DataColumn columnremark;
-
- private global::System.Data.DataColumn columnimport;
-
- private global::System.Data.DataColumn columnprojectName;
-
- private global::System.Data.DataColumn columnweek;
-
- private global::System.Data.DataColumn columnot;
-
- private global::System.Data.DataColumn columnww;
-
- private global::System.Data.DataColumn columnprocess;
-
- private global::System.Data.DataColumn columngcode;
-
- private global::System.Data.DataColumn columndescription2;
-
- private global::System.Data.DataColumn columntag;
-
- private global::System.Data.DataColumn columnsvalue;
-
- private global::System.Data.DataColumn columnotStart;
-
- private global::System.Data.DataColumn columnotEnd;
-
- private global::System.Data.DataColumn columnautoinput;
-
- private global::System.Data.DataColumn columnkisullv;
-
- private global::System.Data.DataColumn columnkisuldiv;
-
- private global::System.Data.DataColumn columnkisulamt;
-
- private global::System.Data.DataColumn columnot2;
-
- private global::System.Data.DataColumn columnotReason;
-
- private global::System.Data.DataColumn columnFreeDay;
-
- private global::System.Data.DataColumn columnWeekName;
-
- private global::System.Data.DataColumn columnotwuid;
-
- private global::System.Data.DataColumn columnottime;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public JobReportDataTable() {
- this.TableName = "JobReport";
- this.BeginInit();
- this.InitClass();
- this.EndInit();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- internal JobReportDataTable(global::System.Data.DataTable table) {
- this.TableName = table.TableName;
- if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
- this.CaseSensitive = table.CaseSensitive;
- }
- if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
- this.Locale = table.Locale;
- }
- if ((table.Namespace != table.DataSet.Namespace)) {
- this.Namespace = table.Namespace;
- }
- this.Prefix = table.Prefix;
- this.MinimumCapacity = table.MinimumCapacity;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- protected JobReportDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
- base(info, context) {
- this.InitVars();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn idxColumn {
- get {
- return this.columnidx;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn pdateColumn {
- get {
- return this.columnpdate;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn uidColumn {
- get {
- return this.columnuid;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn typeColumn {
- get {
- return this.columntype;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn hrsColumn {
- get {
- return this.columnhrs;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn wuidColumn {
- get {
- return this.columnwuid;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn wdateColumn {
- get {
- return this.columnwdate;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn usernameColumn {
- get {
- return this.columnusername;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn pidxColumn {
- get {
- return this.columnpidx;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn requestpartColumn {
- get {
- return this.columnrequestpart;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn packageColumn {
- get {
- return this.columnpackage;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn statusColumn {
- get {
- return this.columnstatus;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn descriptionColumn {
- get {
- return this.columndescription;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn remarkColumn {
- get {
- return this.columnremark;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn importColumn {
- get {
- return this.columnimport;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn projectNameColumn {
- get {
- return this.columnprojectName;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn weekColumn {
- get {
- return this.columnweek;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn otColumn {
- get {
- return this.columnot;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn wwColumn {
- get {
- return this.columnww;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn processColumn {
- get {
- return this.columnprocess;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn gcodeColumn {
- get {
- return this.columngcode;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn description2Column {
- get {
- return this.columndescription2;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn tagColumn {
- get {
- return this.columntag;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn svalueColumn {
- get {
- return this.columnsvalue;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn otStartColumn {
- get {
- return this.columnotStart;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn otEndColumn {
- get {
- return this.columnotEnd;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn autoinputColumn {
- get {
- return this.columnautoinput;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn kisullvColumn {
- get {
- return this.columnkisullv;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn kisuldivColumn {
- get {
- return this.columnkisuldiv;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn kisulamtColumn {
- get {
- return this.columnkisulamt;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn ot2Column {
- get {
- return this.columnot2;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn otReasonColumn {
- get {
- return this.columnotReason;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn FreeDayColumn {
- get {
- return this.columnFreeDay;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn WeekNameColumn {
- get {
- return this.columnWeekName;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn otwuidColumn {
- get {
- return this.columnotwuid;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataColumn ottimeColumn {
- get {
- return this.columnottime;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Browsable(false)]
- public int Count {
- get {
- return this.Rows.Count;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public JobReportRow this[int index] {
- get {
- return ((JobReportRow)(this.Rows[index]));
- }
- }
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public event JobReportRowChangeEventHandler JobReportRowChanging;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public event JobReportRowChangeEventHandler JobReportRowChanged;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public event JobReportRowChangeEventHandler JobReportRowDeleting;
-
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public event JobReportRowChangeEventHandler JobReportRowDeleted;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void AddJobReportRow(JobReportRow row) {
- this.Rows.Add(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public JobReportRow AddJobReportRow(
- string pdate,
- string uid,
- string type,
- double hrs,
- string wuid,
- System.DateTime wdate,
- string username,
- int pidx,
- string requestpart,
- string package,
- string status,
- string description,
- string remark,
- bool import,
- string projectName,
- string week,
- double ot,
- string ww,
- string process,
- string gcode,
- string description2,
- string tag,
- string svalue,
- System.DateTime otStart,
- System.DateTime otEnd,
- bool autoinput,
- string kisullv,
- string kisuldiv,
- decimal kisulamt,
- double ot2,
- string otReason,
- bool FreeDay,
- string WeekName,
- string otwuid,
- System.DateTime ottime) {
- JobReportRow rowJobReportRow = ((JobReportRow)(this.NewRow()));
- object[] columnValuesArray = new object[] {
- null,
- pdate,
- uid,
- type,
- hrs,
- wuid,
- wdate,
- username,
- pidx,
- requestpart,
- package,
- status,
- description,
- remark,
- import,
- projectName,
- week,
- ot,
- ww,
- process,
- gcode,
- description2,
- tag,
- svalue,
- otStart,
- otEnd,
- autoinput,
- kisullv,
- kisuldiv,
- kisulamt,
- ot2,
- otReason,
- FreeDay,
- WeekName,
- otwuid,
- ottime};
- rowJobReportRow.ItemArray = columnValuesArray;
- this.Rows.Add(rowJobReportRow);
- return rowJobReportRow;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public JobReportRow FindByidx(int idx) {
- return ((JobReportRow)(this.Rows.Find(new object[] {
- idx})));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public override global::System.Data.DataTable Clone() {
- JobReportDataTable cln = ((JobReportDataTable)(base.Clone()));
- cln.InitVars();
- return cln;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- protected override global::System.Data.DataTable CreateInstance() {
- return new JobReportDataTable();
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- internal void InitVars() {
- this.columnidx = base.Columns["idx"];
- this.columnpdate = base.Columns["pdate"];
- this.columnuid = base.Columns["uid"];
- this.columntype = base.Columns["type"];
- this.columnhrs = base.Columns["hrs"];
- this.columnwuid = base.Columns["wuid"];
- this.columnwdate = base.Columns["wdate"];
- this.columnusername = base.Columns["username"];
- this.columnpidx = base.Columns["pidx"];
- this.columnrequestpart = base.Columns["requestpart"];
- this.columnpackage = base.Columns["package"];
- this.columnstatus = base.Columns["status"];
- this.columndescription = base.Columns["description"];
- this.columnremark = base.Columns["remark"];
- this.columnimport = base.Columns["import"];
- this.columnprojectName = base.Columns["projectName"];
- this.columnweek = base.Columns["week"];
- this.columnot = base.Columns["ot"];
- this.columnww = base.Columns["ww"];
- this.columnprocess = base.Columns["process"];
- this.columngcode = base.Columns["gcode"];
- this.columndescription2 = base.Columns["description2"];
- this.columntag = base.Columns["tag"];
- this.columnsvalue = base.Columns["svalue"];
- this.columnotStart = base.Columns["otStart"];
- this.columnotEnd = base.Columns["otEnd"];
- this.columnautoinput = base.Columns["autoinput"];
- this.columnkisullv = base.Columns["kisullv"];
- this.columnkisuldiv = base.Columns["kisuldiv"];
- this.columnkisulamt = base.Columns["kisulamt"];
- this.columnot2 = base.Columns["ot2"];
- this.columnotReason = base.Columns["otReason"];
- this.columnFreeDay = base.Columns["FreeDay"];
- this.columnWeekName = base.Columns["WeekName"];
- this.columnotwuid = base.Columns["otwuid"];
- this.columnottime = base.Columns["ottime"];
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- private void InitClass() {
- this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnidx);
- this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnpdate);
- this.columnuid = new global::System.Data.DataColumn("uid", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnuid);
- this.columntype = new global::System.Data.DataColumn("type", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columntype);
- this.columnhrs = new global::System.Data.DataColumn("hrs", typeof(double), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnhrs);
- this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnwuid);
- this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnwdate);
- this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnusername);
- this.columnpidx = new global::System.Data.DataColumn("pidx", typeof(int), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnpidx);
- this.columnrequestpart = new global::System.Data.DataColumn("requestpart", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnrequestpart);
- this.columnpackage = new global::System.Data.DataColumn("package", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnpackage);
- this.columnstatus = new global::System.Data.DataColumn("status", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnstatus);
- this.columndescription = new global::System.Data.DataColumn("description", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columndescription);
- this.columnremark = new global::System.Data.DataColumn("remark", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnremark);
- this.columnimport = new global::System.Data.DataColumn("import", typeof(bool), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnimport);
- this.columnprojectName = new global::System.Data.DataColumn("projectName", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnprojectName);
- this.columnweek = new global::System.Data.DataColumn("week", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnweek);
- this.columnot = new global::System.Data.DataColumn("ot", typeof(double), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnot);
- this.columnww = new global::System.Data.DataColumn("ww", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnww);
- this.columnprocess = new global::System.Data.DataColumn("process", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnprocess);
- this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columngcode);
- this.columndescription2 = new global::System.Data.DataColumn("description2", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columndescription2);
- this.columntag = new global::System.Data.DataColumn("tag", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columntag);
- this.columnsvalue = new global::System.Data.DataColumn("svalue", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnsvalue);
- this.columnotStart = new global::System.Data.DataColumn("otStart", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnotStart);
- this.columnotEnd = new global::System.Data.DataColumn("otEnd", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnotEnd);
- this.columnautoinput = new global::System.Data.DataColumn("autoinput", typeof(bool), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnautoinput);
- this.columnkisullv = new global::System.Data.DataColumn("kisullv", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnkisullv);
- this.columnkisuldiv = new global::System.Data.DataColumn("kisuldiv", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnkisuldiv);
- this.columnkisulamt = new global::System.Data.DataColumn("kisulamt", typeof(decimal), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnkisulamt);
- this.columnot2 = new global::System.Data.DataColumn("ot2", typeof(double), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnot2);
- this.columnotReason = new global::System.Data.DataColumn("otReason", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnotReason);
- this.columnFreeDay = new global::System.Data.DataColumn("FreeDay", typeof(bool), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnFreeDay);
- this.columnWeekName = new global::System.Data.DataColumn("WeekName", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnWeekName);
- this.columnotwuid = new global::System.Data.DataColumn("otwuid", typeof(string), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnotwuid);
- this.columnottime = new global::System.Data.DataColumn("ottime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
- base.Columns.Add(this.columnottime);
- this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
- this.columnidx}, true));
- this.columnidx.AutoIncrement = true;
- this.columnidx.AutoIncrementSeed = -1;
- this.columnidx.AutoIncrementStep = -1;
- this.columnidx.AllowDBNull = false;
- this.columnidx.ReadOnly = true;
- this.columnidx.Unique = true;
- this.columnpdate.MaxLength = 10;
- this.columnuid.MaxLength = 20;
- this.columntype.MaxLength = 50;
- this.columnwuid.AllowDBNull = false;
- this.columnwuid.MaxLength = 20;
- this.columnwdate.AllowDBNull = false;
- this.columnusername.ReadOnly = true;
- this.columnusername.MaxLength = 200;
- this.columnrequestpart.MaxLength = 50;
- this.columnpackage.MaxLength = 50;
- this.columnstatus.MaxLength = 20;
- this.columndescription.MaxLength = 2147483647;
- this.columnremark.MaxLength = 255;
- this.columnprojectName.MaxLength = 255;
- this.columnww.ReadOnly = true;
- this.columnww.MaxLength = 6;
- this.columnprocess.MaxLength = 50;
- this.columngcode.AllowDBNull = false;
- this.columngcode.MaxLength = 10;
- this.columndescription2.MaxLength = 2147483647;
- this.columntag.MaxLength = 255;
- this.columnsvalue.ReadOnly = true;
- this.columnsvalue.MaxLength = 255;
- this.columnkisullv.MaxLength = 10;
- this.columnkisuldiv.MaxLength = 100;
- this.columnotReason.MaxLength = 255;
- this.columnFreeDay.ReadOnly = true;
- this.columnWeekName.ReadOnly = true;
- this.columnWeekName.MaxLength = 10;
- this.columnotwuid.MaxLength = 20;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public JobReportRow NewJobReportRow() {
- return ((JobReportRow)(this.NewRow()));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
- return new JobReportRow(builder);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- protected override global::System.Type GetRowType() {
- return typeof(JobReportRow);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanged(e);
- if ((this.JobReportRowChanged != null)) {
- this.JobReportRowChanged(this, new JobReportRowChangeEvent(((JobReportRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowChanging(e);
- if ((this.JobReportRowChanging != null)) {
- this.JobReportRowChanging(this, new JobReportRowChangeEvent(((JobReportRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleted(e);
- if ((this.JobReportRowDeleted != null)) {
- this.JobReportRowDeleted(this, new JobReportRowChangeEvent(((JobReportRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
- base.OnRowDeleting(e);
- if ((this.JobReportRowDeleting != null)) {
- this.JobReportRowDeleting(this, new JobReportRowChangeEvent(((JobReportRow)(e.Row)), e.Action));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void RemoveJobReportRow(JobReportRow row) {
- this.Rows.Remove(row);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
- global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
- global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
- dsPRJ ds = new dsPRJ();
- global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
- any1.Namespace = "http://www.w3.org/2001/XMLSchema";
- any1.MinOccurs = new decimal(0);
- any1.MaxOccurs = decimal.MaxValue;
- any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any1);
- global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
- any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- any2.MinOccurs = new decimal(1);
- any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
- sequence.Items.Add(any2);
- global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute1.Name = "namespace";
- attribute1.FixedValue = ds.Namespace;
- type.Attributes.Add(attribute1);
- global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
- attribute2.Name = "tableTypeName";
- attribute2.FixedValue = "JobReportDataTable";
- type.Attributes.Add(attribute2);
- type.Particle = sequence;
- global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
- if (xs.Contains(dsSchema.TargetNamespace)) {
- global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
- global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
- try {
- global::System.Xml.Schema.XmlSchema schema = null;
- dsSchema.Write(s1);
- for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
- schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
- s2.SetLength(0);
- schema.Write(s2);
- if ((s1.Length == s2.Length)) {
- s1.Position = 0;
- s2.Position = 0;
- for (; ((s1.Position != s1.Length)
- && (s1.ReadByte() == s2.ReadByte())); ) {
- ;
- }
- if ((s1.Position == s1.Length)) {
- return type;
- }
- }
- }
- }
- finally {
- if ((s1 != null)) {
- s1.Close();
- }
- if ((s2 != null)) {
- s2.Close();
- }
- }
- }
- xs.Add(dsSchema);
- return type;
- }
- }
-
///
///Represents the strongly named DataTable class.
///
@@ -11455,6 +10657,809 @@ namespace FPJ0000 {
}
}
+ ///
+ ///Represents the strongly named DataTable class.
+ ///
+ [global::System.Serializable()]
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
+ public partial class JobReportDataTable : global::System.Data.TypedTableBase {
+
+ private global::System.Data.DataColumn columngcode;
+
+ private global::System.Data.DataColumn columnidx;
+
+ private global::System.Data.DataColumn columnpidx;
+
+ private global::System.Data.DataColumn columnpdate;
+
+ private global::System.Data.DataColumn columnuid;
+
+ private global::System.Data.DataColumn columnrequestpart;
+
+ private global::System.Data.DataColumn columnpackage;
+
+ private global::System.Data.DataColumn columnstatus;
+
+ private global::System.Data.DataColumn columntype;
+
+ private global::System.Data.DataColumn columndescription;
+
+ private global::System.Data.DataColumn columnremark;
+
+ private global::System.Data.DataColumn columnhrs;
+
+ private global::System.Data.DataColumn columnimport;
+
+ private global::System.Data.DataColumn columnwuid;
+
+ private global::System.Data.DataColumn columnwdate;
+
+ private global::System.Data.DataColumn columnusername;
+
+ private global::System.Data.DataColumn columnprojectName;
+
+ private global::System.Data.DataColumn columnot;
+
+ private global::System.Data.DataColumn columnww;
+
+ private global::System.Data.DataColumn columnprocess;
+
+ private global::System.Data.DataColumn columndescription2;
+
+ private global::System.Data.DataColumn columntag;
+
+ private global::System.Data.DataColumn columnsvalue;
+
+ private global::System.Data.DataColumn columnotStart;
+
+ private global::System.Data.DataColumn columnotEnd;
+
+ private global::System.Data.DataColumn columnautoinput;
+
+ private global::System.Data.DataColumn columnkisullv;
+
+ private global::System.Data.DataColumn columnkisuldiv;
+
+ private global::System.Data.DataColumn columnkisulamt;
+
+ private global::System.Data.DataColumn columnot2;
+
+ private global::System.Data.DataColumn columnotReason;
+
+ private global::System.Data.DataColumn columnFreeDay;
+
+ private global::System.Data.DataColumn columnotwuid;
+
+ private global::System.Data.DataColumn columnottime;
+
+ private global::System.Data.DataColumn columnWeekName;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public JobReportDataTable() {
+ this.TableName = "JobReport";
+ this.BeginInit();
+ this.InitClass();
+ this.EndInit();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal JobReportDataTable(global::System.Data.DataTable table) {
+ this.TableName = table.TableName;
+ if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
+ this.CaseSensitive = table.CaseSensitive;
+ }
+ if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
+ this.Locale = table.Locale;
+ }
+ if ((table.Namespace != table.DataSet.Namespace)) {
+ this.Namespace = table.Namespace;
+ }
+ this.Prefix = table.Prefix;
+ this.MinimumCapacity = table.MinimumCapacity;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected JobReportDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
+ base(info, context) {
+ this.InitVars();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn gcodeColumn {
+ get {
+ return this.columngcode;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn idxColumn {
+ get {
+ return this.columnidx;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn pidxColumn {
+ get {
+ return this.columnpidx;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn pdateColumn {
+ get {
+ return this.columnpdate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn uidColumn {
+ get {
+ return this.columnuid;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn requestpartColumn {
+ get {
+ return this.columnrequestpart;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn packageColumn {
+ get {
+ return this.columnpackage;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn statusColumn {
+ get {
+ return this.columnstatus;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn typeColumn {
+ get {
+ return this.columntype;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn descriptionColumn {
+ get {
+ return this.columndescription;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn remarkColumn {
+ get {
+ return this.columnremark;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn hrsColumn {
+ get {
+ return this.columnhrs;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn importColumn {
+ get {
+ return this.columnimport;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn wuidColumn {
+ get {
+ return this.columnwuid;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn wdateColumn {
+ get {
+ return this.columnwdate;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn usernameColumn {
+ get {
+ return this.columnusername;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn projectNameColumn {
+ get {
+ return this.columnprojectName;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn otColumn {
+ get {
+ return this.columnot;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn wwColumn {
+ get {
+ return this.columnww;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn processColumn {
+ get {
+ return this.columnprocess;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn description2Column {
+ get {
+ return this.columndescription2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn tagColumn {
+ get {
+ return this.columntag;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn svalueColumn {
+ get {
+ return this.columnsvalue;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn otStartColumn {
+ get {
+ return this.columnotStart;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn otEndColumn {
+ get {
+ return this.columnotEnd;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn autoinputColumn {
+ get {
+ return this.columnautoinput;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn kisullvColumn {
+ get {
+ return this.columnkisullv;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn kisuldivColumn {
+ get {
+ return this.columnkisuldiv;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn kisulamtColumn {
+ get {
+ return this.columnkisulamt;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ot2Column {
+ get {
+ return this.columnot2;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn otReasonColumn {
+ get {
+ return this.columnotReason;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn FreeDayColumn {
+ get {
+ return this.columnFreeDay;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn otwuidColumn {
+ get {
+ return this.columnotwuid;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn ottimeColumn {
+ get {
+ return this.columnottime;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataColumn WeekNameColumn {
+ get {
+ return this.columnWeekName;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Browsable(false)]
+ public int Count {
+ get {
+ return this.Rows.Count;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public JobReportRow this[int index] {
+ get {
+ return ((JobReportRow)(this.Rows[index]));
+ }
+ }
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event JobReportRowChangeEventHandler JobReportRowChanging;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event JobReportRowChangeEventHandler JobReportRowChanged;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event JobReportRowChangeEventHandler JobReportRowDeleting;
+
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public event JobReportRowChangeEventHandler JobReportRowDeleted;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void AddJobReportRow(JobReportRow row) {
+ this.Rows.Add(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public JobReportRow AddJobReportRow(
+ string gcode,
+ int pidx,
+ string pdate,
+ string uid,
+ string requestpart,
+ string package,
+ string status,
+ string type,
+ string description,
+ string remark,
+ double hrs,
+ bool import,
+ string wuid,
+ System.DateTime wdate,
+ string username,
+ string projectName,
+ double ot,
+ string ww,
+ string process,
+ string description2,
+ string tag,
+ string svalue,
+ System.DateTime otStart,
+ System.DateTime otEnd,
+ bool autoinput,
+ string kisullv,
+ string kisuldiv,
+ decimal kisulamt,
+ double ot2,
+ string otReason,
+ bool FreeDay,
+ string otwuid,
+ System.DateTime ottime,
+ string WeekName) {
+ JobReportRow rowJobReportRow = ((JobReportRow)(this.NewRow()));
+ object[] columnValuesArray = new object[] {
+ gcode,
+ null,
+ pidx,
+ pdate,
+ uid,
+ requestpart,
+ package,
+ status,
+ type,
+ description,
+ remark,
+ hrs,
+ import,
+ wuid,
+ wdate,
+ username,
+ projectName,
+ ot,
+ ww,
+ process,
+ description2,
+ tag,
+ svalue,
+ otStart,
+ otEnd,
+ autoinput,
+ kisullv,
+ kisuldiv,
+ kisulamt,
+ ot2,
+ otReason,
+ FreeDay,
+ otwuid,
+ ottime,
+ WeekName};
+ rowJobReportRow.ItemArray = columnValuesArray;
+ this.Rows.Add(rowJobReportRow);
+ return rowJobReportRow;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public JobReportRow FindBygcodeidx(string gcode, int idx) {
+ return ((JobReportRow)(this.Rows.Find(new object[] {
+ gcode,
+ idx})));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public override global::System.Data.DataTable Clone() {
+ JobReportDataTable cln = ((JobReportDataTable)(base.Clone()));
+ cln.InitVars();
+ return cln;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Data.DataTable CreateInstance() {
+ return new JobReportDataTable();
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal void InitVars() {
+ this.columngcode = base.Columns["gcode"];
+ this.columnidx = base.Columns["idx"];
+ this.columnpidx = base.Columns["pidx"];
+ this.columnpdate = base.Columns["pdate"];
+ this.columnuid = base.Columns["uid"];
+ this.columnrequestpart = base.Columns["requestpart"];
+ this.columnpackage = base.Columns["package"];
+ this.columnstatus = base.Columns["status"];
+ this.columntype = base.Columns["type"];
+ this.columndescription = base.Columns["description"];
+ this.columnremark = base.Columns["remark"];
+ this.columnhrs = base.Columns["hrs"];
+ this.columnimport = base.Columns["import"];
+ this.columnwuid = base.Columns["wuid"];
+ this.columnwdate = base.Columns["wdate"];
+ this.columnusername = base.Columns["username"];
+ this.columnprojectName = base.Columns["projectName"];
+ this.columnot = base.Columns["ot"];
+ this.columnww = base.Columns["ww"];
+ this.columnprocess = base.Columns["process"];
+ this.columndescription2 = base.Columns["description2"];
+ this.columntag = base.Columns["tag"];
+ this.columnsvalue = base.Columns["svalue"];
+ this.columnotStart = base.Columns["otStart"];
+ this.columnotEnd = base.Columns["otEnd"];
+ this.columnautoinput = base.Columns["autoinput"];
+ this.columnkisullv = base.Columns["kisullv"];
+ this.columnkisuldiv = base.Columns["kisuldiv"];
+ this.columnkisulamt = base.Columns["kisulamt"];
+ this.columnot2 = base.Columns["ot2"];
+ this.columnotReason = base.Columns["otReason"];
+ this.columnFreeDay = base.Columns["FreeDay"];
+ this.columnotwuid = base.Columns["otwuid"];
+ this.columnottime = base.Columns["ottime"];
+ this.columnWeekName = base.Columns["WeekName"];
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitClass() {
+ this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columngcode);
+ this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnidx);
+ this.columnpidx = new global::System.Data.DataColumn("pidx", typeof(int), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnpidx);
+ this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnpdate);
+ this.columnuid = new global::System.Data.DataColumn("uid", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnuid);
+ this.columnrequestpart = new global::System.Data.DataColumn("requestpart", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnrequestpart);
+ this.columnpackage = new global::System.Data.DataColumn("package", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnpackage);
+ this.columnstatus = new global::System.Data.DataColumn("status", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnstatus);
+ this.columntype = new global::System.Data.DataColumn("type", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columntype);
+ this.columndescription = new global::System.Data.DataColumn("description", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndescription);
+ this.columnremark = new global::System.Data.DataColumn("remark", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnremark);
+ this.columnhrs = new global::System.Data.DataColumn("hrs", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnhrs);
+ this.columnimport = new global::System.Data.DataColumn("import", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnimport);
+ this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnwuid);
+ this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnwdate);
+ this.columnusername = new global::System.Data.DataColumn("username", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnusername);
+ this.columnprojectName = new global::System.Data.DataColumn("projectName", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnprojectName);
+ this.columnot = new global::System.Data.DataColumn("ot", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnot);
+ this.columnww = new global::System.Data.DataColumn("ww", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnww);
+ this.columnprocess = new global::System.Data.DataColumn("process", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnprocess);
+ this.columndescription2 = new global::System.Data.DataColumn("description2", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columndescription2);
+ this.columntag = new global::System.Data.DataColumn("tag", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columntag);
+ this.columnsvalue = new global::System.Data.DataColumn("svalue", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnsvalue);
+ this.columnotStart = new global::System.Data.DataColumn("otStart", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnotStart);
+ this.columnotEnd = new global::System.Data.DataColumn("otEnd", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnotEnd);
+ this.columnautoinput = new global::System.Data.DataColumn("autoinput", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnautoinput);
+ this.columnkisullv = new global::System.Data.DataColumn("kisullv", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnkisullv);
+ this.columnkisuldiv = new global::System.Data.DataColumn("kisuldiv", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnkisuldiv);
+ this.columnkisulamt = new global::System.Data.DataColumn("kisulamt", typeof(decimal), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnkisulamt);
+ this.columnot2 = new global::System.Data.DataColumn("ot2", typeof(double), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnot2);
+ this.columnotReason = new global::System.Data.DataColumn("otReason", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnotReason);
+ this.columnFreeDay = new global::System.Data.DataColumn("FreeDay", typeof(bool), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnFreeDay);
+ this.columnotwuid = new global::System.Data.DataColumn("otwuid", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnotwuid);
+ this.columnottime = new global::System.Data.DataColumn("ottime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnottime);
+ this.columnWeekName = new global::System.Data.DataColumn("WeekName", typeof(string), null, global::System.Data.MappingType.Element);
+ base.Columns.Add(this.columnWeekName);
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
+ this.columngcode,
+ this.columnidx}, true));
+ this.columngcode.AllowDBNull = false;
+ this.columngcode.MaxLength = 10;
+ this.columnidx.AutoIncrement = true;
+ this.columnidx.AutoIncrementSeed = -1;
+ this.columnidx.AutoIncrementStep = -1;
+ this.columnidx.AllowDBNull = false;
+ this.columnidx.ReadOnly = true;
+ this.columnpdate.MaxLength = 10;
+ this.columnuid.MaxLength = 20;
+ this.columnrequestpart.MaxLength = 50;
+ this.columnpackage.MaxLength = 50;
+ this.columnstatus.MaxLength = 20;
+ this.columntype.MaxLength = 50;
+ this.columndescription.MaxLength = 2147483647;
+ this.columnremark.MaxLength = 255;
+ this.columnwuid.AllowDBNull = false;
+ this.columnwuid.MaxLength = 20;
+ this.columnwdate.AllowDBNull = false;
+ this.columnusername.ReadOnly = true;
+ this.columnusername.MaxLength = 200;
+ this.columnprojectName.MaxLength = 255;
+ this.columnww.ReadOnly = true;
+ this.columnww.MaxLength = 6;
+ this.columnprocess.MaxLength = 50;
+ this.columndescription2.MaxLength = 2147483647;
+ this.columntag.MaxLength = 255;
+ this.columnsvalue.ReadOnly = true;
+ this.columnsvalue.MaxLength = 255;
+ this.columnkisullv.MaxLength = 10;
+ this.columnkisuldiv.MaxLength = 100;
+ this.columnotReason.MaxLength = 255;
+ this.columnFreeDay.ReadOnly = true;
+ this.columnotwuid.MaxLength = 20;
+ this.columnWeekName.ReadOnly = true;
+ this.columnWeekName.MaxLength = 10;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public JobReportRow NewJobReportRow() {
+ return ((JobReportRow)(this.NewRow()));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
+ return new JobReportRow(builder);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override global::System.Type GetRowType() {
+ return typeof(JobReportRow);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanged(e);
+ if ((this.JobReportRowChanged != null)) {
+ this.JobReportRowChanged(this, new JobReportRowChangeEvent(((JobReportRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowChanging(e);
+ if ((this.JobReportRowChanging != null)) {
+ this.JobReportRowChanging(this, new JobReportRowChangeEvent(((JobReportRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleted(e);
+ if ((this.JobReportRowDeleted != null)) {
+ this.JobReportRowDeleted(this, new JobReportRowChangeEvent(((JobReportRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
+ base.OnRowDeleting(e);
+ if ((this.JobReportRowDeleting != null)) {
+ this.JobReportRowDeleting(this, new JobReportRowChangeEvent(((JobReportRow)(e.Row)), e.Action));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void RemoveJobReportRow(JobReportRow row) {
+ this.Rows.Remove(row);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
+ dsPRJ ds = new dsPRJ();
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
+ any1.MinOccurs = new decimal(0);
+ any1.MaxOccurs = decimal.MaxValue;
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any1);
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
+ any2.MinOccurs = new decimal(1);
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
+ sequence.Items.Add(any2);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute1.Name = "namespace";
+ attribute1.FixedValue = ds.Namespace;
+ type.Attributes.Add(attribute1);
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
+ attribute2.Name = "tableTypeName";
+ attribute2.FixedValue = "JobReportDataTable";
+ type.Attributes.Add(attribute2);
+ type.Particle = sequence;
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
+ if (xs.Contains(dsSchema.TargetNamespace)) {
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
+ try {
+ global::System.Xml.Schema.XmlSchema schema = null;
+ dsSchema.Write(s1);
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
+ s2.SetLength(0);
+ schema.Write(s2);
+ if ((s1.Length == s2.Length)) {
+ s1.Position = 0;
+ s2.Position = 0;
+ for (; ((s1.Position != s1.Length)
+ && (s1.ReadByte() == s2.ReadByte())); ) {
+ ;
+ }
+ if ((s1.Position == s1.Length)) {
+ return type;
+ }
+ }
+ }
+ }
+ finally {
+ if ((s1 != null)) {
+ s1.Close();
+ }
+ if ((s2 != null)) {
+ s2.Close();
+ }
+ }
+ }
+ xs.Add(dsSchema);
+ return type;
+ }
+ }
+
///
///Represents the strongly named DataTable class.
///
@@ -13040,6 +13045,22 @@ namespace FPJ0000 {
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string lasthistoryD {
+ get {
+ if (this.IslasthistoryDNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableProjects.lasthistoryDColumn]));
+ }
+ }
+ set {
+ this[this.tableProjects.lasthistoryDColumn] = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsnameNull() {
@@ -13927,6 +13948,18 @@ namespace FPJ0000 {
public void Setname2Null() {
this[this.tableProjects.name2Column] = global::System.Convert.DBNull;
}
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IslasthistoryDNull() {
+ return this.IsNull(this.tableProjects.lasthistoryDColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetlasthistoryDNull() {
+ this[this.tableProjects.lasthistoryDColumn] = global::System.Convert.DBNull;
+ }
}
///
@@ -15025,961 +15058,6 @@ namespace FPJ0000 {
}
}
- ///
- ///Represents strongly named DataRow class.
- ///
- public partial class JobReportRow : global::System.Data.DataRow {
-
- private JobReportDataTable tableJobReport;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- internal JobReportRow(global::System.Data.DataRowBuilder rb) :
- base(rb) {
- this.tableJobReport = ((JobReportDataTable)(this.Table));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public int idx {
- get {
- return ((int)(this[this.tableJobReport.idxColumn]));
- }
- set {
- this[this.tableJobReport.idxColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string pdate {
- get {
- if (this.IspdateNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.pdateColumn]));
- }
- }
- set {
- this[this.tableJobReport.pdateColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string uid {
- get {
- if (this.IsuidNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.uidColumn]));
- }
- }
- set {
- this[this.tableJobReport.uidColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string type {
- get {
- if (this.IstypeNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.typeColumn]));
- }
- }
- set {
- this[this.tableJobReport.typeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public double hrs {
- get {
- if (this.IshrsNull()) {
- return 0D;
- }
- else {
- return ((double)(this[this.tableJobReport.hrsColumn]));
- }
- }
- set {
- this[this.tableJobReport.hrsColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string wuid {
- get {
- return ((string)(this[this.tableJobReport.wuidColumn]));
- }
- set {
- this[this.tableJobReport.wuidColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public System.DateTime wdate {
- get {
- return ((global::System.DateTime)(this[this.tableJobReport.wdateColumn]));
- }
- set {
- this[this.tableJobReport.wdateColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string username {
- get {
- if (this.IsusernameNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.usernameColumn]));
- }
- }
- set {
- this[this.tableJobReport.usernameColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public int pidx {
- get {
- if (this.IspidxNull()) {
- return -1;
- }
- else {
- return ((int)(this[this.tableJobReport.pidxColumn]));
- }
- }
- set {
- this[this.tableJobReport.pidxColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string requestpart {
- get {
- if (this.IsrequestpartNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.requestpartColumn]));
- }
- }
- set {
- this[this.tableJobReport.requestpartColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string package {
- get {
- if (this.IspackageNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.packageColumn]));
- }
- }
- set {
- this[this.tableJobReport.packageColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string status {
- get {
- if (this.IsstatusNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.statusColumn]));
- }
- }
- set {
- this[this.tableJobReport.statusColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string description {
- get {
- if (this.IsdescriptionNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.descriptionColumn]));
- }
- }
- set {
- this[this.tableJobReport.descriptionColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string remark {
- get {
- if (this.IsremarkNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.remarkColumn]));
- }
- }
- set {
- this[this.tableJobReport.remarkColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool import {
- get {
- if (this.IsimportNull()) {
- return false;
- }
- else {
- return ((bool)(this[this.tableJobReport.importColumn]));
- }
- }
- set {
- this[this.tableJobReport.importColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string projectName {
- get {
- if (this.IsprojectNameNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.projectNameColumn]));
- }
- }
- set {
- this[this.tableJobReport.projectNameColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string week {
- get {
- if (this.IsweekNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.weekColumn]));
- }
- }
- set {
- this[this.tableJobReport.weekColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public double ot {
- get {
- if (this.IsotNull()) {
- return 0D;
- }
- else {
- return ((double)(this[this.tableJobReport.otColumn]));
- }
- }
- set {
- this[this.tableJobReport.otColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string ww {
- get {
- if (this.IswwNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.wwColumn]));
- }
- }
- set {
- this[this.tableJobReport.wwColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string process {
- get {
- if (this.IsprocessNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.processColumn]));
- }
- }
- set {
- this[this.tableJobReport.processColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string gcode {
- get {
- return ((string)(this[this.tableJobReport.gcodeColumn]));
- }
- set {
- this[this.tableJobReport.gcodeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string description2 {
- get {
- if (this.Isdescription2Null()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.description2Column]));
- }
- }
- set {
- this[this.tableJobReport.description2Column] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string tag {
- get {
- if (this.IstagNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.tagColumn]));
- }
- }
- set {
- this[this.tableJobReport.tagColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string svalue {
- get {
- try {
- return ((string)(this[this.tableJobReport.svalueColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'JobReport\' 테이블의 \'svalue\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableJobReport.svalueColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public System.DateTime otStart {
- get {
- try {
- return ((global::System.DateTime)(this[this.tableJobReport.otStartColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'JobReport\' 테이블의 \'otStart\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableJobReport.otStartColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public System.DateTime otEnd {
- get {
- try {
- return ((global::System.DateTime)(this[this.tableJobReport.otEndColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'JobReport\' 테이블의 \'otEnd\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableJobReport.otEndColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool autoinput {
- get {
- if (this.IsautoinputNull()) {
- return false;
- }
- else {
- return ((bool)(this[this.tableJobReport.autoinputColumn]));
- }
- }
- set {
- this[this.tableJobReport.autoinputColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string kisullv {
- get {
- if (this.IskisullvNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.kisullvColumn]));
- }
- }
- set {
- this[this.tableJobReport.kisullvColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string kisuldiv {
- get {
- if (this.IskisuldivNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.kisuldivColumn]));
- }
- }
- set {
- this[this.tableJobReport.kisuldivColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public decimal kisulamt {
- get {
- if (this.IskisulamtNull()) {
- return 0m;
- }
- else {
- return ((decimal)(this[this.tableJobReport.kisulamtColumn]));
- }
- }
- set {
- this[this.tableJobReport.kisulamtColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public double ot2 {
- get {
- if (this.Isot2Null()) {
- return 0D;
- }
- else {
- return ((double)(this[this.tableJobReport.ot2Column]));
- }
- }
- set {
- this[this.tableJobReport.ot2Column] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string otReason {
- get {
- if (this.IsotReasonNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.otReasonColumn]));
- }
- }
- set {
- this[this.tableJobReport.otReasonColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool FreeDay {
- get {
- if (this.IsFreeDayNull()) {
- return false;
- }
- else {
- return ((bool)(this[this.tableJobReport.FreeDayColumn]));
- }
- }
- set {
- this[this.tableJobReport.FreeDayColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string WeekName {
- get {
- if (this.IsWeekNameNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.WeekNameColumn]));
- }
- }
- set {
- this[this.tableJobReport.WeekNameColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public string otwuid {
- get {
- if (this.IsotwuidNull()) {
- return string.Empty;
- }
- else {
- return ((string)(this[this.tableJobReport.otwuidColumn]));
- }
- }
- set {
- this[this.tableJobReport.otwuidColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public System.DateTime ottime {
- get {
- try {
- return ((global::System.DateTime)(this[this.tableJobReport.ottimeColumn]));
- }
- catch (global::System.InvalidCastException e) {
- throw new global::System.Data.StrongTypingException("\'JobReport\' 테이블의 \'ottime\' 열의 값이 DBNull입니다.", e);
- }
- }
- set {
- this[this.tableJobReport.ottimeColumn] = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IspdateNull() {
- return this.IsNull(this.tableJobReport.pdateColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetpdateNull() {
- this[this.tableJobReport.pdateColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsuidNull() {
- return this.IsNull(this.tableJobReport.uidColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetuidNull() {
- this[this.tableJobReport.uidColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IstypeNull() {
- return this.IsNull(this.tableJobReport.typeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SettypeNull() {
- this[this.tableJobReport.typeColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IshrsNull() {
- return this.IsNull(this.tableJobReport.hrsColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SethrsNull() {
- this[this.tableJobReport.hrsColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsusernameNull() {
- return this.IsNull(this.tableJobReport.usernameColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetusernameNull() {
- this[this.tableJobReport.usernameColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IspidxNull() {
- return this.IsNull(this.tableJobReport.pidxColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetpidxNull() {
- this[this.tableJobReport.pidxColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsrequestpartNull() {
- return this.IsNull(this.tableJobReport.requestpartColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetrequestpartNull() {
- this[this.tableJobReport.requestpartColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IspackageNull() {
- return this.IsNull(this.tableJobReport.packageColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetpackageNull() {
- this[this.tableJobReport.packageColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsstatusNull() {
- return this.IsNull(this.tableJobReport.statusColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetstatusNull() {
- this[this.tableJobReport.statusColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsdescriptionNull() {
- return this.IsNull(this.tableJobReport.descriptionColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetdescriptionNull() {
- this[this.tableJobReport.descriptionColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsremarkNull() {
- return this.IsNull(this.tableJobReport.remarkColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetremarkNull() {
- this[this.tableJobReport.remarkColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsimportNull() {
- return this.IsNull(this.tableJobReport.importColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetimportNull() {
- this[this.tableJobReport.importColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsprojectNameNull() {
- return this.IsNull(this.tableJobReport.projectNameColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetprojectNameNull() {
- this[this.tableJobReport.projectNameColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsweekNull() {
- return this.IsNull(this.tableJobReport.weekColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetweekNull() {
- this[this.tableJobReport.weekColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsotNull() {
- return this.IsNull(this.tableJobReport.otColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetotNull() {
- this[this.tableJobReport.otColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IswwNull() {
- return this.IsNull(this.tableJobReport.wwColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetwwNull() {
- this[this.tableJobReport.wwColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsprocessNull() {
- return this.IsNull(this.tableJobReport.processColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetprocessNull() {
- this[this.tableJobReport.processColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool Isdescription2Null() {
- return this.IsNull(this.tableJobReport.description2Column);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void Setdescription2Null() {
- this[this.tableJobReport.description2Column] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IstagNull() {
- return this.IsNull(this.tableJobReport.tagColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SettagNull() {
- this[this.tableJobReport.tagColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IssvalueNull() {
- return this.IsNull(this.tableJobReport.svalueColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetsvalueNull() {
- this[this.tableJobReport.svalueColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsotStartNull() {
- return this.IsNull(this.tableJobReport.otStartColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetotStartNull() {
- this[this.tableJobReport.otStartColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsotEndNull() {
- return this.IsNull(this.tableJobReport.otEndColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetotEndNull() {
- this[this.tableJobReport.otEndColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsautoinputNull() {
- return this.IsNull(this.tableJobReport.autoinputColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetautoinputNull() {
- this[this.tableJobReport.autoinputColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IskisullvNull() {
- return this.IsNull(this.tableJobReport.kisullvColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetkisullvNull() {
- this[this.tableJobReport.kisullvColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IskisuldivNull() {
- return this.IsNull(this.tableJobReport.kisuldivColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetkisuldivNull() {
- this[this.tableJobReport.kisuldivColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IskisulamtNull() {
- return this.IsNull(this.tableJobReport.kisulamtColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetkisulamtNull() {
- this[this.tableJobReport.kisulamtColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool Isot2Null() {
- return this.IsNull(this.tableJobReport.ot2Column);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void Setot2Null() {
- this[this.tableJobReport.ot2Column] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsotReasonNull() {
- return this.IsNull(this.tableJobReport.otReasonColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetotReasonNull() {
- this[this.tableJobReport.otReasonColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsFreeDayNull() {
- return this.IsNull(this.tableJobReport.FreeDayColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetFreeDayNull() {
- this[this.tableJobReport.FreeDayColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsWeekNameNull() {
- return this.IsNull(this.tableJobReport.WeekNameColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetWeekNameNull() {
- this[this.tableJobReport.WeekNameColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsotwuidNull() {
- return this.IsNull(this.tableJobReport.otwuidColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetotwuidNull() {
- this[this.tableJobReport.otwuidColumn] = global::System.Convert.DBNull;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool IsottimeNull() {
- return this.IsNull(this.tableJobReport.ottimeColumn);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public void SetottimeNull() {
- this[this.tableJobReport.ottimeColumn] = global::System.Convert.DBNull;
- }
- }
-
///
///Represents strongly named DataRow class.
///
@@ -22004,6 +21082,933 @@ namespace FPJ0000 {
}
}
+ ///
+ ///Represents strongly named DataRow class.
+ ///
+ public partial class JobReportRow : global::System.Data.DataRow {
+
+ private JobReportDataTable tableJobReport;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal JobReportRow(global::System.Data.DataRowBuilder rb) :
+ base(rb) {
+ this.tableJobReport = ((JobReportDataTable)(this.Table));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string gcode {
+ get {
+ return ((string)(this[this.tableJobReport.gcodeColumn]));
+ }
+ set {
+ this[this.tableJobReport.gcodeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public int idx {
+ get {
+ return ((int)(this[this.tableJobReport.idxColumn]));
+ }
+ set {
+ this[this.tableJobReport.idxColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public int pidx {
+ get {
+ try {
+ return ((int)(this[this.tableJobReport.pidxColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'JobReport\' 테이블의 \'pidx\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableJobReport.pidxColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string pdate {
+ get {
+ if (this.IspdateNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.pdateColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.pdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string uid {
+ get {
+ if (this.IsuidNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.uidColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.uidColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string requestpart {
+ get {
+ if (this.IsrequestpartNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.requestpartColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.requestpartColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string package {
+ get {
+ if (this.IspackageNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.packageColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.packageColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string status {
+ get {
+ if (this.IsstatusNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.statusColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.statusColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string type {
+ get {
+ if (this.IstypeNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.typeColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.typeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string description {
+ get {
+ if (this.IsdescriptionNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.descriptionColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.descriptionColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string remark {
+ get {
+ if (this.IsremarkNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.remarkColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.remarkColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public double hrs {
+ get {
+ if (this.IshrsNull()) {
+ return 0D;
+ }
+ else {
+ return ((double)(this[this.tableJobReport.hrsColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.hrsColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool import {
+ get {
+ if (this.IsimportNull()) {
+ return false;
+ }
+ else {
+ return ((bool)(this[this.tableJobReport.importColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.importColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string wuid {
+ get {
+ return ((string)(this[this.tableJobReport.wuidColumn]));
+ }
+ set {
+ this[this.tableJobReport.wuidColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public System.DateTime wdate {
+ get {
+ return ((global::System.DateTime)(this[this.tableJobReport.wdateColumn]));
+ }
+ set {
+ this[this.tableJobReport.wdateColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string username {
+ get {
+ if (this.IsusernameNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.usernameColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.usernameColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string projectName {
+ get {
+ if (this.IsprojectNameNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.projectNameColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.projectNameColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public double ot {
+ get {
+ if (this.IsotNull()) {
+ return 0D;
+ }
+ else {
+ return ((double)(this[this.tableJobReport.otColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.otColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string ww {
+ get {
+ if (this.IswwNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.wwColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.wwColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string process {
+ get {
+ if (this.IsprocessNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.processColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.processColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string description2 {
+ get {
+ if (this.Isdescription2Null()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.description2Column]));
+ }
+ }
+ set {
+ this[this.tableJobReport.description2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string tag {
+ get {
+ if (this.IstagNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.tagColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.tagColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string svalue {
+ get {
+ if (this.IssvalueNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.svalueColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.svalueColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public System.DateTime otStart {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableJobReport.otStartColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'JobReport\' 테이블의 \'otStart\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableJobReport.otStartColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public System.DateTime otEnd {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableJobReport.otEndColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'JobReport\' 테이블의 \'otEnd\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableJobReport.otEndColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool autoinput {
+ get {
+ if (this.IsautoinputNull()) {
+ return false;
+ }
+ else {
+ return ((bool)(this[this.tableJobReport.autoinputColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.autoinputColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string kisullv {
+ get {
+ if (this.IskisullvNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.kisullvColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.kisullvColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string kisuldiv {
+ get {
+ if (this.IskisuldivNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.kisuldivColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.kisuldivColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public decimal kisulamt {
+ get {
+ if (this.IskisulamtNull()) {
+ return 0m;
+ }
+ else {
+ return ((decimal)(this[this.tableJobReport.kisulamtColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.kisulamtColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public double ot2 {
+ get {
+ if (this.Isot2Null()) {
+ return 0D;
+ }
+ else {
+ return ((double)(this[this.tableJobReport.ot2Column]));
+ }
+ }
+ set {
+ this[this.tableJobReport.ot2Column] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string otReason {
+ get {
+ if (this.IsotReasonNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.otReasonColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.otReasonColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool FreeDay {
+ get {
+ if (this.IsFreeDayNull()) {
+ return false;
+ }
+ else {
+ return ((bool)(this[this.tableJobReport.FreeDayColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.FreeDayColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string otwuid {
+ get {
+ if (this.IsotwuidNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.otwuidColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.otwuidColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public System.DateTime ottime {
+ get {
+ try {
+ return ((global::System.DateTime)(this[this.tableJobReport.ottimeColumn]));
+ }
+ catch (global::System.InvalidCastException e) {
+ throw new global::System.Data.StrongTypingException("\'JobReport\' 테이블의 \'ottime\' 열의 값이 DBNull입니다.", e);
+ }
+ }
+ set {
+ this[this.tableJobReport.ottimeColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public string WeekName {
+ get {
+ if (this.IsWeekNameNull()) {
+ return string.Empty;
+ }
+ else {
+ return ((string)(this[this.tableJobReport.WeekNameColumn]));
+ }
+ }
+ set {
+ this[this.tableJobReport.WeekNameColumn] = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IspidxNull() {
+ return this.IsNull(this.tableJobReport.pidxColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetpidxNull() {
+ this[this.tableJobReport.pidxColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IspdateNull() {
+ return this.IsNull(this.tableJobReport.pdateColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetpdateNull() {
+ this[this.tableJobReport.pdateColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsuidNull() {
+ return this.IsNull(this.tableJobReport.uidColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetuidNull() {
+ this[this.tableJobReport.uidColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsrequestpartNull() {
+ return this.IsNull(this.tableJobReport.requestpartColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetrequestpartNull() {
+ this[this.tableJobReport.requestpartColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IspackageNull() {
+ return this.IsNull(this.tableJobReport.packageColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetpackageNull() {
+ this[this.tableJobReport.packageColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsstatusNull() {
+ return this.IsNull(this.tableJobReport.statusColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetstatusNull() {
+ this[this.tableJobReport.statusColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IstypeNull() {
+ return this.IsNull(this.tableJobReport.typeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SettypeNull() {
+ this[this.tableJobReport.typeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsdescriptionNull() {
+ return this.IsNull(this.tableJobReport.descriptionColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetdescriptionNull() {
+ this[this.tableJobReport.descriptionColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsremarkNull() {
+ return this.IsNull(this.tableJobReport.remarkColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetremarkNull() {
+ this[this.tableJobReport.remarkColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IshrsNull() {
+ return this.IsNull(this.tableJobReport.hrsColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SethrsNull() {
+ this[this.tableJobReport.hrsColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsimportNull() {
+ return this.IsNull(this.tableJobReport.importColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetimportNull() {
+ this[this.tableJobReport.importColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsusernameNull() {
+ return this.IsNull(this.tableJobReport.usernameColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetusernameNull() {
+ this[this.tableJobReport.usernameColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsprojectNameNull() {
+ return this.IsNull(this.tableJobReport.projectNameColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetprojectNameNull() {
+ this[this.tableJobReport.projectNameColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsotNull() {
+ return this.IsNull(this.tableJobReport.otColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetotNull() {
+ this[this.tableJobReport.otColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IswwNull() {
+ return this.IsNull(this.tableJobReport.wwColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetwwNull() {
+ this[this.tableJobReport.wwColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsprocessNull() {
+ return this.IsNull(this.tableJobReport.processColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetprocessNull() {
+ this[this.tableJobReport.processColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool Isdescription2Null() {
+ return this.IsNull(this.tableJobReport.description2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void Setdescription2Null() {
+ this[this.tableJobReport.description2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IstagNull() {
+ return this.IsNull(this.tableJobReport.tagColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SettagNull() {
+ this[this.tableJobReport.tagColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IssvalueNull() {
+ return this.IsNull(this.tableJobReport.svalueColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetsvalueNull() {
+ this[this.tableJobReport.svalueColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsotStartNull() {
+ return this.IsNull(this.tableJobReport.otStartColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetotStartNull() {
+ this[this.tableJobReport.otStartColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsotEndNull() {
+ return this.IsNull(this.tableJobReport.otEndColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetotEndNull() {
+ this[this.tableJobReport.otEndColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsautoinputNull() {
+ return this.IsNull(this.tableJobReport.autoinputColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetautoinputNull() {
+ this[this.tableJobReport.autoinputColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IskisullvNull() {
+ return this.IsNull(this.tableJobReport.kisullvColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetkisullvNull() {
+ this[this.tableJobReport.kisullvColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IskisuldivNull() {
+ return this.IsNull(this.tableJobReport.kisuldivColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetkisuldivNull() {
+ this[this.tableJobReport.kisuldivColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IskisulamtNull() {
+ return this.IsNull(this.tableJobReport.kisulamtColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetkisulamtNull() {
+ this[this.tableJobReport.kisulamtColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool Isot2Null() {
+ return this.IsNull(this.tableJobReport.ot2Column);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void Setot2Null() {
+ this[this.tableJobReport.ot2Column] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsotReasonNull() {
+ return this.IsNull(this.tableJobReport.otReasonColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetotReasonNull() {
+ this[this.tableJobReport.otReasonColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsFreeDayNull() {
+ return this.IsNull(this.tableJobReport.FreeDayColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetFreeDayNull() {
+ this[this.tableJobReport.FreeDayColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsotwuidNull() {
+ return this.IsNull(this.tableJobReport.otwuidColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetotwuidNull() {
+ this[this.tableJobReport.otwuidColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsottimeNull() {
+ return this.IsNull(this.tableJobReport.ottimeColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetottimeNull() {
+ this[this.tableJobReport.ottimeColumn] = global::System.Convert.DBNull;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool IsWeekNameNull() {
+ return this.IsNull(this.tableJobReport.WeekNameColumn);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public void SetWeekNameNull() {
+ this[this.tableJobReport.WeekNameColumn] = global::System.Convert.DBNull;
+ }
+ }
+
///
///Represents strongly named DataRow class.
///
@@ -22334,40 +22339,6 @@ namespace FPJ0000 {
}
}
- ///
- ///Row event argument class
- ///
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public class JobReportRowChangeEvent : global::System.EventArgs {
-
- private JobReportRow eventRow;
-
- private global::System.Data.DataRowAction eventAction;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public JobReportRowChangeEvent(JobReportRow row, global::System.Data.DataRowAction action) {
- this.eventRow = row;
- this.eventAction = action;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public JobReportRow Row {
- get {
- return this.eventRow;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public global::System.Data.DataRowAction Action {
- get {
- return this.eventAction;
- }
- }
- }
-
///
///Row event argument class
///
@@ -22776,6 +22747,40 @@ namespace FPJ0000 {
}
}
+ ///
+ ///Row event argument class
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public class JobReportRowChangeEvent : global::System.EventArgs {
+
+ private JobReportRow eventRow;
+
+ private global::System.Data.DataRowAction eventAction;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public JobReportRowChangeEvent(JobReportRow row, global::System.Data.DataRowAction action) {
+ this.eventRow = row;
+ this.eventAction = action;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public JobReportRow Row {
+ get {
+ return this.eventRow;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public global::System.Data.DataRowAction Action {
+ get {
+ return this.eventAction;
+ }
+ }
+ }
+
///
///Row event argument class
///
@@ -23009,6 +23014,7 @@ namespace FPJ0000.dsPRJTableAdapters {
tableMapping.ColumnMappings.Add("kdate", "kdate");
tableMapping.ColumnMappings.Add("jasmin", "jasmin");
tableMapping.ColumnMappings.Add("sfi", "sfi");
+ tableMapping.ColumnMappings.Add("lasthistoryD", "lasthistoryD");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
@@ -23192,18 +23198,26 @@ namespace FPJ0000.dsPRJTableAdapters {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = @"SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, remark_req, remark_ans, ddate,
- progress, import, asset, isdel, path, userhw2, orderno, dbo.getLastHistory(idx) AS lasthistory, gcode, category, userprocess, CMP_Background, CMP_Description, CMP_Before, CMP_After,
- bCost, bFanOut, div, crdue, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid,
- dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid)
- AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly,
- ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin, sfi
-FROM Projects
-WHERE (status LIKE @state) AND (ISNULL(userManager, '') LIKE @username OR
- ISNULL(usermain, '') LIKE @username OR
- ISNULL(usersub, '') LIKE @username) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode)
-ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소')
- THEN '9' ELSE '5' END)";
+ this._commandCollection[0].CommandText = "SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odat" +
+ "e, memo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn" +
+ ", cnt, remark_req, remark_ans, ddate, \r\n progress, import, asset, " +
+ "isdel, path, userhw2, orderno, dbo.getLastHistory(idx) AS lasthistory, gcode, ca" +
+ "tegory, userprocess, CMP_Background, CMP_Description, CMP_Before, CMP_After, \r\n " +
+ " bCost, bFanOut, div, crdue, dbo.getScheduleProgressI(idx) AS Progr" +
+ "essPrj, \'\' AS wws, \'\' AS wwo, \'\' AS wwe, \'\' AS wwd, model, serial, bdate, qdate," +
+ " cdate, championid, \r\n dbo.getProjectFinishRate(gcode, idx) AS fin" +
+ "ishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid)" +
+ " AS name_champion, dbo.getUserName(designid) \r\n AS name_design, db" +
+ "o.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_ep" +
+ "anel, dbo.getUserName(softwareid) AS name_software, userAssembly, \r\n " +
+ " ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin, sfi, dbo.getLastH" +
+ "istoryD(idx) AS lasthistoryD\r\nFROM Projects\r\nWHERE (status LIKE @state) AND" +
+ " (ISNULL(userManager, \'\') LIKE @username OR\r\n ISNULL(usermain, \'\')" +
+ " LIKE @username OR\r\n ISNULL(usersub, \'\') LIKE @username) AND (ISNU" +
+ "LL(isdel, 0) = 0) AND (gcode = @gcode)\r\nORDER BY (CASE WHEN [status] = \'검토\' THEN" +
+ " \'0\' WHEN ([status] = \'진행\') THEN \'1\' WHEN ([status] = \'보류\') THEN \'2\' WHEN ([stat" +
+ "us] = \'완료\') THEN \'3\' WHEN ([status] = \'취소\') \r\n THEN \'9\' ELSE \'5\' E" +
+ "ND)";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@username", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -26922,1897 +26936,6 @@ ORDER BY Project, no, ItemGroup, option1, ItemName";
}
}
- ///
- ///Represents the connection and commands used to retrieve and save data.
- ///
- [global::System.ComponentModel.DesignerCategoryAttribute("code")]
- [global::System.ComponentModel.ToolboxItem(true)]
- [global::System.ComponentModel.DataObjectAttribute(true)]
- [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
- ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public partial class JobReportTableAdapter : global::System.ComponentModel.Component {
-
- private global::System.Data.SqlClient.SqlDataAdapter _adapter;
-
- private global::System.Data.SqlClient.SqlConnection _connection;
-
- private global::System.Data.SqlClient.SqlTransaction _transaction;
-
- private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
-
- private bool _clearBeforeFill;
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public JobReportTableAdapter() {
- this.ClearBeforeFill = true;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
- get {
- if ((this._adapter == null)) {
- this.InitAdapter();
- }
- return this._adapter;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- internal global::System.Data.SqlClient.SqlConnection Connection {
- get {
- if ((this._connection == null)) {
- this.InitConnection();
- }
- return this._connection;
- }
- set {
- this._connection = value;
- if ((this.Adapter.InsertCommand != null)) {
- this.Adapter.InsertCommand.Connection = value;
- }
- if ((this.Adapter.DeleteCommand != null)) {
- this.Adapter.DeleteCommand.Connection = value;
- }
- if ((this.Adapter.UpdateCommand != null)) {
- this.Adapter.UpdateCommand.Connection = value;
- }
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
- if ((this.CommandCollection[i] != null)) {
- ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
- }
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- internal global::System.Data.SqlClient.SqlTransaction Transaction {
- get {
- return this._transaction;
- }
- set {
- this._transaction = value;
- for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
- this.CommandCollection[i].Transaction = this._transaction;
- }
- if (((this.Adapter != null)
- && (this.Adapter.DeleteCommand != null))) {
- this.Adapter.DeleteCommand.Transaction = this._transaction;
- }
- if (((this.Adapter != null)
- && (this.Adapter.InsertCommand != null))) {
- this.Adapter.InsertCommand.Transaction = this._transaction;
- }
- if (((this.Adapter != null)
- && (this.Adapter.UpdateCommand != null))) {
- this.Adapter.UpdateCommand.Transaction = this._transaction;
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
- get {
- if ((this._commandCollection == null)) {
- this.InitCommandCollection();
- }
- return this._commandCollection;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- public bool ClearBeforeFill {
- get {
- return this._clearBeforeFill;
- }
- set {
- this._clearBeforeFill = value;
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- private void InitAdapter() {
- this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
- global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
- tableMapping.SourceTable = "Table";
- tableMapping.DataSetTable = "JobReport";
- tableMapping.ColumnMappings.Add("idx", "idx");
- tableMapping.ColumnMappings.Add("pdate", "pdate");
- tableMapping.ColumnMappings.Add("uid", "uid");
- tableMapping.ColumnMappings.Add("type", "type");
- tableMapping.ColumnMappings.Add("hrs", "hrs");
- tableMapping.ColumnMappings.Add("wuid", "wuid");
- tableMapping.ColumnMappings.Add("wdate", "wdate");
- tableMapping.ColumnMappings.Add("username", "username");
- tableMapping.ColumnMappings.Add("pidx", "pidx");
- tableMapping.ColumnMappings.Add("requestpart", "requestpart");
- tableMapping.ColumnMappings.Add("package", "package");
- tableMapping.ColumnMappings.Add("status", "status");
- tableMapping.ColumnMappings.Add("description", "description");
- tableMapping.ColumnMappings.Add("remark", "remark");
- tableMapping.ColumnMappings.Add("import", "import");
- tableMapping.ColumnMappings.Add("projectName", "projectName");
- tableMapping.ColumnMappings.Add("ot", "ot");
- tableMapping.ColumnMappings.Add("ww", "ww");
- tableMapping.ColumnMappings.Add("process", "process");
- tableMapping.ColumnMappings.Add("gcode", "gcode");
- tableMapping.ColumnMappings.Add("description2", "description2");
- tableMapping.ColumnMappings.Add("tag", "tag");
- tableMapping.ColumnMappings.Add("svalue", "svalue");
- tableMapping.ColumnMappings.Add("otStart", "otStart");
- tableMapping.ColumnMappings.Add("otEnd", "otEnd");
- tableMapping.ColumnMappings.Add("autoinput", "autoinput");
- tableMapping.ColumnMappings.Add("kisullv", "kisullv");
- tableMapping.ColumnMappings.Add("kisuldiv", "kisuldiv");
- tableMapping.ColumnMappings.Add("kisulamt", "kisulamt");
- tableMapping.ColumnMappings.Add("ot2", "ot2");
- tableMapping.ColumnMappings.Add("otReason", "otReason");
- tableMapping.ColumnMappings.Add("FreeDay", "FreeDay");
- tableMapping.ColumnMappings.Add("WeekName", "WeekName");
- tableMapping.ColumnMappings.Add("otwuid", "otwuid");
- tableMapping.ColumnMappings.Add("ottime", "ottime");
- this._adapter.TableMappings.Add(tableMapping);
- this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
- this._adapter.DeleteCommand.Connection = this.Connection;
- this._adapter.DeleteCommand.CommandText = "DELETE FROM [JobReport] WHERE (([idx] = @Original_idx) AND ((@IsNull_pidx = 1 AND" +
- " [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_pdate = 1 AND [pdat" +
- "e] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS N" +
- "ULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart]" +
- " IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 " +
- "AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status " +
- "= 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type =" +
- " 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_remark = 1 AN" +
- "D [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND " +
- "[hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_import = 1 AND [import]" +
- " IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([" +
- "wdate] = @Original_wdate) AND ((@IsNull_projectName = 1 AND [projectName] IS NUL" +
- "L) OR ([projectName] = @Original_projectName)) AND ((@IsNull_ot = 1 AND [ot] IS " +
- "NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_process = 1 AND [process] IS NULL)" +
- " OR ([process] = @Original_process)) AND ([gcode] = @Original_gcode) AND ((@IsNu" +
- "ll_tag = 1 AND [tag] IS NULL) OR ([tag] = @Original_tag)) AND ((@IsNull_otStart " +
- "= 1 AND [otStart] IS NULL) OR ([otStart] = @Original_otStart)) AND ((@IsNull_otE" +
- "nd = 1 AND [otEnd] IS NULL) OR ([otEnd] = @Original_otEnd)) AND ((@IsNull_autoin" +
- "put = 1 AND [autoinput] IS NULL) OR ([autoinput] = @Original_autoinput)) AND ((@" +
- "IsNull_kisullv = 1 AND [kisullv] IS NULL) OR ([kisullv] = @Original_kisullv)) AN" +
- "D ((@IsNull_kisuldiv = 1 AND [kisuldiv] IS NULL) OR ([kisuldiv] = @Original_kisu" +
- "ldiv)) AND ((@IsNull_kisulamt = 1 AND [kisulamt] IS NULL) OR ([kisulamt] = @Orig" +
- "inal_kisulamt)) AND ((@IsNull_ot2 = 1 AND [ot2] IS NULL) OR ([ot2] = @Original_o" +
- "t2)) AND ((@IsNull_otReason = 1 AND [otReason] IS NULL) OR ([otReason] = @Origin" +
- "al_otReason)) AND ((@IsNull_otwuid = 1 AND [otwuid] IS NULL) OR ([otwuid] = @Ori" +
- "ginal_otwuid)) AND ((@IsNull_ottime = 1 AND [ottime] IS NULL) OR ([ottime] = @Or" +
- "iginal_ottime)))";
- this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_requestpart", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_requestpart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_package", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_package", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_hrs", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_hrs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_tag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otStart", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otStart", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otStart", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otStart", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otEnd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otEnd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otEnd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otEnd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_autoinput", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_autoinput", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kisullv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisullv", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kisullv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisullv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kisuldiv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisuldiv", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kisuldiv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisuldiv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kisulamt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisulamt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kisulamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 3, "kisulamt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ot2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ot2", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otReason", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otReason", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otReason", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otReason", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otwuid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otwuid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otwuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otwuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ottime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ottime", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ottime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ottime", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
- this._adapter.InsertCommand.Connection = this.Connection;
- this._adapter.InsertCommand.CommandText = @"INSERT INTO [JobReport] ([pidx], [pdate], [uid], [requestpart], [package], [status], [type], [description], [remark], [hrs], [import], [wuid], [wdate], [projectName], [ot], [process], [gcode], [description2], [tag], [otStart], [otEnd], [autoinput], [kisullv], [kisuldiv], [kisulamt], [ot2], [otReason], [otwuid], [ottime]) VALUES (@pidx, @pdate, @uid, @requestpart, @package, @status, @type, @description, @remark, @hrs, @import, @wuid, @wdate, @projectName, @ot, @process, @gcode, @description2, @tag, @otStart, @otEnd, @autoinput, @kisullv, @kisuldiv, @kisulamt, @ot2, @otReason, @otwuid, @ottime);
-SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww, process, gcode, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason, dbo.IsHoliday(pdate) AS FreeDay, dbo.GetWeekName(pdate) AS WeekName, otwuid, ottime FROM JobReport WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC";
- this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@requestpart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@package", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@description", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "description", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@hrs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@description2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "description2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otStart", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otStart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otEnd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otEnd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@autoinput", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kisullv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisullv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kisuldiv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisuldiv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kisulamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 3, "kisulamt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ot2", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otReason", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otReason", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otwuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otwuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ottime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ottime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
- this._adapter.UpdateCommand.Connection = this.Connection;
- this._adapter.UpdateCommand.CommandText = "UPDATE [JobReport] SET [pidx] = @pidx, [pdate] = @pdate, [uid] = @uid, [requestpa" +
- "rt] = @requestpart, [package] = @package, [status] = @status, [type] = @type, [d" +
- "escription] = @description, [remark] = @remark, [hrs] = @hrs, [import] = @import" +
- ", [wuid] = @wuid, [wdate] = @wdate, [projectName] = @projectName, [ot] = @ot, [p" +
- "rocess] = @process, [gcode] = @gcode, [description2] = @description2, [tag] = @t" +
- "ag, [otStart] = @otStart, [otEnd] = @otEnd, [autoinput] = @autoinput, [kisullv] " +
- "= @kisullv, [kisuldiv] = @kisuldiv, [kisulamt] = @kisulamt, [ot2] = @ot2, [otRea" +
- "son] = @otReason, [otwuid] = @otwuid, [ottime] = @ottime WHERE (([idx] = @Origin" +
- "al_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx))" +
- " AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AN" +
- "D ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull" +
- "_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_reques" +
- "tpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Origin" +
- "al_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Orig" +
- "inal_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_" +
- "type)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_r" +
- "emark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND" +
- " ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AN" +
- "D ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_projec" +
- "tName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName))" +
- " AND ((@IsNull_ot = 1 AND [ot] IS NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_" +
- "process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ([gco" +
- "de] = @Original_gcode) AND ((@IsNull_tag = 1 AND [tag] IS NULL) OR ([tag] = @Ori" +
- "ginal_tag)) AND ((@IsNull_otStart = 1 AND [otStart] IS NULL) OR ([otStart] = @Or" +
- "iginal_otStart)) AND ((@IsNull_otEnd = 1 AND [otEnd] IS NULL) OR ([otEnd] = @Ori" +
- "ginal_otEnd)) AND ((@IsNull_autoinput = 1 AND [autoinput] IS NULL) OR ([autoinpu" +
- "t] = @Original_autoinput)) AND ((@IsNull_kisullv = 1 AND [kisullv] IS NULL) OR (" +
- "[kisullv] = @Original_kisullv)) AND ((@IsNull_kisuldiv = 1 AND [kisuldiv] IS NUL" +
- "L) OR ([kisuldiv] = @Original_kisuldiv)) AND ((@IsNull_kisulamt = 1 AND [kisulam" +
- "t] IS NULL) OR ([kisulamt] = @Original_kisulamt)) AND ((@IsNull_ot2 = 1 AND [ot2" +
- "] IS NULL) OR ([ot2] = @Original_ot2)) AND ((@IsNull_otReason = 1 AND [otReason]" +
- " IS NULL) OR ([otReason] = @Original_otReason)) AND ((@IsNull_otwuid = 1 AND [ot" +
- "wuid] IS NULL) OR ([otwuid] = @Original_otwuid)) AND ((@IsNull_ottime = 1 AND [o" +
- "ttime] IS NULL) OR ([ottime] = @Original_ottime)));\r\nSELECT idx, pidx, pdate, ui" +
- "d, requestpart, package, status, type, description, remark, hrs, import, wuid, w" +
- "date, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) " +
- "AS ww, process, gcode, description2, tag, dbo.getCodeSValue(gcode, \'15\', type) A" +
- "S svalue, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason," +
- " dbo.IsHoliday(pdate) AS FreeDay, dbo.GetWeekName(pdate) AS WeekName, otwuid, ot" +
- "time FROM JobReport WHERE (idx = @idx) ORDER BY pdate DESC";
- this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@requestpart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@package", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@description", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "description", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@hrs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@description2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "description2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otStart", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otStart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otEnd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otEnd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@autoinput", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kisullv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisullv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kisuldiv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisuldiv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kisulamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 3, "kisulamt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ot2", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otReason", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otReason", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otwuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otwuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ottime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ottime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_requestpart", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_requestpart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_package", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_package", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_hrs", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_hrs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_tag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otStart", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otStart", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otStart", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otStart", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otEnd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otEnd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otEnd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otEnd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_autoinput", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_autoinput", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kisullv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisullv", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kisullv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisullv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kisuldiv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisuldiv", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kisuldiv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisuldiv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kisulamt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisulamt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kisulamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 3, "kisulamt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ot2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ot2", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otReason", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otReason", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otReason", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otReason", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otwuid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otwuid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otwuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otwuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ottime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ottime", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ottime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ottime", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- private void InitConnection() {
- this._connection = new global::System.Data.SqlClient.SqlConnection();
- this._connection.ConnectionString = global::FPJ0000.Properties.Settings.Default.gwcs;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- private void InitCommandCollection() {
- this._commandCollection = new global::System.Data.SqlClient.SqlCommand[7];
- this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[0].Connection = this.Connection;
- this._commandCollection[0].CommandText = @"SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww,
- process, gcode, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason, dbo.IsHoliday(pdate) AS FreeDay,
- dbo.GetWeekName(pdate) AS WeekName, otwuid, ottime
-FROM JobReport
-WHERE (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid) AND (gcode = @gcode)
-ORDER BY pdate DESC";
- this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[1].Connection = this.Connection;
- this._commandCollection[1].CommandText = "SELECT COUNT(*) FROM JobReport\r\nwhere gcode = @gcode and idx = @idx\r\nand isnull(o" +
- "t2,0) > 0";
- this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[2].Connection = this.Connection;
- this._commandCollection[2].CommandText = "DELETE FROM JobReport\r\nWHERE (pdate BETWEEN @sd AND @ed) AND (wuid = @user) AND " +
- "(ISNULL(import, 0) = 1) AND (gcode = @gcode)";
- this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@user", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[3].Connection = this.Connection;
- this._commandCollection[3].CommandText = "DELETE FROM JobReport\r\nWHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(import, 0)" +
- " = 1) AND (gcode = @gcode)";
- this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
- this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[4].Connection = this.Connection;
- this._commandCollection[4].CommandText = @"SELECT autoinput, description, description2, gcode, hrs, idx, import, kisulamt, kisuldiv, kisullv, ot, ot2, otEnd, otReason, otStart, ottime, otwuid, package, pdate, pidx, process, projectName, remark, requestpart, status, dbo.getCodeSValue(gcode, '15', type) AS svalue, tag, type, uid, dbo.getUserName(uid) AS username, wdate, wuid, dbo.getWorkWeek(pdate) AS ww FROM JobReport WHERE (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid) AND (gcode = @gcode) AND (ISNULL(tag, '') <> '') ORDER BY pdate DESC";
- this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[5].Connection = this.Connection;
- this._commandCollection[5].CommandText = @"SELECT description, hrs, idx, import, ot, package, pdate, pidx, process, projectName, remark, requestpart, status, type, uid, dbo.getUserName(uid) AS username, wdate, wuid, dbo.getWorkWeek(pdate)
- AS ww, gcode, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue, kisullv, kisuldiv, kisulamt, autoinput, ot2, otReason, otwuid, ottime
-FROM JobReport
-WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(dbo.getProjectName(pidx), '') LIKE @prjname) AND (gcode = @gcode)
-ORDER BY pdate DESC";
- this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@prjname", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
- this._commandCollection[6].Connection = this.Connection;
- this._commandCollection[6].CommandText = @"SELECT pidx, projectName, MAX(pdate) AS pdate
-FROM JobReport
-WHERE (ISNULL(projectName, N'') LIKE @search OR
- ISNULL(description, N'') LIKE @search) AND (projectName <> '') AND (gcode = @gcode)
-GROUP BY pidx, projectName
-ORDER BY projectName";
- this._commandCollection[6].CommandType = global::System.Data.CommandType.Text;
- this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
- public virtual int Fill(dsPRJ.JobReportDataTable dataTable, string sd, string ed, string uid, string gcode) {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
- }
- if ((uid == null)) {
- this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uid));
- }
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[3].Value = ((string)(gcode));
- }
- if ((this.ClearBeforeFill == true)) {
- dataTable.Clear();
- }
- int returnValue = this.Adapter.Fill(dataTable);
- return returnValue;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
- public virtual dsPRJ.JobReportDataTable GetData(string sd, string ed, string uid, string gcode) {
- this.Adapter.SelectCommand = this.CommandCollection[0];
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
- }
- if ((uid == null)) {
- this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uid));
- }
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[3].Value = ((string)(gcode));
- }
- dsPRJ.JobReportDataTable dataTable = new dsPRJ.JobReportDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
- public virtual int FillByTagOnly(dsPRJ.JobReportDataTable dataTable, string sd, string ed, string uid, string gcode) {
- this.Adapter.SelectCommand = this.CommandCollection[4];
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
- }
- if ((uid == null)) {
- this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uid));
- }
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[3].Value = ((string)(gcode));
- }
- if ((this.ClearBeforeFill == true)) {
- dataTable.Clear();
- }
- int returnValue = this.Adapter.Fill(dataTable);
- return returnValue;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual dsPRJ.JobReportDataTable GetByTagOnly(string sd, string ed, string uid, string gcode) {
- this.Adapter.SelectCommand = this.CommandCollection[4];
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
- }
- if ((uid == null)) {
- this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uid));
- }
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[3].Value = ((string)(gcode));
- }
- dsPRJ.JobReportDataTable dataTable = new dsPRJ.JobReportDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
- public virtual int FillPrjName(dsPRJ.JobReportDataTable dataTable, string sd, string ed, string prjname, string gcode) {
- this.Adapter.SelectCommand = this.CommandCollection[5];
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
- }
- if ((prjname == null)) {
- throw new global::System.ArgumentNullException("prjname");
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(prjname));
- }
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[3].Value = ((string)(gcode));
- }
- if ((this.ClearBeforeFill == true)) {
- dataTable.Clear();
- }
- int returnValue = this.Adapter.Fill(dataTable);
- return returnValue;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual dsPRJ.JobReportDataTable GetPrjName(string sd, string ed, string prjname, string gcode) {
- this.Adapter.SelectCommand = this.CommandCollection[5];
- if ((sd == null)) {
- this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
- }
- if ((ed == null)) {
- this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
- }
- if ((prjname == null)) {
- throw new global::System.ArgumentNullException("prjname");
- }
- else {
- this.Adapter.SelectCommand.Parameters[2].Value = ((string)(prjname));
- }
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[3].Value = ((string)(gcode));
- }
- dsPRJ.JobReportDataTable dataTable = new dsPRJ.JobReportDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
- public virtual int FillSearch(dsPRJ.JobReportDataTable dataTable, string search, string gcode) {
- this.Adapter.SelectCommand = this.CommandCollection[6];
- if ((search == null)) {
- throw new global::System.ArgumentNullException("search");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(search));
- }
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
- }
- if ((this.ClearBeforeFill == true)) {
- dataTable.Clear();
- }
- int returnValue = this.Adapter.Fill(dataTable);
- return returnValue;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
- public virtual dsPRJ.JobReportDataTable GetSearch(string search, string gcode) {
- this.Adapter.SelectCommand = this.CommandCollection[6];
- if ((search == null)) {
- throw new global::System.ArgumentNullException("search");
- }
- else {
- this.Adapter.SelectCommand.Parameters[0].Value = ((string)(search));
- }
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
- }
- dsPRJ.JobReportDataTable dataTable = new dsPRJ.JobReportDataTable();
- this.Adapter.Fill(dataTable);
- return dataTable;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(dsPRJ.JobReportDataTable dataTable) {
- return this.Adapter.Update(dataTable);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(dsPRJ dataSet) {
- return this.Adapter.Update(dataSet, "JobReport");
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(global::System.Data.DataRow dataRow) {
- return this.Adapter.Update(new global::System.Data.DataRow[] {
- dataRow});
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int Update(global::System.Data.DataRow[] dataRows) {
- return this.Adapter.Update(dataRows);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
- public virtual int Delete(
- int Original_idx,
- global::System.Nullable Original_pidx,
- string Original_pdate,
- string Original_uid,
- string Original_requestpart,
- string Original_package,
- string Original_status,
- string Original_type,
- string Original_remark,
- global::System.Nullable Original_hrs,
- global::System.Nullable Original_import,
- string Original_wuid,
- System.DateTime Original_wdate,
- string Original_projectName,
- global::System.Nullable Original_ot,
- string Original_process,
- string Original_gcode,
- string Original_tag,
- global::System.Nullable Original_otStart,
- global::System.Nullable Original_otEnd,
- global::System.Nullable Original_autoinput,
- string Original_kisullv,
- string Original_kisuldiv,
- global::System.Nullable Original_kisulamt,
- global::System.Nullable Original_ot2,
- string Original_otReason,
- string Original_otwuid,
- global::System.Nullable Original_ottime) {
- this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
- if ((Original_pidx.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_pidx.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- if ((Original_pdate == null)) {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_pdate));
- }
- if ((Original_uid == null)) {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_uid));
- }
- if ((Original_requestpart == null)) {
- this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_requestpart));
- }
- if ((Original_package == null)) {
- this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_package));
- }
- if ((Original_status == null)) {
- this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_status));
- }
- if ((Original_type == null)) {
- this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_type));
- }
- if ((Original_remark == null)) {
- this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_remark));
- }
- if ((Original_hrs.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[18].Value = ((double)(Original_hrs.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
- }
- if ((Original_import.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[20].Value = ((bool)(Original_import.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
- }
- if ((Original_wuid == null)) {
- throw new global::System.ArgumentNullException("Original_wuid");
- }
- else {
- this.Adapter.DeleteCommand.Parameters[21].Value = ((string)(Original_wuid));
- }
- this.Adapter.DeleteCommand.Parameters[22].Value = ((System.DateTime)(Original_wdate));
- if ((Original_projectName == null)) {
- this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_projectName));
- }
- if ((Original_ot.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[26].Value = ((double)(Original_ot.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
- }
- if ((Original_process == null)) {
- this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_process));
- }
- if ((Original_gcode == null)) {
- throw new global::System.ArgumentNullException("Original_gcode");
- }
- else {
- this.Adapter.DeleteCommand.Parameters[29].Value = ((string)(Original_gcode));
- }
- if ((Original_tag == null)) {
- this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[31].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[31].Value = ((string)(Original_tag));
- }
- if ((Original_otStart.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[33].Value = ((System.DateTime)(Original_otStart.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[33].Value = global::System.DBNull.Value;
- }
- if ((Original_otEnd.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[35].Value = ((System.DateTime)(Original_otEnd.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[35].Value = global::System.DBNull.Value;
- }
- if ((Original_autoinput.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[37].Value = ((bool)(Original_autoinput.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[37].Value = global::System.DBNull.Value;
- }
- if ((Original_kisullv == null)) {
- this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[39].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[39].Value = ((string)(Original_kisullv));
- }
- if ((Original_kisuldiv == null)) {
- this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[41].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[41].Value = ((string)(Original_kisuldiv));
- }
- if ((Original_kisulamt.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[43].Value = ((decimal)(Original_kisulamt.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[43].Value = global::System.DBNull.Value;
- }
- if ((Original_ot2.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[45].Value = ((double)(Original_ot2.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[45].Value = global::System.DBNull.Value;
- }
- if ((Original_otReason == null)) {
- this.Adapter.DeleteCommand.Parameters[46].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[47].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[46].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[47].Value = ((string)(Original_otReason));
- }
- if ((Original_otwuid == null)) {
- this.Adapter.DeleteCommand.Parameters[48].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[49].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.DeleteCommand.Parameters[48].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[49].Value = ((string)(Original_otwuid));
- }
- if ((Original_ottime.HasValue == true)) {
- this.Adapter.DeleteCommand.Parameters[50].Value = ((object)(0));
- this.Adapter.DeleteCommand.Parameters[51].Value = ((System.DateTime)(Original_ottime.Value));
- }
- else {
- this.Adapter.DeleteCommand.Parameters[50].Value = ((object)(1));
- this.Adapter.DeleteCommand.Parameters[51].Value = global::System.DBNull.Value;
- }
- global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
- if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- this.Adapter.DeleteCommand.Connection.Open();
- }
- try {
- int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
- return returnValue;
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- this.Adapter.DeleteCommand.Connection.Close();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
- public virtual int Insert(
- global::System.Nullable pidx,
- string pdate,
- string uid,
- string requestpart,
- string package,
- string status,
- string type,
- string description,
- string remark,
- global::System.Nullable hrs,
- global::System.Nullable import,
- string wuid,
- System.DateTime wdate,
- string projectName,
- global::System.Nullable ot,
- string process,
- string gcode,
- string description2,
- string tag,
- global::System.Nullable otStart,
- global::System.Nullable otEnd,
- global::System.Nullable autoinput,
- string kisullv,
- string kisuldiv,
- global::System.Nullable kisulamt,
- global::System.Nullable ot2,
- string otReason,
- string otwuid,
- global::System.Nullable ottime) {
- if ((pidx.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[0].Value = ((int)(pidx.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
- }
- if ((pdate == null)) {
- this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[1].Value = ((string)(pdate));
- }
- if ((uid == null)) {
- this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[2].Value = ((string)(uid));
- }
- if ((requestpart == null)) {
- this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[3].Value = ((string)(requestpart));
- }
- if ((package == null)) {
- this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[4].Value = ((string)(package));
- }
- if ((status == null)) {
- this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[5].Value = ((string)(status));
- }
- if ((type == null)) {
- this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[6].Value = ((string)(type));
- }
- if ((description == null)) {
- this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[7].Value = ((string)(description));
- }
- if ((remark == null)) {
- this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[8].Value = ((string)(remark));
- }
- if ((hrs.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[9].Value = ((double)(hrs.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
- }
- if ((import.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[10].Value = ((bool)(import.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
- }
- if ((wuid == null)) {
- throw new global::System.ArgumentNullException("wuid");
- }
- else {
- this.Adapter.InsertCommand.Parameters[11].Value = ((string)(wuid));
- }
- this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(wdate));
- if ((projectName == null)) {
- this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[13].Value = ((string)(projectName));
- }
- if ((ot.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[14].Value = ((double)(ot.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
- }
- if ((process == null)) {
- this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[15].Value = ((string)(process));
- }
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.InsertCommand.Parameters[16].Value = ((string)(gcode));
- }
- if ((description2 == null)) {
- this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[17].Value = ((string)(description2));
- }
- if ((tag == null)) {
- this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[18].Value = ((string)(tag));
- }
- if ((otStart.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[19].Value = ((System.DateTime)(otStart.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
- }
- if ((otEnd.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[20].Value = ((System.DateTime)(otEnd.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
- }
- if ((autoinput.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[21].Value = ((bool)(autoinput.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
- }
- if ((kisullv == null)) {
- this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[22].Value = ((string)(kisullv));
- }
- if ((kisuldiv == null)) {
- this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[23].Value = ((string)(kisuldiv));
- }
- if ((kisulamt.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[24].Value = ((decimal)(kisulamt.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value;
- }
- if ((ot2.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[25].Value = ((double)(ot2.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value;
- }
- if ((otReason == null)) {
- this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[26].Value = ((string)(otReason));
- }
- if ((otwuid == null)) {
- this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.InsertCommand.Parameters[27].Value = ((string)(otwuid));
- }
- if ((ottime.HasValue == true)) {
- this.Adapter.InsertCommand.Parameters[28].Value = ((System.DateTime)(ottime.Value));
- }
- else {
- this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value;
- }
- global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
- if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- this.Adapter.InsertCommand.Connection.Open();
- }
- try {
- int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
- return returnValue;
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- this.Adapter.InsertCommand.Connection.Close();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(
- global::System.Nullable pidx,
- string pdate,
- string uid,
- string requestpart,
- string package,
- string status,
- string type,
- string description,
- string remark,
- global::System.Nullable hrs,
- global::System.Nullable import,
- string wuid,
- System.DateTime wdate,
- string projectName,
- global::System.Nullable ot,
- string process,
- string gcode,
- string description2,
- string tag,
- global::System.Nullable otStart,
- global::System.Nullable otEnd,
- global::System.Nullable autoinput,
- string kisullv,
- string kisuldiv,
- global::System.Nullable kisulamt,
- global::System.Nullable ot2,
- string otReason,
- string otwuid,
- global::System.Nullable ottime,
- int Original_idx,
- global::System.Nullable Original_pidx,
- string Original_pdate,
- string Original_uid,
- string Original_requestpart,
- string Original_package,
- string Original_status,
- string Original_type,
- string Original_remark,
- global::System.Nullable Original_hrs,
- global::System.Nullable Original_import,
- string Original_wuid,
- System.DateTime Original_wdate,
- string Original_projectName,
- global::System.Nullable Original_ot,
- string Original_process,
- string Original_gcode,
- string Original_tag,
- global::System.Nullable Original_otStart,
- global::System.Nullable Original_otEnd,
- global::System.Nullable Original_autoinput,
- string Original_kisullv,
- string Original_kisuldiv,
- global::System.Nullable Original_kisulamt,
- global::System.Nullable Original_ot2,
- string Original_otReason,
- string Original_otwuid,
- global::System.Nullable Original_ottime,
- int idx) {
- if ((pidx.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(pidx.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
- }
- if ((pdate == null)) {
- this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(pdate));
- }
- if ((uid == null)) {
- this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(uid));
- }
- if ((requestpart == null)) {
- this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(requestpart));
- }
- if ((package == null)) {
- this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(package));
- }
- if ((status == null)) {
- this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(status));
- }
- if ((type == null)) {
- this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(type));
- }
- if ((description == null)) {
- this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(description));
- }
- if ((remark == null)) {
- this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(remark));
- }
- if ((hrs.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[9].Value = ((double)(hrs.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
- }
- if ((import.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[10].Value = ((bool)(import.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
- }
- if ((wuid == null)) {
- throw new global::System.ArgumentNullException("wuid");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(wuid));
- }
- this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(wdate));
- if ((projectName == null)) {
- this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(projectName));
- }
- if ((ot.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[14].Value = ((double)(ot.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
- }
- if ((process == null)) {
- this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(process));
- }
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(gcode));
- }
- if ((description2 == null)) {
- this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(description2));
- }
- if ((tag == null)) {
- this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(tag));
- }
- if ((otStart.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(otStart.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
- }
- if ((otEnd.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[20].Value = ((System.DateTime)(otEnd.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
- }
- if ((autoinput.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[21].Value = ((bool)(autoinput.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
- }
- if ((kisullv == null)) {
- this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(kisullv));
- }
- if ((kisuldiv == null)) {
- this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(kisuldiv));
- }
- if ((kisulamt.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[24].Value = ((decimal)(kisulamt.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
- }
- if ((ot2.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[25].Value = ((double)(ot2.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
- }
- if ((otReason == null)) {
- this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(otReason));
- }
- if ((otwuid == null)) {
- this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(otwuid));
- }
- if ((ottime.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[28].Value = ((System.DateTime)(ottime.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
- }
- this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_idx));
- if ((Original_pidx.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_pidx.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
- }
- if ((Original_pdate == null)) {
- this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_pdate));
- }
- if ((Original_uid == null)) {
- this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_uid));
- }
- if ((Original_requestpart == null)) {
- this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_requestpart));
- }
- if ((Original_package == null)) {
- this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_package));
- }
- if ((Original_status == null)) {
- this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_status));
- }
- if ((Original_type == null)) {
- this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_type));
- }
- if ((Original_remark == null)) {
- this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_remark));
- }
- if ((Original_hrs.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[47].Value = ((double)(Original_hrs.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
- }
- if ((Original_import.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[49].Value = ((bool)(Original_import.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
- }
- if ((Original_wuid == null)) {
- throw new global::System.ArgumentNullException("Original_wuid");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_wuid));
- }
- this.Adapter.UpdateCommand.Parameters[51].Value = ((System.DateTime)(Original_wdate));
- if ((Original_projectName == null)) {
- this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(Original_projectName));
- }
- if ((Original_ot.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[55].Value = ((double)(Original_ot.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
- }
- if ((Original_process == null)) {
- this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Original_process));
- }
- if ((Original_gcode == null)) {
- throw new global::System.ArgumentNullException("Original_gcode");
- }
- else {
- this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(Original_gcode));
- }
- if ((Original_tag == null)) {
- this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(Original_tag));
- }
- if ((Original_otStart.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[62].Value = ((System.DateTime)(Original_otStart.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
- }
- if ((Original_otEnd.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[64].Value = ((System.DateTime)(Original_otEnd.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value;
- }
- if ((Original_autoinput.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[66].Value = ((bool)(Original_autoinput.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value;
- }
- if ((Original_kisullv == null)) {
- this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(Original_kisullv));
- }
- if ((Original_kisuldiv == null)) {
- this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[70].Value = ((string)(Original_kisuldiv));
- }
- if ((Original_kisulamt.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[72].Value = ((decimal)(Original_kisulamt.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value;
- }
- if ((Original_ot2.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[74].Value = ((double)(Original_ot2.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value;
- }
- if ((Original_otReason == null)) {
- this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_otReason));
- }
- if ((Original_otwuid == null)) {
- this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value;
- }
- else {
- this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(Original_otwuid));
- }
- if ((Original_ottime.HasValue == true)) {
- this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(0));
- this.Adapter.UpdateCommand.Parameters[80].Value = ((System.DateTime)(Original_ottime.Value));
- }
- else {
- this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(1));
- this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value;
- }
- this.Adapter.UpdateCommand.Parameters[81].Value = ((int)(idx));
- global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
- if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- this.Adapter.UpdateCommand.Connection.Open();
- }
- try {
- int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
- return returnValue;
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- this.Adapter.UpdateCommand.Connection.Close();
- }
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
- public virtual int Update(
- global::System.Nullable pidx,
- string pdate,
- string uid,
- string requestpart,
- string package,
- string status,
- string type,
- string description,
- string remark,
- global::System.Nullable hrs,
- global::System.Nullable import,
- string wuid,
- System.DateTime wdate,
- string projectName,
- global::System.Nullable ot,
- string process,
- string gcode,
- string description2,
- string tag,
- global::System.Nullable otStart,
- global::System.Nullable otEnd,
- global::System.Nullable autoinput,
- string kisullv,
- string kisuldiv,
- global::System.Nullable kisulamt,
- global::System.Nullable ot2,
- string otReason,
- string otwuid,
- global::System.Nullable ottime,
- int Original_idx,
- global::System.Nullable Original_pidx,
- string Original_pdate,
- string Original_uid,
- string Original_requestpart,
- string Original_package,
- string Original_status,
- string Original_type,
- string Original_remark,
- global::System.Nullable Original_hrs,
- global::System.Nullable Original_import,
- string Original_wuid,
- System.DateTime Original_wdate,
- string Original_projectName,
- global::System.Nullable Original_ot,
- string Original_process,
- string Original_gcode,
- string Original_tag,
- global::System.Nullable Original_otStart,
- global::System.Nullable Original_otEnd,
- global::System.Nullable Original_autoinput,
- string Original_kisullv,
- string Original_kisuldiv,
- global::System.Nullable Original_kisulamt,
- global::System.Nullable Original_ot2,
- string Original_otReason,
- string Original_otwuid,
- global::System.Nullable Original_ottime) {
- return this.Update(pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, projectName, ot, process, gcode, description2, tag, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason, otwuid, ottime, Original_idx, Original_pidx, Original_pdate, Original_uid, Original_requestpart, Original_package, Original_status, Original_type, Original_remark, Original_hrs, Original_import, Original_wuid, Original_wdate, Original_projectName, Original_ot, Original_process, Original_gcode, Original_tag, Original_otStart, Original_otEnd, Original_autoinput, Original_kisullv, Original_kisuldiv, Original_kisulamt, Original_ot2, Original_otReason, Original_otwuid, Original_ottime, Original_idx);
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual global::System.Nullable CheckOt2Input(string gcode, int idx) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- command.Parameters[0].Value = ((string)(gcode));
- }
- command.Parameters[1].Value = ((int)(idx));
- global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- command.Connection.Open();
- }
- object returnValue;
- try {
- returnValue = command.ExecuteScalar();
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- command.Connection.Close();
- }
- }
- if (((returnValue == null)
- || (returnValue.GetType() == typeof(global::System.DBNull)))) {
- return new global::System.Nullable();
- }
- else {
- return new global::System.Nullable(((int)(returnValue)));
- }
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- public virtual int DeleteImport(string sd, string ed, string user, string gcode) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
- if ((sd == null)) {
- command.Parameters[0].Value = global::System.DBNull.Value;
- }
- else {
- command.Parameters[0].Value = ((string)(sd));
- }
- if ((ed == null)) {
- command.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- command.Parameters[1].Value = ((string)(ed));
- }
- if ((user == null)) {
- throw new global::System.ArgumentNullException("user");
- }
- else {
- command.Parameters[2].Value = ((string)(user));
- }
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- command.Parameters[3].Value = ((string)(gcode));
- }
- global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- command.Connection.Open();
- }
- int returnValue;
- try {
- returnValue = command.ExecuteNonQuery();
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- command.Connection.Close();
- }
- }
- return returnValue;
- }
-
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
- [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
- public virtual int DeleteImportAll(string sd, string ed, string gcode) {
- global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
- if ((sd == null)) {
- command.Parameters[0].Value = global::System.DBNull.Value;
- }
- else {
- command.Parameters[0].Value = ((string)(sd));
- }
- if ((ed == null)) {
- command.Parameters[1].Value = global::System.DBNull.Value;
- }
- else {
- command.Parameters[1].Value = ((string)(ed));
- }
- if ((gcode == null)) {
- throw new global::System.ArgumentNullException("gcode");
- }
- else {
- command.Parameters[2].Value = ((string)(gcode));
- }
- global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
- if (((command.Connection.State & global::System.Data.ConnectionState.Open)
- != global::System.Data.ConnectionState.Open)) {
- command.Connection.Open();
- }
- int returnValue;
- try {
- returnValue = command.ExecuteNonQuery();
- }
- finally {
- if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
- command.Connection.Close();
- }
- }
- return returnValue;
- }
- }
-
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -38991,6 +37114,1674 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
}
}
+ ///
+ ///Represents the connection and commands used to retrieve and save data.
+ ///
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
+ [global::System.ComponentModel.ToolboxItem(true)]
+ [global::System.ComponentModel.DataObjectAttribute(true)]
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public partial class JobReportTableAdapter : global::System.ComponentModel.Component {
+
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
+
+ private global::System.Data.SqlClient.SqlConnection _connection;
+
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
+
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
+
+ private bool _clearBeforeFill;
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public JobReportTableAdapter() {
+ this.ClearBeforeFill = true;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
+ get {
+ if ((this._adapter == null)) {
+ this.InitAdapter();
+ }
+ return this._adapter;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal global::System.Data.SqlClient.SqlConnection Connection {
+ get {
+ if ((this._connection == null)) {
+ this.InitConnection();
+ }
+ return this._connection;
+ }
+ set {
+ this._connection = value;
+ if ((this.Adapter.InsertCommand != null)) {
+ this.Adapter.InsertCommand.Connection = value;
+ }
+ if ((this.Adapter.DeleteCommand != null)) {
+ this.Adapter.DeleteCommand.Connection = value;
+ }
+ if ((this.Adapter.UpdateCommand != null)) {
+ this.Adapter.UpdateCommand.Connection = value;
+ }
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ if ((this.CommandCollection[i] != null)) {
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
+ }
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
+ get {
+ return this._transaction;
+ }
+ set {
+ this._transaction = value;
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
+ this.CommandCollection[i].Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.DeleteCommand != null))) {
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.InsertCommand != null))) {
+ this.Adapter.InsertCommand.Transaction = this._transaction;
+ }
+ if (((this.Adapter != null)
+ && (this.Adapter.UpdateCommand != null))) {
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
+ get {
+ if ((this._commandCollection == null)) {
+ this.InitCommandCollection();
+ }
+ return this._commandCollection;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ public bool ClearBeforeFill {
+ get {
+ return this._clearBeforeFill;
+ }
+ set {
+ this._clearBeforeFill = value;
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitAdapter() {
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
+ tableMapping.SourceTable = "Table";
+ tableMapping.DataSetTable = "JobReport";
+ tableMapping.ColumnMappings.Add("gcode", "gcode");
+ tableMapping.ColumnMappings.Add("idx", "idx");
+ tableMapping.ColumnMappings.Add("pidx", "pidx");
+ tableMapping.ColumnMappings.Add("pdate", "pdate");
+ tableMapping.ColumnMappings.Add("uid", "uid");
+ tableMapping.ColumnMappings.Add("requestpart", "requestpart");
+ tableMapping.ColumnMappings.Add("package", "package");
+ tableMapping.ColumnMappings.Add("status", "status");
+ tableMapping.ColumnMappings.Add("type", "type");
+ tableMapping.ColumnMappings.Add("description", "description");
+ tableMapping.ColumnMappings.Add("remark", "remark");
+ tableMapping.ColumnMappings.Add("hrs", "hrs");
+ tableMapping.ColumnMappings.Add("import", "import");
+ tableMapping.ColumnMappings.Add("wuid", "wuid");
+ tableMapping.ColumnMappings.Add("wdate", "wdate");
+ tableMapping.ColumnMappings.Add("username", "username");
+ tableMapping.ColumnMappings.Add("projectName", "projectName");
+ tableMapping.ColumnMappings.Add("ot", "ot");
+ tableMapping.ColumnMappings.Add("ww", "ww");
+ tableMapping.ColumnMappings.Add("process", "process");
+ tableMapping.ColumnMappings.Add("description2", "description2");
+ tableMapping.ColumnMappings.Add("tag", "tag");
+ tableMapping.ColumnMappings.Add("svalue", "svalue");
+ tableMapping.ColumnMappings.Add("otStart", "otStart");
+ tableMapping.ColumnMappings.Add("otEnd", "otEnd");
+ tableMapping.ColumnMappings.Add("autoinput", "autoinput");
+ tableMapping.ColumnMappings.Add("kisullv", "kisullv");
+ tableMapping.ColumnMappings.Add("kisuldiv", "kisuldiv");
+ tableMapping.ColumnMappings.Add("kisulamt", "kisulamt");
+ tableMapping.ColumnMappings.Add("ot2", "ot2");
+ tableMapping.ColumnMappings.Add("otReason", "otReason");
+ tableMapping.ColumnMappings.Add("FreeDay", "FreeDay");
+ tableMapping.ColumnMappings.Add("otwuid", "otwuid");
+ tableMapping.ColumnMappings.Add("ottime", "ottime");
+ tableMapping.ColumnMappings.Add("WeekName", "WeekName");
+ this._adapter.TableMappings.Add(tableMapping);
+ this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.DeleteCommand.Connection = this.Connection;
+ this._adapter.DeleteCommand.CommandText = "DELETE FROM [JobReport] WHERE (([gcode] = @Original_gcode) AND ([idx] = @Original" +
+ "_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) A" +
+ "ND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND " +
+ "((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_r" +
+ "equestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestp" +
+ "art)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original" +
+ "_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Origin" +
+ "al_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_ty" +
+ "pe)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_rem" +
+ "ark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND (" +
+ "(@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND " +
+ "([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_projectN" +
+ "ame = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)) A" +
+ "ND ((@IsNull_ot = 1 AND [ot] IS NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_pr" +
+ "ocess = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNu" +
+ "ll_tag = 1 AND [tag] IS NULL) OR ([tag] = @Original_tag)) AND ((@IsNull_otStart " +
+ "= 1 AND [otStart] IS NULL) OR ([otStart] = @Original_otStart)) AND ((@IsNull_otE" +
+ "nd = 1 AND [otEnd] IS NULL) OR ([otEnd] = @Original_otEnd)) AND ((@IsNull_autoin" +
+ "put = 1 AND [autoinput] IS NULL) OR ([autoinput] = @Original_autoinput)) AND ((@" +
+ "IsNull_kisullv = 1 AND [kisullv] IS NULL) OR ([kisullv] = @Original_kisullv)) AN" +
+ "D ((@IsNull_kisuldiv = 1 AND [kisuldiv] IS NULL) OR ([kisuldiv] = @Original_kisu" +
+ "ldiv)) AND ((@IsNull_kisulamt = 1 AND [kisulamt] IS NULL) OR ([kisulamt] = @Orig" +
+ "inal_kisulamt)) AND ((@IsNull_ot2 = 1 AND [ot2] IS NULL) OR ([ot2] = @Original_o" +
+ "t2)) AND ((@IsNull_otReason = 1 AND [otReason] IS NULL) OR ([otReason] = @Origin" +
+ "al_otReason)) AND ((@IsNull_otwuid = 1 AND [otwuid] IS NULL) OR ([otwuid] = @Ori" +
+ "ginal_otwuid)) AND ((@IsNull_ottime = 1 AND [ottime] IS NULL) OR ([ottime] = @Or" +
+ "iginal_ottime)))";
+ this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_requestpart", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_requestpart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_package", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_package", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_hrs", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_hrs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_tag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otStart", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otStart", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otStart", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otStart", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otEnd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otEnd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otEnd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otEnd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_autoinput", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_autoinput", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kisullv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisullv", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kisullv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisullv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kisuldiv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisuldiv", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kisuldiv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisuldiv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kisulamt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisulamt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kisulamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 3, "kisulamt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ot2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ot2", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otReason", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otReason", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otReason", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otReason", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otwuid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otwuid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otwuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otwuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ottime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ottime", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ottime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ottime", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.InsertCommand.Connection = this.Connection;
+ this._adapter.InsertCommand.CommandText = @"INSERT INTO [JobReport] ([gcode], [pidx], [pdate], [uid], [requestpart], [package], [status], [type], [description], [remark], [hrs], [import], [wuid], [wdate], [projectName], [ot], [process], [description2], [tag], [otStart], [otEnd], [autoinput], [kisullv], [kisuldiv], [kisulamt], [ot2], [otReason], [otwuid], [ottime]) VALUES (@gcode, @pidx, @pdate, @uid, @requestpart, @package, @status, @type, @description, @remark, @hrs, @import, @wuid, @wdate, @projectName, @ot, @process, @description2, @tag, @otStart, @otEnd, @autoinput, @kisullv, @kisuldiv, @kisulamt, @ot2, @otReason, @otwuid, @ottime);
+SELECT gcode, idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww, process, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason, dbo.IsHoliday(pdate) AS FreeDay, otwuid, ottime, dbo.GetWeekName(pdate) AS WeekName FROM JobReport WHERE (gcode = @gcode) AND (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC";
+ this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@requestpart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@package", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@description", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "description", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@hrs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@description2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "description2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otStart", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otStart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otEnd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otEnd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@autoinput", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kisullv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisullv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kisuldiv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisuldiv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kisulamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 3, "kisulamt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ot2", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otReason", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otReason", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otwuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otwuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ottime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ottime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
+ this._adapter.UpdateCommand.Connection = this.Connection;
+ this._adapter.UpdateCommand.CommandText = "UPDATE [JobReport] SET [gcode] = @gcode, [pidx] = @pidx, [pdate] = @pdate, [uid] " +
+ "= @uid, [requestpart] = @requestpart, [package] = @package, [status] = @status, " +
+ "[type] = @type, [description] = @description, [remark] = @remark, [hrs] = @hrs, " +
+ "[import] = @import, [wuid] = @wuid, [wdate] = @wdate, [projectName] = @projectNa" +
+ "me, [ot] = @ot, [process] = @process, [description2] = @description2, [tag] = @t" +
+ "ag, [otStart] = @otStart, [otEnd] = @otEnd, [autoinput] = @autoinput, [kisullv] " +
+ "= @kisullv, [kisuldiv] = @kisuldiv, [kisulamt] = @kisulamt, [ot2] = @ot2, [otRea" +
+ "son] = @otReason, [otwuid] = @otwuid, [ottime] = @ottime WHERE (([gcode] = @Orig" +
+ "inal_gcode) AND ([idx] = @Original_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NUL" +
+ "L) OR ([pidx] = @Original_pidx)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR" +
+ " ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid]" +
+ " = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR (" +
+ "[requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] " +
+ "IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [statu" +
+ "s] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] " +
+ "IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_remark = 1 AND [remark] IS " +
+ "NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL)" +
+ " OR ([hrs] = @Original_hrs)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR (" +
+ "[import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Orig" +
+ "inal_wdate) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projec" +
+ "tName] = @Original_projectName)) AND ((@IsNull_ot = 1 AND [ot] IS NULL) OR ([ot]" +
+ " = @Original_ot)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process]" +
+ " = @Original_process)) AND ((@IsNull_tag = 1 AND [tag] IS NULL) OR ([tag] = @Ori" +
+ "ginal_tag)) AND ((@IsNull_otStart = 1 AND [otStart] IS NULL) OR ([otStart] = @Or" +
+ "iginal_otStart)) AND ((@IsNull_otEnd = 1 AND [otEnd] IS NULL) OR ([otEnd] = @Ori" +
+ "ginal_otEnd)) AND ((@IsNull_autoinput = 1 AND [autoinput] IS NULL) OR ([autoinpu" +
+ "t] = @Original_autoinput)) AND ((@IsNull_kisullv = 1 AND [kisullv] IS NULL) OR (" +
+ "[kisullv] = @Original_kisullv)) AND ((@IsNull_kisuldiv = 1 AND [kisuldiv] IS NUL" +
+ "L) OR ([kisuldiv] = @Original_kisuldiv)) AND ((@IsNull_kisulamt = 1 AND [kisulam" +
+ "t] IS NULL) OR ([kisulamt] = @Original_kisulamt)) AND ((@IsNull_ot2 = 1 AND [ot2" +
+ "] IS NULL) OR ([ot2] = @Original_ot2)) AND ((@IsNull_otReason = 1 AND [otReason]" +
+ " IS NULL) OR ([otReason] = @Original_otReason)) AND ((@IsNull_otwuid = 1 AND [ot" +
+ "wuid] IS NULL) OR ([otwuid] = @Original_otwuid)) AND ((@IsNull_ottime = 1 AND [o" +
+ "ttime] IS NULL) OR ([ottime] = @Original_ottime)));\r\nSELECT gcode, idx, pidx, pd" +
+ "ate, uid, requestpart, package, status, type, description, remark, hrs, import, " +
+ "wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(" +
+ "pdate) AS ww, process, description2, tag, dbo.getCodeSValue(gcode, \'15\', type) A" +
+ "S svalue, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason," +
+ " dbo.IsHoliday(pdate) AS FreeDay, otwuid, ottime, dbo.GetWeekName(pdate) AS Week" +
+ "Name FROM JobReport WHERE (gcode = @gcode) AND (idx = @idx) ORDER BY pdate DESC";
+ this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@requestpart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@package", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@description", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "description", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@hrs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@description2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "description2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otStart", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otStart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otEnd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otEnd", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@autoinput", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kisullv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisullv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kisuldiv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisuldiv", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kisulamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 3, "kisulamt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ot2", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otReason", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otReason", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@otwuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otwuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ottime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ottime", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_requestpart", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_requestpart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "requestpart", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_package", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_package", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "package", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_type", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_type", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "type", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_remark", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_remark", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_hrs", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_hrs", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "hrs", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ot", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ot", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_tag", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_tag", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tag", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otStart", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otStart", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otStart", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otStart", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otEnd", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otEnd", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otEnd", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otEnd", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_autoinput", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_autoinput", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "autoinput", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kisullv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisullv", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kisullv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisullv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kisuldiv", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisuldiv", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kisuldiv", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisuldiv", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_kisulamt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "kisulamt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_kisulamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 3, "kisulamt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ot2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ot2", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ot2", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otReason", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otReason", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otReason", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otReason", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_otwuid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otwuid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_otwuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "otwuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ottime", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ottime", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ottime", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ottime", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitConnection() {
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
+ this._connection.ConnectionString = global::FPJ0000.Properties.Settings.Default.gwcs;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ private void InitCommandCollection() {
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[0].Connection = this.Connection;
+ this._commandCollection[0].CommandText = @"SELECT gcode, idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate)
+ AS ww, process, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason, dbo.IsHoliday(pdate) AS FreeDay,
+ otwuid, ottime, dbo.GetWeekName(pdate) AS WeekName
+FROM JobReport
+WHERE (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid) AND (gcode = @gcode)
+ORDER BY pdate DESC";
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[1].Connection = this.Connection;
+ this._commandCollection[1].CommandText = "SELECT COUNT(*) FROM JobReport\r\nwhere gcode = @gcode and idx = @idx\r\nand isnull(o" +
+ "t2,0) > 0";
+ this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
+ this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[2].Connection = this.Connection;
+ this._commandCollection[2].CommandText = "DELETE FROM JobReport\r\nWHERE (pdate BETWEEN @sd AND @ed) AND (wuid = @user) AND " +
+ "(ISNULL(import, 0) = 1) AND (gcode = @gcode)";
+ this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@user", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
+ this._commandCollection[3].Connection = this.Connection;
+ this._commandCollection[3].CommandText = "DELETE FROM JobReport\r\nWHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(import, 0)" +
+ " = 1) AND (gcode = @gcode)";
+ this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
+ public virtual int Fill(dsPRJ.JobReportDataTable dataTable, string sd, string ed, string uid, string gcode) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((sd == null)) {
+ this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
+ }
+ if ((ed == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
+ }
+ if ((uid == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uid));
+ }
+ if ((gcode == null)) {
+ throw new global::System.ArgumentNullException("gcode");
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[3].Value = ((string)(gcode));
+ }
+ if ((this.ClearBeforeFill == true)) {
+ dataTable.Clear();
+ }
+ int returnValue = this.Adapter.Fill(dataTable);
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
+ public virtual dsPRJ.JobReportDataTable GetData(string sd, string ed, string uid, string gcode) {
+ this.Adapter.SelectCommand = this.CommandCollection[0];
+ if ((sd == null)) {
+ this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
+ }
+ if ((ed == null)) {
+ this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
+ }
+ if ((uid == null)) {
+ this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uid));
+ }
+ if ((gcode == null)) {
+ throw new global::System.ArgumentNullException("gcode");
+ }
+ else {
+ this.Adapter.SelectCommand.Parameters[3].Value = ((string)(gcode));
+ }
+ dsPRJ.JobReportDataTable dataTable = new dsPRJ.JobReportDataTable();
+ this.Adapter.Fill(dataTable);
+ return dataTable;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsPRJ.JobReportDataTable dataTable) {
+ return this.Adapter.Update(dataTable);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(dsPRJ dataSet) {
+ return this.Adapter.Update(dataSet, "JobReport");
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow dataRow) {
+ return this.Adapter.Update(new global::System.Data.DataRow[] {
+ dataRow});
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual int Update(global::System.Data.DataRow[] dataRows) {
+ return this.Adapter.Update(dataRows);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
+ public virtual int Delete(
+ string Original_gcode,
+ int Original_idx,
+ global::System.Nullable Original_pidx,
+ string Original_pdate,
+ string Original_uid,
+ string Original_requestpart,
+ string Original_package,
+ string Original_status,
+ string Original_type,
+ string Original_remark,
+ global::System.Nullable Original_hrs,
+ global::System.Nullable Original_import,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ string Original_projectName,
+ global::System.Nullable Original_ot,
+ string Original_process,
+ string Original_tag,
+ global::System.Nullable Original_otStart,
+ global::System.Nullable Original_otEnd,
+ global::System.Nullable Original_autoinput,
+ string Original_kisullv,
+ string Original_kisuldiv,
+ global::System.Nullable Original_kisulamt,
+ global::System.Nullable Original_ot2,
+ string Original_otReason,
+ string Original_otwuid,
+ global::System.Nullable Original_ottime) {
+ if ((Original_gcode == null)) {
+ throw new global::System.ArgumentNullException("Original_gcode");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_gcode));
+ }
+ this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_idx));
+ if ((Original_pidx.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[3].Value = ((int)(Original_pidx.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ if ((Original_pdate == null)) {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_pdate));
+ }
+ if ((Original_uid == null)) {
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_uid));
+ }
+ if ((Original_requestpart == null)) {
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_requestpart));
+ }
+ if ((Original_package == null)) {
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[10].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_package));
+ }
+ if ((Original_status == null)) {
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[13].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[12].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_status));
+ }
+ if ((Original_type == null)) {
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[14].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[15].Value = ((string)(Original_type));
+ }
+ if ((Original_remark == null)) {
+ this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[16].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[17].Value = ((string)(Original_remark));
+ }
+ if ((Original_hrs.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[19].Value = ((double)(Original_hrs.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[18].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ if ((Original_import.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[21].Value = ((bool)(Original_import.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[20].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[21].Value = global::System.DBNull.Value;
+ }
+ if ((Original_wuid == null)) {
+ throw new global::System.ArgumentNullException("Original_wuid");
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_wuid));
+ }
+ this.Adapter.DeleteCommand.Parameters[23].Value = ((System.DateTime)(Original_wdate));
+ if ((Original_projectName == null)) {
+ this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[25].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[24].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[25].Value = ((string)(Original_projectName));
+ }
+ if ((Original_ot.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[27].Value = ((double)(Original_ot.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value;
+ }
+ if ((Original_process == null)) {
+ this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[29].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[29].Value = ((string)(Original_process));
+ }
+ if ((Original_tag == null)) {
+ this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[31].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[31].Value = ((string)(Original_tag));
+ }
+ if ((Original_otStart.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[33].Value = ((System.DateTime)(Original_otStart.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[33].Value = global::System.DBNull.Value;
+ }
+ if ((Original_otEnd.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[35].Value = ((System.DateTime)(Original_otEnd.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[34].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[35].Value = global::System.DBNull.Value;
+ }
+ if ((Original_autoinput.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[37].Value = ((bool)(Original_autoinput.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[36].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[37].Value = global::System.DBNull.Value;
+ }
+ if ((Original_kisullv == null)) {
+ this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[39].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[38].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[39].Value = ((string)(Original_kisullv));
+ }
+ if ((Original_kisuldiv == null)) {
+ this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[41].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[40].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[41].Value = ((string)(Original_kisuldiv));
+ }
+ if ((Original_kisulamt.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[43].Value = ((decimal)(Original_kisulamt.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[42].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[43].Value = global::System.DBNull.Value;
+ }
+ if ((Original_ot2.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[45].Value = ((double)(Original_ot2.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[44].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[45].Value = global::System.DBNull.Value;
+ }
+ if ((Original_otReason == null)) {
+ this.Adapter.DeleteCommand.Parameters[46].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[47].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[46].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[47].Value = ((string)(Original_otReason));
+ }
+ if ((Original_otwuid == null)) {
+ this.Adapter.DeleteCommand.Parameters[48].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[49].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[48].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[49].Value = ((string)(Original_otwuid));
+ }
+ if ((Original_ottime.HasValue == true)) {
+ this.Adapter.DeleteCommand.Parameters[50].Value = ((object)(0));
+ this.Adapter.DeleteCommand.Parameters[51].Value = ((System.DateTime)(Original_ottime.Value));
+ }
+ else {
+ this.Adapter.DeleteCommand.Parameters[50].Value = ((object)(1));
+ this.Adapter.DeleteCommand.Parameters[51].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
+ if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.DeleteCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.DeleteCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
+ public virtual int Insert(
+ string gcode,
+ global::System.Nullable pidx,
+ string pdate,
+ string uid,
+ string requestpart,
+ string package,
+ string status,
+ string type,
+ string description,
+ string remark,
+ global::System.Nullable hrs,
+ global::System.Nullable import,
+ string wuid,
+ System.DateTime wdate,
+ string projectName,
+ global::System.Nullable ot,
+ string process,
+ string description2,
+ string tag,
+ global::System.Nullable otStart,
+ global::System.Nullable otEnd,
+ global::System.Nullable autoinput,
+ string kisullv,
+ string kisuldiv,
+ global::System.Nullable kisulamt,
+ global::System.Nullable ot2,
+ string otReason,
+ string otwuid,
+ global::System.Nullable ottime) {
+ if ((gcode == null)) {
+ throw new global::System.ArgumentNullException("gcode");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[0].Value = ((string)(gcode));
+ }
+ if ((pidx.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[1].Value = ((int)(pidx.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((pdate == null)) {
+ this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[2].Value = ((string)(pdate));
+ }
+ if ((uid == null)) {
+ this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[3].Value = ((string)(uid));
+ }
+ if ((requestpart == null)) {
+ this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[4].Value = ((string)(requestpart));
+ }
+ if ((package == null)) {
+ this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[5].Value = ((string)(package));
+ }
+ if ((status == null)) {
+ this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[6].Value = ((string)(status));
+ }
+ if ((type == null)) {
+ this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[7].Value = ((string)(type));
+ }
+ if ((description == null)) {
+ this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[8].Value = ((string)(description));
+ }
+ if ((remark == null)) {
+ this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[9].Value = ((string)(remark));
+ }
+ if ((hrs.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[10].Value = ((double)(hrs.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ if ((import.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[11].Value = ((bool)(import.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ if ((wuid == null)) {
+ throw new global::System.ArgumentNullException("wuid");
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[12].Value = ((string)(wuid));
+ }
+ this.Adapter.InsertCommand.Parameters[13].Value = ((System.DateTime)(wdate));
+ if ((projectName == null)) {
+ this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[14].Value = ((string)(projectName));
+ }
+ if ((ot.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[15].Value = ((double)(ot.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ if ((process == null)) {
+ this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[16].Value = ((string)(process));
+ }
+ if ((description2 == null)) {
+ this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[17].Value = ((string)(description2));
+ }
+ if ((tag == null)) {
+ this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[18].Value = ((string)(tag));
+ }
+ if ((otStart.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[19].Value = ((System.DateTime)(otStart.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ if ((otEnd.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[20].Value = ((System.DateTime)(otEnd.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ if ((autoinput.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[21].Value = ((bool)(autoinput.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
+ }
+ if ((kisullv == null)) {
+ this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[22].Value = ((string)(kisullv));
+ }
+ if ((kisuldiv == null)) {
+ this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[23].Value = ((string)(kisuldiv));
+ }
+ if ((kisulamt.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[24].Value = ((decimal)(kisulamt.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value;
+ }
+ if ((ot2.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[25].Value = ((double)(ot2.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value;
+ }
+ if ((otReason == null)) {
+ this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[26].Value = ((string)(otReason));
+ }
+ if ((otwuid == null)) {
+ this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[27].Value = ((string)(otwuid));
+ }
+ if ((ottime.HasValue == true)) {
+ this.Adapter.InsertCommand.Parameters[28].Value = ((System.DateTime)(ottime.Value));
+ }
+ else {
+ this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value;
+ }
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
+ if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.InsertCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.InsertCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ string gcode,
+ global::System.Nullable pidx,
+ string pdate,
+ string uid,
+ string requestpart,
+ string package,
+ string status,
+ string type,
+ string description,
+ string remark,
+ global::System.Nullable hrs,
+ global::System.Nullable import,
+ string wuid,
+ System.DateTime wdate,
+ string projectName,
+ global::System.Nullable ot,
+ string process,
+ string description2,
+ string tag,
+ global::System.Nullable otStart,
+ global::System.Nullable otEnd,
+ global::System.Nullable autoinput,
+ string kisullv,
+ string kisuldiv,
+ global::System.Nullable kisulamt,
+ global::System.Nullable ot2,
+ string otReason,
+ string otwuid,
+ global::System.Nullable ottime,
+ string Original_gcode,
+ int Original_idx,
+ global::System.Nullable Original_pidx,
+ string Original_pdate,
+ string Original_uid,
+ string Original_requestpart,
+ string Original_package,
+ string Original_status,
+ string Original_type,
+ string Original_remark,
+ global::System.Nullable Original_hrs,
+ global::System.Nullable Original_import,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ string Original_projectName,
+ global::System.Nullable Original_ot,
+ string Original_process,
+ string Original_tag,
+ global::System.Nullable Original_otStart,
+ global::System.Nullable Original_otEnd,
+ global::System.Nullable Original_autoinput,
+ string Original_kisullv,
+ string Original_kisuldiv,
+ global::System.Nullable Original_kisulamt,
+ global::System.Nullable Original_ot2,
+ string Original_otReason,
+ string Original_otwuid,
+ global::System.Nullable Original_ottime,
+ int idx) {
+ if ((gcode == null)) {
+ throw new global::System.ArgumentNullException("gcode");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(gcode));
+ }
+ if ((pidx.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(pidx.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ if ((pdate == null)) {
+ this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(pdate));
+ }
+ if ((uid == null)) {
+ this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(uid));
+ }
+ if ((requestpart == null)) {
+ this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(requestpart));
+ }
+ if ((package == null)) {
+ this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(package));
+ }
+ if ((status == null)) {
+ this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(status));
+ }
+ if ((type == null)) {
+ this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(type));
+ }
+ if ((description == null)) {
+ this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(description));
+ }
+ if ((remark == null)) {
+ this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(remark));
+ }
+ if ((hrs.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[10].Value = ((double)(hrs.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
+ }
+ if ((import.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[11].Value = ((bool)(import.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
+ }
+ if ((wuid == null)) {
+ throw new global::System.ArgumentNullException("wuid");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(wuid));
+ }
+ this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(wdate));
+ if ((projectName == null)) {
+ this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(projectName));
+ }
+ if ((ot.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[15].Value = ((double)(ot.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
+ }
+ if ((process == null)) {
+ this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(process));
+ }
+ if ((description2 == null)) {
+ this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(description2));
+ }
+ if ((tag == null)) {
+ this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(tag));
+ }
+ if ((otStart.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(otStart.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
+ }
+ if ((otEnd.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[20].Value = ((System.DateTime)(otEnd.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
+ }
+ if ((autoinput.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[21].Value = ((bool)(autoinput.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
+ }
+ if ((kisullv == null)) {
+ this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(kisullv));
+ }
+ if ((kisuldiv == null)) {
+ this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(kisuldiv));
+ }
+ if ((kisulamt.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[24].Value = ((decimal)(kisulamt.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
+ }
+ if ((ot2.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[25].Value = ((double)(ot2.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
+ }
+ if ((otReason == null)) {
+ this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(otReason));
+ }
+ if ((otwuid == null)) {
+ this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(otwuid));
+ }
+ if ((ottime.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[28].Value = ((System.DateTime)(ottime.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
+ }
+ if ((Original_gcode == null)) {
+ throw new global::System.ArgumentNullException("Original_gcode");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_gcode));
+ }
+ this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_idx));
+ if ((Original_pidx.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(Original_pidx.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
+ }
+ if ((Original_pdate == null)) {
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_pdate));
+ }
+ if ((Original_uid == null)) {
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_uid));
+ }
+ if ((Original_requestpart == null)) {
+ this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_requestpart));
+ }
+ if ((Original_package == null)) {
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_package));
+ }
+ if ((Original_status == null)) {
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_status));
+ }
+ if ((Original_type == null)) {
+ this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_type));
+ }
+ if ((Original_remark == null)) {
+ this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_remark));
+ }
+ if ((Original_hrs.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[48].Value = ((double)(Original_hrs.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
+ }
+ if ((Original_import.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[50].Value = ((bool)(Original_import.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
+ }
+ if ((Original_wuid == null)) {
+ throw new global::System.ArgumentNullException("Original_wuid");
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_wuid));
+ }
+ this.Adapter.UpdateCommand.Parameters[52].Value = ((System.DateTime)(Original_wdate));
+ if ((Original_projectName == null)) {
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_projectName));
+ }
+ if ((Original_ot.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[56].Value = ((double)(Original_ot.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
+ }
+ if ((Original_process == null)) {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(Original_process));
+ }
+ if ((Original_tag == null)) {
+ this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(Original_tag));
+ }
+ if ((Original_otStart.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[62].Value = ((System.DateTime)(Original_otStart.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
+ }
+ if ((Original_otEnd.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[64].Value = ((System.DateTime)(Original_otEnd.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value;
+ }
+ if ((Original_autoinput.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[66].Value = ((bool)(Original_autoinput.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value;
+ }
+ if ((Original_kisullv == null)) {
+ this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(Original_kisullv));
+ }
+ if ((Original_kisuldiv == null)) {
+ this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[70].Value = ((string)(Original_kisuldiv));
+ }
+ if ((Original_kisulamt.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[72].Value = ((decimal)(Original_kisulamt.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value;
+ }
+ if ((Original_ot2.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[74].Value = ((double)(Original_ot2.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value;
+ }
+ if ((Original_otReason == null)) {
+ this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_otReason));
+ }
+ if ((Original_otwuid == null)) {
+ this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value;
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(Original_otwuid));
+ }
+ if ((Original_ottime.HasValue == true)) {
+ this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(0));
+ this.Adapter.UpdateCommand.Parameters[80].Value = ((System.DateTime)(Original_ottime.Value));
+ }
+ else {
+ this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(1));
+ this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value;
+ }
+ this.Adapter.UpdateCommand.Parameters[81].Value = ((int)(idx));
+ global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
+ if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ this.Adapter.UpdateCommand.Connection.Open();
+ }
+ try {
+ int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
+ return returnValue;
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ this.Adapter.UpdateCommand.Connection.Close();
+ }
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
+ public virtual int Update(
+ global::System.Nullable pidx,
+ string pdate,
+ string uid,
+ string requestpart,
+ string package,
+ string status,
+ string type,
+ string description,
+ string remark,
+ global::System.Nullable hrs,
+ global::System.Nullable import,
+ string wuid,
+ System.DateTime wdate,
+ string projectName,
+ global::System.Nullable ot,
+ string process,
+ string description2,
+ string tag,
+ global::System.Nullable otStart,
+ global::System.Nullable otEnd,
+ global::System.Nullable autoinput,
+ string kisullv,
+ string kisuldiv,
+ global::System.Nullable kisulamt,
+ global::System.Nullable ot2,
+ string otReason,
+ string otwuid,
+ global::System.Nullable ottime,
+ string Original_gcode,
+ int Original_idx,
+ global::System.Nullable Original_pidx,
+ string Original_pdate,
+ string Original_uid,
+ string Original_requestpart,
+ string Original_package,
+ string Original_status,
+ string Original_type,
+ string Original_remark,
+ global::System.Nullable Original_hrs,
+ global::System.Nullable Original_import,
+ string Original_wuid,
+ System.DateTime Original_wdate,
+ string Original_projectName,
+ global::System.Nullable Original_ot,
+ string Original_process,
+ string Original_tag,
+ global::System.Nullable Original_otStart,
+ global::System.Nullable Original_otEnd,
+ global::System.Nullable Original_autoinput,
+ string Original_kisullv,
+ string Original_kisuldiv,
+ global::System.Nullable Original_kisulamt,
+ global::System.Nullable Original_ot2,
+ string Original_otReason,
+ string Original_otwuid,
+ global::System.Nullable Original_ottime) {
+ return this.Update(Original_gcode, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, projectName, ot, process, description2, tag, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason, otwuid, ottime, Original_gcode, Original_idx, Original_pidx, Original_pdate, Original_uid, Original_requestpart, Original_package, Original_status, Original_type, Original_remark, Original_hrs, Original_import, Original_wuid, Original_wdate, Original_projectName, Original_ot, Original_process, Original_tag, Original_otStart, Original_otEnd, Original_autoinput, Original_kisullv, Original_kisuldiv, Original_kisulamt, Original_ot2, Original_otReason, Original_otwuid, Original_ottime, Original_idx);
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ public virtual global::System.Nullable CheckOt2Input(string gcode, int idx) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
+ if ((gcode == null)) {
+ throw new global::System.ArgumentNullException("gcode");
+ }
+ else {
+ command.Parameters[0].Value = ((string)(gcode));
+ }
+ command.Parameters[1].Value = ((int)(idx));
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ object returnValue;
+ try {
+ returnValue = command.ExecuteScalar();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ if (((returnValue == null)
+ || (returnValue.GetType() == typeof(global::System.DBNull)))) {
+ return new global::System.Nullable();
+ }
+ else {
+ return new global::System.Nullable(((int)(returnValue)));
+ }
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
+ public virtual int DeleteImport(string sd, string ed, string user, string gcode) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
+ if ((sd == null)) {
+ command.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[0].Value = ((string)(sd));
+ }
+ if ((ed == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(ed));
+ }
+ if ((user == null)) {
+ throw new global::System.ArgumentNullException("user");
+ }
+ else {
+ command.Parameters[2].Value = ((string)(user));
+ }
+ if ((gcode == null)) {
+ throw new global::System.ArgumentNullException("gcode");
+ }
+ else {
+ command.Parameters[3].Value = ((string)(gcode));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, false)]
+ public virtual int DeleteImportAll(string sd, string ed, string gcode) {
+ global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
+ if ((sd == null)) {
+ command.Parameters[0].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[0].Value = ((string)(sd));
+ }
+ if ((ed == null)) {
+ command.Parameters[1].Value = global::System.DBNull.Value;
+ }
+ else {
+ command.Parameters[1].Value = ((string)(ed));
+ }
+ if ((gcode == null)) {
+ throw new global::System.ArgumentNullException("gcode");
+ }
+ else {
+ command.Parameters[2].Value = ((string)(gcode));
+ }
+ global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
+ if (((command.Connection.State & global::System.Data.ConnectionState.Open)
+ != global::System.Data.ConnectionState.Open)) {
+ command.Connection.Open();
+ }
+ int returnValue;
+ try {
+ returnValue = command.ExecuteNonQuery();
+ }
+ finally {
+ if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
+ command.Connection.Close();
+ }
+ }
+ return returnValue;
+ }
+ }
+
///
///Represents the connection and commands used to retrieve and save data.
///
@@ -39195,8 +38986,6 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
private ProjectsPartTableAdapter _projectsPartTableAdapter;
- private JobReportTableAdapter _jobReportTableAdapter;
-
private ProjectsHistoryTableAdapter _projectsHistoryTableAdapter;
private SPMasterTableAdapter _sPMasterTableAdapter;
@@ -39219,6 +39008,8 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
private EETGW_ProjectResonTableAdapter _eETGW_ProjectResonTableAdapter;
+ private JobReportTableAdapter _jobReportTableAdapter;
+
private bool _backupDataSetBeforeUpdate;
private global::System.Data.IDbConnection _connection;
@@ -39290,20 +39081,6 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
}
}
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
- [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
- "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
- "a", "System.Drawing.Design.UITypeEditor")]
- public JobReportTableAdapter JobReportTableAdapter {
- get {
- return this._jobReportTableAdapter;
- }
- set {
- this._jobReportTableAdapter = value;
- }
- }
-
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
@@ -39458,6 +39235,20 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
}
}
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
+ [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
+ "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
+ "a", "System.Drawing.Design.UITypeEditor")]
+ public JobReportTableAdapter JobReportTableAdapter {
+ get {
+ return this._jobReportTableAdapter;
+ }
+ set {
+ this._jobReportTableAdapter = value;
+ }
+ }
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool BackupDataSetBeforeUpdate {
@@ -39493,10 +39284,6 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
&& (this._projectsPartTableAdapter.Connection != null))) {
return this._projectsPartTableAdapter.Connection;
}
- if (((this._jobReportTableAdapter != null)
- && (this._jobReportTableAdapter.Connection != null))) {
- return this._jobReportTableAdapter.Connection;
- }
if (((this._projectsHistoryTableAdapter != null)
&& (this._projectsHistoryTableAdapter.Connection != null))) {
return this._projectsHistoryTableAdapter.Connection;
@@ -39541,6 +39328,10 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
&& (this._eETGW_ProjectResonTableAdapter.Connection != null))) {
return this._eETGW_ProjectResonTableAdapter.Connection;
}
+ if (((this._jobReportTableAdapter != null)
+ && (this._jobReportTableAdapter.Connection != null))) {
+ return this._jobReportTableAdapter.Connection;
+ }
return null;
}
set {
@@ -39566,9 +39357,6 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
if ((this._projectsPartTableAdapter != null)) {
count = (count + 1);
}
- if ((this._jobReportTableAdapter != null)) {
- count = (count + 1);
- }
if ((this._projectsHistoryTableAdapter != null)) {
count = (count + 1);
}
@@ -39602,6 +39390,9 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
if ((this._eETGW_ProjectResonTableAdapter != null)) {
count = (count + 1);
}
+ if ((this._jobReportTableAdapter != null)) {
+ count = (count + 1);
+ }
return count;
}
}
@@ -39622,6 +39413,15 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
allChangedRows.AddRange(updatedRows);
}
}
+ if ((this._eETGW_ProjectResonTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.EETGW_ProjectReson.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
+ if (((updatedRows != null)
+ && (0 < updatedRows.Length))) {
+ result = (result + this._eETGW_ProjectResonTableAdapter.Update(updatedRows));
+ allChangedRows.AddRange(updatedRows);
+ }
+ }
if ((this._eETGW_ProjectsScheduleTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.EETGW_ProjectsSchedule.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -39712,15 +39512,6 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._jobReportTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
- updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
- if (((updatedRows != null)
- && (0 < updatedRows.Length))) {
- result = (result + this._jobReportTableAdapter.Update(updatedRows));
- allChangedRows.AddRange(updatedRows);
- }
- }
if ((this._projectsPartTableAdapter != null)) {
global::System.Data.DataRow[] updatedRows = dataSet.ProjectsPart.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
@@ -39748,12 +39539,12 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
allChangedRows.AddRange(updatedRows);
}
}
- if ((this._eETGW_ProjectResonTableAdapter != null)) {
- global::System.Data.DataRow[] updatedRows = dataSet.EETGW_ProjectReson.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
+ if ((this._jobReportTableAdapter != null)) {
+ global::System.Data.DataRow[] updatedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
if (((updatedRows != null)
&& (0 < updatedRows.Length))) {
- result = (result + this._eETGW_ProjectResonTableAdapter.Update(updatedRows));
+ result = (result + this._jobReportTableAdapter.Update(updatedRows));
allChangedRows.AddRange(updatedRows);
}
}
@@ -39775,6 +39566,14 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
allAddedRows.AddRange(addedRows);
}
}
+ if ((this._eETGW_ProjectResonTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.EETGW_ProjectReson.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if (((addedRows != null)
+ && (0 < addedRows.Length))) {
+ result = (result + this._eETGW_ProjectResonTableAdapter.Update(addedRows));
+ allAddedRows.AddRange(addedRows);
+ }
+ }
if ((this._eETGW_ProjectsScheduleTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.EETGW_ProjectsSchedule.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -39855,14 +39654,6 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
allAddedRows.AddRange(addedRows);
}
}
- if ((this._jobReportTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.Added);
- if (((addedRows != null)
- && (0 < addedRows.Length))) {
- result = (result + this._jobReportTableAdapter.Update(addedRows));
- allAddedRows.AddRange(addedRows);
- }
- }
if ((this._projectsPartTableAdapter != null)) {
global::System.Data.DataRow[] addedRows = dataSet.ProjectsPart.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
@@ -39887,11 +39678,11 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
allAddedRows.AddRange(addedRows);
}
}
- if ((this._eETGW_ProjectResonTableAdapter != null)) {
- global::System.Data.DataRow[] addedRows = dataSet.EETGW_ProjectReson.Select(null, null, global::System.Data.DataViewRowState.Added);
+ if ((this._jobReportTableAdapter != null)) {
+ global::System.Data.DataRow[] addedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.Added);
if (((addedRows != null)
&& (0 < addedRows.Length))) {
- result = (result + this._eETGW_ProjectResonTableAdapter.Update(addedRows));
+ result = (result + this._jobReportTableAdapter.Update(addedRows));
allAddedRows.AddRange(addedRows);
}
}
@@ -39905,11 +39696,11 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private int UpdateDeletedRows(dsPRJ dataSet, global::System.Collections.Generic.List allChangedRows) {
int result = 0;
- if ((this._eETGW_ProjectResonTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjectReson.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if ((this._jobReportTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
&& (0 < deletedRows.Length))) {
- result = (result + this._eETGW_ProjectResonTableAdapter.Update(deletedRows));
+ result = (result + this._jobReportTableAdapter.Update(deletedRows));
allChangedRows.AddRange(deletedRows);
}
}
@@ -39937,14 +39728,6 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
allChangedRows.AddRange(deletedRows);
}
}
- if ((this._jobReportTableAdapter != null)) {
- global::System.Data.DataRow[] deletedRows = dataSet.JobReport.Select(null, null, global::System.Data.DataViewRowState.Deleted);
- if (((deletedRows != null)
- && (0 < deletedRows.Length))) {
- result = (result + this._jobReportTableAdapter.Update(deletedRows));
- allChangedRows.AddRange(deletedRows);
- }
- }
if ((this._projectsHistoryTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.ProjectsHistory.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -40025,6 +39808,14 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
allChangedRows.AddRange(deletedRows);
}
}
+ if ((this._eETGW_ProjectResonTableAdapter != null)) {
+ global::System.Data.DataRow[] deletedRows = dataSet.EETGW_ProjectReson.Select(null, null, global::System.Data.DataViewRowState.Deleted);
+ if (((deletedRows != null)
+ && (0 < deletedRows.Length))) {
+ result = (result + this._eETGW_ProjectResonTableAdapter.Update(deletedRows));
+ allChangedRows.AddRange(deletedRows);
+ }
+ }
if ((this._projectsTableAdapter != null)) {
global::System.Data.DataRow[] deletedRows = dataSet.Projects.Select(null, null, global::System.Data.DataViewRowState.Deleted);
if (((deletedRows != null)
@@ -40088,10 +39879,6 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
&& (this.MatchTableAdapterConnection(this._projectsPartTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
}
- if (((this._jobReportTableAdapter != null)
- && (this.MatchTableAdapterConnection(this._jobReportTableAdapter.Connection) == false))) {
- throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
- }
if (((this._projectsHistoryTableAdapter != null)
&& (this.MatchTableAdapterConnection(this._projectsHistoryTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
@@ -40136,6 +39923,10 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
&& (this.MatchTableAdapterConnection(this._eETGW_ProjectResonTableAdapter.Connection) == false))) {
throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
}
+ if (((this._jobReportTableAdapter != null)
+ && (this.MatchTableAdapterConnection(this._jobReportTableAdapter.Connection) == false))) {
+ throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
+ }
global::System.Data.IDbConnection workConnection = this.Connection;
if ((workConnection == null)) {
throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" +
@@ -40203,15 +39994,6 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
adaptersWithAcceptChangesDuringUpdate.Add(this._projectsPartTableAdapter.Adapter);
}
}
- if ((this._jobReportTableAdapter != null)) {
- revertConnections.Add(this._jobReportTableAdapter, this._jobReportTableAdapter.Connection);
- this._jobReportTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
- this._jobReportTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
- if (this._jobReportTableAdapter.Adapter.AcceptChangesDuringUpdate) {
- this._jobReportTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
- adaptersWithAcceptChangesDuringUpdate.Add(this._jobReportTableAdapter.Adapter);
- }
- }
if ((this._projectsHistoryTableAdapter != null)) {
revertConnections.Add(this._projectsHistoryTableAdapter, this._projectsHistoryTableAdapter.Connection);
this._projectsHistoryTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
@@ -40311,6 +40093,15 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_ProjectResonTableAdapter.Adapter);
}
}
+ if ((this._jobReportTableAdapter != null)) {
+ revertConnections.Add(this._jobReportTableAdapter, this._jobReportTableAdapter.Connection);
+ this._jobReportTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
+ this._jobReportTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
+ if (this._jobReportTableAdapter.Adapter.AcceptChangesDuringUpdate) {
+ this._jobReportTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
+ adaptersWithAcceptChangesDuringUpdate.Add(this._jobReportTableAdapter.Adapter);
+ }
+ }
//
//---- Perform updates -----------
//
@@ -40385,10 +40176,6 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
this._projectsPartTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._projectsPartTableAdapter]));
this._projectsPartTableAdapter.Transaction = null;
}
- if ((this._jobReportTableAdapter != null)) {
- this._jobReportTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._jobReportTableAdapter]));
- this._jobReportTableAdapter.Transaction = null;
- }
if ((this._projectsHistoryTableAdapter != null)) {
this._projectsHistoryTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._projectsHistoryTableAdapter]));
this._projectsHistoryTableAdapter.Transaction = null;
@@ -40433,6 +40220,10 @@ SELECT idx, gcode, pidx, pseq, pdate, remark, remark2, wuid, wdate, no FROM EETG
this._eETGW_ProjectResonTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_ProjectResonTableAdapter]));
this._eETGW_ProjectResonTableAdapter.Transaction = null;
}
+ if ((this._jobReportTableAdapter != null)) {
+ this._jobReportTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._jobReportTableAdapter]));
+ this._jobReportTableAdapter.Transaction = null;
+ }
if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
diff --git a/SubProject/FPJ0000/dsPRJ.xsd b/SubProject/FPJ0000/dsPRJ.xsd
index 0b2c54d..53359e3 100644
--- a/SubProject/FPJ0000/dsPRJ.xsd
+++ b/SubProject/FPJ0000/dsPRJ.xsd
@@ -94,7 +94,7 @@ WHERE (idx = @Original_idx)
bCost, bFanOut, div, crdue, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid,
dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid)
AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly,
- ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin, sfi
+ ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin, sfi, dbo.getLastHistoryD(idx) AS lasthistoryD
FROM Projects
WHERE (status LIKE @state) AND (ISNULL(userManager, '') LIKE @username OR
ISNULL(usermain, '') LIKE @username OR
@@ -263,6 +263,7 @@ SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odat
+
@@ -793,349 +794,6 @@ WHERE (Project = @pidx)
-
-
-
-
-
- DELETE FROM [JobReport] WHERE (([idx] = @Original_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)) AND ((@IsNull_ot = 1 AND [ot] IS NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ([gcode] = @Original_gcode) AND ((@IsNull_tag = 1 AND [tag] IS NULL) OR ([tag] = @Original_tag)) AND ((@IsNull_otStart = 1 AND [otStart] IS NULL) OR ([otStart] = @Original_otStart)) AND ((@IsNull_otEnd = 1 AND [otEnd] IS NULL) OR ([otEnd] = @Original_otEnd)) AND ((@IsNull_autoinput = 1 AND [autoinput] IS NULL) OR ([autoinput] = @Original_autoinput)) AND ((@IsNull_kisullv = 1 AND [kisullv] IS NULL) OR ([kisullv] = @Original_kisullv)) AND ((@IsNull_kisuldiv = 1 AND [kisuldiv] IS NULL) OR ([kisuldiv] = @Original_kisuldiv)) AND ((@IsNull_kisulamt = 1 AND [kisulamt] IS NULL) OR ([kisulamt] = @Original_kisulamt)) AND ((@IsNull_ot2 = 1 AND [ot2] IS NULL) OR ([ot2] = @Original_ot2)) AND ((@IsNull_otReason = 1 AND [otReason] IS NULL) OR ([otReason] = @Original_otReason)) AND ((@IsNull_otwuid = 1 AND [otwuid] IS NULL) OR ([otwuid] = @Original_otwuid)) AND ((@IsNull_ottime = 1 AND [ottime] IS NULL) OR ([ottime] = @Original_ottime)))
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- INSERT INTO [JobReport] ([pidx], [pdate], [uid], [requestpart], [package], [status], [type], [description], [remark], [hrs], [import], [wuid], [wdate], [projectName], [ot], [process], [gcode], [description2], [tag], [otStart], [otEnd], [autoinput], [kisullv], [kisuldiv], [kisulamt], [ot2], [otReason], [otwuid], [ottime]) VALUES (@pidx, @pdate, @uid, @requestpart, @package, @status, @type, @description, @remark, @hrs, @import, @wuid, @wdate, @projectName, @ot, @process, @gcode, @description2, @tag, @otStart, @otEnd, @autoinput, @kisullv, @kisuldiv, @kisulamt, @ot2, @otReason, @otwuid, @ottime);
-SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww, process, gcode, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason, dbo.IsHoliday(pdate) AS FreeDay, dbo.GetWeekName(pdate) AS WeekName, otwuid, ottime FROM JobReport WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww,
- process, gcode, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason, dbo.IsHoliday(pdate) AS FreeDay,
- dbo.GetWeekName(pdate) AS WeekName, otwuid, ottime
-FROM JobReport
-WHERE (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid) AND (gcode = @gcode)
-ORDER BY pdate DESC
-
-
-
-
-
-
-
-
-
-
- UPDATE [JobReport] SET [pidx] = @pidx, [pdate] = @pdate, [uid] = @uid, [requestpart] = @requestpart, [package] = @package, [status] = @status, [type] = @type, [description] = @description, [remark] = @remark, [hrs] = @hrs, [import] = @import, [wuid] = @wuid, [wdate] = @wdate, [projectName] = @projectName, [ot] = @ot, [process] = @process, [gcode] = @gcode, [description2] = @description2, [tag] = @tag, [otStart] = @otStart, [otEnd] = @otEnd, [autoinput] = @autoinput, [kisullv] = @kisullv, [kisuldiv] = @kisuldiv, [kisulamt] = @kisulamt, [ot2] = @ot2, [otReason] = @otReason, [otwuid] = @otwuid, [ottime] = @ottime WHERE (([idx] = @Original_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)) AND ((@IsNull_ot = 1 AND [ot] IS NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ([gcode] = @Original_gcode) AND ((@IsNull_tag = 1 AND [tag] IS NULL) OR ([tag] = @Original_tag)) AND ((@IsNull_otStart = 1 AND [otStart] IS NULL) OR ([otStart] = @Original_otStart)) AND ((@IsNull_otEnd = 1 AND [otEnd] IS NULL) OR ([otEnd] = @Original_otEnd)) AND ((@IsNull_autoinput = 1 AND [autoinput] IS NULL) OR ([autoinput] = @Original_autoinput)) AND ((@IsNull_kisullv = 1 AND [kisullv] IS NULL) OR ([kisullv] = @Original_kisullv)) AND ((@IsNull_kisuldiv = 1 AND [kisuldiv] IS NULL) OR ([kisuldiv] = @Original_kisuldiv)) AND ((@IsNull_kisulamt = 1 AND [kisulamt] IS NULL) OR ([kisulamt] = @Original_kisulamt)) AND ((@IsNull_ot2 = 1 AND [ot2] IS NULL) OR ([ot2] = @Original_ot2)) AND ((@IsNull_otReason = 1 AND [otReason] IS NULL) OR ([otReason] = @Original_otReason)) AND ((@IsNull_otwuid = 1 AND [otwuid] IS NULL) OR ([otwuid] = @Original_otwuid)) AND ((@IsNull_ottime = 1 AND [ottime] IS NULL) OR ([ottime] = @Original_ottime)));
-SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww, process, gcode, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason, dbo.IsHoliday(pdate) AS FreeDay, dbo.GetWeekName(pdate) AS WeekName, otwuid, ottime FROM JobReport WHERE (idx = @idx) ORDER BY pdate DESC
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SELECT COUNT(*) FROM JobReport
-where gcode = @gcode and idx = @idx
-and isnull(ot2,0) > 0
-
-
-
-
-
-
-
-
-
-
- DELETE FROM [JobReport] WHERE pdate between @sd and @ed and wuid = @user
-
-
-
-
-
-
-
-
-
- DELETE FROM JobReport
-WHERE (pdate BETWEEN @sd AND @ed) AND (wuid = @user) AND (ISNULL(import, 0) = 1) AND (gcode = @gcode)
-
-
-
-
-
-
-
-
-
-
-
-
- DELETE FROM JobReport
-WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(import, 0) = 1) AND (gcode = @gcode)
-
-
-
-
-
-
-
-
-
-
-
- SELECT autoinput, description, description2, gcode, hrs, idx, import, kisulamt, kisuldiv, kisullv, ot, ot2, otEnd, otReason, otStart, ottime, otwuid, package, pdate, pidx, process, projectName, remark, requestpart, status, dbo.getCodeSValue(gcode, '15', type) AS svalue, tag, type, uid, dbo.getUserName(uid) AS username, wdate, wuid, dbo.getWorkWeek(pdate) AS ww FROM JobReport WHERE (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid) AND (gcode = @gcode) AND (ISNULL(tag, '') <> '') ORDER BY pdate DESC
-
-
-
-
-
-
-
-
-
-
-
-
- SELECT description, hrs, idx, import, ot, package, pdate, pidx, process, projectName, remark, requestpart, status, type, uid, dbo.getUserName(uid) AS username, wdate, wuid, dbo.getWorkWeek(pdate)
- AS ww, gcode, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue, kisullv, kisuldiv, kisulamt, autoinput, ot2, otReason, otwuid, ottime
-FROM JobReport
-WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(dbo.getProjectName(pidx), '') LIKE @prjname) AND (gcode = @gcode)
-ORDER BY pdate DESC
-
-
-
-
-
-
-
-
-
-
-
-
- SELECT pidx, projectName, MAX(pdate) AS pdate
-FROM JobReport
-WHERE (ISNULL(projectName, N'') LIKE @search OR
- ISNULL(description, N'') LIKE @search) AND (projectName <> '') AND (gcode = @gcode)
-GROUP BY pidx, projectName
-ORDER BY projectName
-
-
-
-
-
-
-
-
-
@@ -2928,6 +2586,293 @@ ORDER BY name
+
+
+
+
+
+ DELETE FROM [JobReport] WHERE (([gcode] = @Original_gcode) AND ([idx] = @Original_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)) AND ((@IsNull_ot = 1 AND [ot] IS NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_tag = 1 AND [tag] IS NULL) OR ([tag] = @Original_tag)) AND ((@IsNull_otStart = 1 AND [otStart] IS NULL) OR ([otStart] = @Original_otStart)) AND ((@IsNull_otEnd = 1 AND [otEnd] IS NULL) OR ([otEnd] = @Original_otEnd)) AND ((@IsNull_autoinput = 1 AND [autoinput] IS NULL) OR ([autoinput] = @Original_autoinput)) AND ((@IsNull_kisullv = 1 AND [kisullv] IS NULL) OR ([kisullv] = @Original_kisullv)) AND ((@IsNull_kisuldiv = 1 AND [kisuldiv] IS NULL) OR ([kisuldiv] = @Original_kisuldiv)) AND ((@IsNull_kisulamt = 1 AND [kisulamt] IS NULL) OR ([kisulamt] = @Original_kisulamt)) AND ((@IsNull_ot2 = 1 AND [ot2] IS NULL) OR ([ot2] = @Original_ot2)) AND ((@IsNull_otReason = 1 AND [otReason] IS NULL) OR ([otReason] = @Original_otReason)) AND ((@IsNull_otwuid = 1 AND [otwuid] IS NULL) OR ([otwuid] = @Original_otwuid)) AND ((@IsNull_ottime = 1 AND [ottime] IS NULL) OR ([ottime] = @Original_ottime)))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ INSERT INTO [JobReport] ([gcode], [pidx], [pdate], [uid], [requestpart], [package], [status], [type], [description], [remark], [hrs], [import], [wuid], [wdate], [projectName], [ot], [process], [description2], [tag], [otStart], [otEnd], [autoinput], [kisullv], [kisuldiv], [kisulamt], [ot2], [otReason], [otwuid], [ottime]) VALUES (@gcode, @pidx, @pdate, @uid, @requestpart, @package, @status, @type, @description, @remark, @hrs, @import, @wuid, @wdate, @projectName, @ot, @process, @description2, @tag, @otStart, @otEnd, @autoinput, @kisullv, @kisuldiv, @kisulamt, @ot2, @otReason, @otwuid, @ottime);
+SELECT gcode, idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww, process, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason, dbo.IsHoliday(pdate) AS FreeDay, otwuid, ottime, dbo.GetWeekName(pdate) AS WeekName FROM JobReport WHERE (gcode = @gcode) AND (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT gcode, idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate)
+ AS ww, process, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason, dbo.IsHoliday(pdate) AS FreeDay,
+ otwuid, ottime, dbo.GetWeekName(pdate) AS WeekName
+FROM JobReport
+WHERE (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid) AND (gcode = @gcode)
+ORDER BY pdate DESC
+
+
+
+
+
+
+
+
+
+
+ UPDATE [JobReport] SET [gcode] = @gcode, [pidx] = @pidx, [pdate] = @pdate, [uid] = @uid, [requestpart] = @requestpart, [package] = @package, [status] = @status, [type] = @type, [description] = @description, [remark] = @remark, [hrs] = @hrs, [import] = @import, [wuid] = @wuid, [wdate] = @wdate, [projectName] = @projectName, [ot] = @ot, [process] = @process, [description2] = @description2, [tag] = @tag, [otStart] = @otStart, [otEnd] = @otEnd, [autoinput] = @autoinput, [kisullv] = @kisullv, [kisuldiv] = @kisuldiv, [kisulamt] = @kisulamt, [ot2] = @ot2, [otReason] = @otReason, [otwuid] = @otwuid, [ottime] = @ottime WHERE (([gcode] = @Original_gcode) AND ([idx] = @Original_idx) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_requestpart = 1 AND [requestpart] IS NULL) OR ([requestpart] = @Original_requestpart)) AND ((@IsNull_package = 1 AND [package] IS NULL) OR ([package] = @Original_package)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_remark = 1 AND [remark] IS NULL) OR ([remark] = @Original_remark)) AND ((@IsNull_hrs = 1 AND [hrs] IS NULL) OR ([hrs] = @Original_hrs)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)) AND ((@IsNull_ot = 1 AND [ot] IS NULL) OR ([ot] = @Original_ot)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_tag = 1 AND [tag] IS NULL) OR ([tag] = @Original_tag)) AND ((@IsNull_otStart = 1 AND [otStart] IS NULL) OR ([otStart] = @Original_otStart)) AND ((@IsNull_otEnd = 1 AND [otEnd] IS NULL) OR ([otEnd] = @Original_otEnd)) AND ((@IsNull_autoinput = 1 AND [autoinput] IS NULL) OR ([autoinput] = @Original_autoinput)) AND ((@IsNull_kisullv = 1 AND [kisullv] IS NULL) OR ([kisullv] = @Original_kisullv)) AND ((@IsNull_kisuldiv = 1 AND [kisuldiv] IS NULL) OR ([kisuldiv] = @Original_kisuldiv)) AND ((@IsNull_kisulamt = 1 AND [kisulamt] IS NULL) OR ([kisulamt] = @Original_kisulamt)) AND ((@IsNull_ot2 = 1 AND [ot2] IS NULL) OR ([ot2] = @Original_ot2)) AND ((@IsNull_otReason = 1 AND [otReason] IS NULL) OR ([otReason] = @Original_otReason)) AND ((@IsNull_otwuid = 1 AND [otwuid] IS NULL) OR ([otwuid] = @Original_otwuid)) AND ((@IsNull_ottime = 1 AND [ottime] IS NULL) OR ([ottime] = @Original_ottime)));
+SELECT gcode, idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww, process, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue, otStart, otEnd, autoinput, kisullv, kisuldiv, kisulamt, ot2, otReason, dbo.IsHoliday(pdate) AS FreeDay, otwuid, ottime, dbo.GetWeekName(pdate) AS WeekName FROM JobReport WHERE (gcode = @gcode) AND (idx = @idx) ORDER BY pdate DESC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ SELECT COUNT(*) FROM JobReport
+where gcode = @gcode and idx = @idx
+and isnull(ot2,0) > 0
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM JobReport
+WHERE (pdate BETWEEN @sd AND @ed) AND (wuid = @user) AND (ISNULL(import, 0) = 1) AND (gcode = @gcode)
+
+
+
+
+
+
+
+
+
+
+
+
+ DELETE FROM JobReport
+WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(import, 0) = 1) AND (gcode = @gcode)
+
+
+
+
+
+
+
+
+
+
@@ -2977,7 +2922,7 @@ WHERE (idx = @idx)
-
+
@@ -3394,10 +3339,17 @@ WHERE (idx = @idx)
+
+
+
+
+
+
+
-
+
@@ -3441,7 +3393,7 @@ WHERE (idx = @idx)
-
+
@@ -3486,7 +3438,7 @@ WHERE (idx = @idx)
-
+
@@ -3596,181 +3548,7 @@ WHERE (idx = @idx)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -3808,7 +3586,7 @@ WHERE (idx = @idx)
-
+
@@ -3924,7 +3702,7 @@ WHERE (idx = @idx)
-
+
@@ -3975,7 +3753,7 @@ WHERE (idx = @idx)
-
+
@@ -3988,7 +3766,7 @@ WHERE (idx = @idx)
-
+
@@ -4161,7 +3939,7 @@ WHERE (idx = @idx)
-
+
@@ -4367,7 +4145,7 @@ WHERE (idx = @idx)
-
+
@@ -4412,7 +4190,7 @@ WHERE (idx = @idx)
-
+
@@ -4489,7 +4267,7 @@ WHERE (idx = @idx)
-
+
@@ -4680,7 +4458,7 @@ WHERE (idx = @idx)
-
+
@@ -4819,7 +4597,7 @@ WHERE (idx = @idx)
-
+
@@ -4886,7 +4664,7 @@ WHERE (idx = @idx)
-
+
@@ -4932,7 +4710,7 @@ WHERE (idx = @idx)
-
+
@@ -4952,6 +4730,179 @@ WHERE (idx = @idx)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -4970,10 +4921,6 @@ WHERE (idx = @idx)
-
-
-
-
@@ -5026,5 +4973,10 @@ WHERE (idx = @idx)
+
+
+
+
+
\ No newline at end of file
diff --git a/SubProject/FPJ0000/dsPRJ.xss b/SubProject/FPJ0000/dsPRJ.xss
index 4d4ea02..3921c02 100644
--- a/SubProject/FPJ0000/dsPRJ.xss
+++ b/SubProject/FPJ0000/dsPRJ.xss
@@ -4,13 +4,12 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
-->
-
+
-
-
+
@@ -20,11 +19,12 @@
-
+
+
\ No newline at end of file