Beispiel #1
0
        public void Insert(string TestDataId, int TestTypeId, int?DataSequence, string DataName, string MeasureUnit,
                           short DataPoint, string NormalLevel, string NormalLevelW, bool?DataView, bool?DataPrint,
                           string Description)
        {
            var item = new LStandardTest();

            item.TestDataId = TestDataId;

            item.TestTypeId = TestTypeId;

            item.DataSequence = DataSequence;

            item.DataName = DataName;

            item.MeasureUnit = MeasureUnit;

            item.DataPoint = DataPoint;

            item.NormalLevel = NormalLevel;

            item.NormalLevelW = NormalLevelW;

            item.DataView = DataView;

            item.DataPrint = DataPrint;

            item.Description = Description;


            item.Save(UserName);
        }
Beispiel #2
0
 public bool Destroy(object TestDataId)
 {
     return(LStandardTest.Destroy(TestDataId) == 1);
 }
Beispiel #3
0
 public bool Delete(object TestDataId)
 {
     return(LStandardTest.Delete(TestDataId) == 1);
 }