public long AddNewTestParameter(TestParameter pNewParam) { DBTestParameter pDBParam = DBConversionHelper.ToDBParam(pNewParam); long nNewID = __pDB.InsertNewTestParameter(pDBParam); return(nNewID); }
public TestParameter GetTestParameter(long nParamID) { DBTestParameter pParam = __pDB.GetTestParameter(nParamID); return(DBConversionHelper.FromDBParam(pParam)); }
public bool UpdateTestParameter(TestParameter pUpdateParam) { DBTestParameter pDBParam = DBConversionHelper.ToDBParam(pUpdateParam); return(__pDB.UpdateTestParameter(pDBParam)); }
internal static TestParameter FromDBParam(DBTestParameter pFrom) { return(new TestParameter(pFrom.ID, pFrom.Name, pFrom.PreTestMS, pFrom.TestTimeMS, pFrom.HighLimitmV, pFrom.LowLimitmV)); }