@@ -19,5 +19,19 @@ namespace UAS_LabelMachine.PublicMethod
oDatecode = param[8];
oLotno = param[9];
}
+
+ public static void GetTimeFromDatecode(DataHelper dh, string iDatecode, string iCustcode, out string oYear, out string oMonth, out string oDay, out string oDate)
+ {
+ oYear = "0";
+ oMonth = "0";
+ oDay = "0";
+ oDate = "19000101";
+ string[] param = new string[] { iDatecode, iCustcode, oYear, oMonth, oDay, oDate };
+ dh.CallProcedure("GETTIMEFROMDATECODE", ref param);
+ oYear = param[2];
+ oMonth = param[3];
+ oDay = param[4];
+ oDate = param[5];
+ }