Example #1
0
        private DataSet1.T_OCRX_CNTRow NewRow(DataSet1.T_OCRX_CNTRow oldNew)
        {
            DataSet1.T_OCRX_CNTDataTable dt   = new DataSet1.T_OCRX_CNTDataTable();
            DataSet1.T_OCRX_CNTRow       rowN = dt.NewT_OCRX_CNTRow();
            rowN.ItemArray     = oldNew.ItemArray;
            rowN.CONTAINER_NO  = string.Empty;
            rowN.RCONTAINER_NO = string.Empty;
            rowN.DOCK_ID       = -1;
            rowN.CSTATUS       = 1;
            rowN.CTOSERRORCODE = "0";
            rowN.CONTAINERID   = 0;
            rowN.ISARCHIVED    = "N";

            rowN.ISOVERTOP = "N";
            rowN.OVA       = decimal.Zero;
            rowN.OVF       = decimal.Zero;
            rowN.OVH       = decimal.Zero;
            rowN.OVL       = decimal.Zero;
            rowN.OVR       = decimal.Zero;

            rowN.ISOVERDIS = "N";
            rowN.ISDAMAGE  = "N";
            rowN.Dmg       = string.Empty;

            rowN.ISIMDG = "N";
            rowN.Imdg1  = string.Empty;
            rowN.Imdg2  = string.Empty;
            rowN.Imdg3  = string.Empty;

            rowN.DOCK_ID2 = oldNew.DOCK_ID;

            return(rowN);
        }
Example #2
0
        private DataSet1.T_OCRX_CNTRow NewRow(DataSet1.T_OCRX_CNTRow oldNew)
        {
            DataSet1.T_OCRX_CNTDataTable dt   = new DataSet1.T_OCRX_CNTDataTable();
            DataSet1.T_OCRX_CNTRow       rowN = dt.NewT_OCRX_CNTRow();
            rowN.ItemArray     = oldNew.ItemArray;
            rowN.CONTAINER_NO  = string.Empty;
            rowN.RCONTAINER_NO = string.Empty;
            rowN.DOCK_ID       = -1;
            rowN.CSTATUS       = 1;
            rowN.CTOSERRORCODE = "0";
            rowN.CONTAINERID   = 0;

            return(rowN);
        }