summary report 관련 데이터 업데이트

This commit is contained in:
chi
2021-03-26 10:31:40 +09:00
parent 3a667f14b1
commit 1efe0fa04e
33 changed files with 13666 additions and 4411 deletions

View File

@@ -34,6 +34,9 @@ namespace FEQ0000
case fEquipment.eTabletype.ING:
dt = new dsEQ.EETGW_EquipmentIngDataTable();
break;
case fEquipment.eTabletype.OTHER:
dt = new dsEQ.EETGW_EquipmentOtherDataTable();
break;
}
}
@@ -289,6 +292,10 @@ namespace FEQ0000
var taI = new dsEQTableAdapters.EETGW_EquipmentIngTableAdapter();
taI.DeleteData(dateStr);
break;
case fEquipment.eTabletype.OTHER:
var taO = new dsEQTableAdapters.EETGW_EquipmentOtherTableAdapter();
taO.DeleteData(dateStr);
break;
}
}
@@ -355,8 +362,9 @@ namespace FEQ0000
newdr["wdate"] = DateTime.Now;
newdr["except"] = false;
newdr["memo"] = string.Empty;
newdr["flag"] = rcsflag; //rcs flag 210325
if (imptype == fEquipment.eTabletype.BUMP) newdr["param1"] = "8\"";
else if (imptype == fEquipment.eTabletype.ING) newdr["param1"] = dr[1].ToString(); //rcs flag
else newdr["param1"] = string.Empty;
dt.Rows.Add(newdr);
}
@@ -386,6 +394,11 @@ namespace FEQ0000
//taI.DeleteData(dateStr);
taI.Update((dsEQ.EETGW_EquipmentIngDataTable)dt);
break;
case fEquipment.eTabletype.OTHER:
var taO = new dsEQTableAdapters.EETGW_EquipmentOtherTableAdapter();
//taI.DeleteData(dateStr);
taO.Update((dsEQ.EETGW_EquipmentOtherDataTable)dt);
break;
}
dt.AcceptChanges();
FCOMMON.Util.MsgI("Save OK");