protected string GetAccidentalQuantity(object obj) { FACILITYDETAIL_POLLUTANTRELEASE row = (FACILITYDETAIL_POLLUTANTRELEASE)obj; return(QuantityFormat.Format(row.AccidentalQuantity, row.AccidentalQuantityUnitCode)); //return QuantityFormat.Format(row.AccidentalQuantity, "TNE"); }
protected string GetPollutantName(object obj) { FACILITYDETAIL_POLLUTANTRELEASE row = (FACILITYDETAIL_POLLUTANTRELEASE)obj; string codeEPER = row.PollutantCode; if (!codeEPER.EndsWith("EPER")) { codeEPER = codeEPER + "EPER"; } //return LOVResources.PollutantName(row.PollutantCode); return(LOVResources.PollutantNameEPER(row.PollutantCode, codeEPER)); }
protected string GetConfidentialCode(object obj) { FACILITYDETAIL_POLLUTANTRELEASE row = (FACILITYDETAIL_POLLUTANTRELEASE)obj; return(row.ConfidentialCode); }
protected string GetConfidentialityReason(object obj) { FACILITYDETAIL_POLLUTANTRELEASE row = (FACILITYDETAIL_POLLUTANTRELEASE)obj; return(LOVResources.ConfidentialityReason(row.ConfidentialCode)); }
protected string GetMethodUsed(object obj) { FACILITYDETAIL_POLLUTANTRELEASE row = (FACILITYDETAIL_POLLUTANTRELEASE)obj; return(MethodUsedFormat.MethodFormat(row.MethodTypeCode, row.MethodDesignation, row.ConfidentialIndicator)); }
protected string GetMethodBasisName(object obj) { FACILITYDETAIL_POLLUTANTRELEASE row = (FACILITYDETAIL_POLLUTANTRELEASE)obj; return(LOVResources.MethodBasisName(row.MethodCode)); }
protected string GetAccidentalPercent(object obj) { FACILITYDETAIL_POLLUTANTRELEASE row = (FACILITYDETAIL_POLLUTANTRELEASE)obj; return(QueryLayer.Utilities.AccidentalPercent.DeterminePercent(row.TotalQuantity, row.AccidentalQuantity)); }
protected string GetTotalQuantity(object obj) { FACILITYDETAIL_POLLUTANTRELEASE row = (FACILITYDETAIL_POLLUTANTRELEASE)obj; return(QuantityFormat.Format(row.TotalQuantity, row.TotalQuantityUnitCode)); }
protected string GetPollutantName(object obj) { FACILITYDETAIL_POLLUTANTRELEASE row = (FACILITYDETAIL_POLLUTANTRELEASE)obj; return(LOVResources.PollutantName(row.PollutantCode)); }
/// <summary> #region Databinding methods protected string GetPollutantCode(object obj) { FACILITYDETAIL_POLLUTANTRELEASE row = (FACILITYDETAIL_POLLUTANTRELEASE)obj; return(row.PollutantCode); }