Esempio n. 1
0
        public void Insert(decimal TestId, string AliasName, string Barcode, string ParaName, short Status, int DeviceId,
                           string TestDataId, byte?HasResult, string HisIdXn)
        {
            var item = new TRegList();

            item.TestId = TestId;

            item.AliasName = AliasName;

            item.Barcode = Barcode;

            item.ParaName = ParaName;

            item.Status = Status;

            item.DeviceId = DeviceId;

            item.TestDataId = TestDataId;

            item.HasResult = HasResult;

            item.HisIdXn = HisIdXn;


            item.Save(UserName);
        }
Esempio n. 2
0
        public void Update(long TestRegDetailId, decimal TestId, string AliasName, string Barcode, string ParaName,
                           short Status, int DeviceId, string TestDataId, byte?HasResult, string HisIdXn)
        {
            var item = new TRegList();

            item.MarkOld();
            item.IsLoaded = true;

            item.TestRegDetailId = TestRegDetailId;

            item.TestId = TestId;

            item.AliasName = AliasName;

            item.Barcode = Barcode;

            item.ParaName = ParaName;

            item.Status = Status;

            item.DeviceId = DeviceId;

            item.TestDataId = TestDataId;

            item.HasResult = HasResult;

            item.HisIdXn = HisIdXn;

            item.Save(UserName);
        }