/// <summary> /// Marca el resultado como fallido /// </summary> /// <param name="result">Objeto de resultados de donde se sacan los mensajes</param> public void MarkAsFailed(OperationResult result) { Result = result.Result; Info.AddRange(result.Info); ErrorCode = result.ErrorCode; }
public static void AddCalcRecords(Report report, bool visible, bool toChart, ResultTypeEnum oper) { report.AddRecordType(new RecordTypeCalc(P_1T_110, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_1T_Nebalans, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_2AT_220, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_2AT_500, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_2AT_Nebalans, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_3AT_220, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_3AT_500, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_3AT_Nebalans, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_4T_220, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_4T_Nebalans, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_56AT_110, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_56AT_220, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_56AT_Nebalans, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_1T_110, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_2AT_220, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_2AT_500, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_3AT_220, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_3AT_500, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_4T_220, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_56AT_110, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_56AT_220, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_T_Nebalans, toChart, visible, oper)); }
public static void AddPRecordsSN(Report report, int parNumber, double scaleMult, double scaleDiv, bool visible, bool toChart, DBOperEnum oper, ResultTypeEnum result) { report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_20NDS1_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_20NDS2_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_21T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_21T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_21T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_22T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_23T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_24T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_25T_37T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_27T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_28T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_29T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_30T_31T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_32T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_33T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_34T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_35T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_36T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_38T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_TVI_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_1KU_31T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); }
public static void AddCalcRecords(Report report, bool visible, bool toChart, ResultTypeEnum oper) { report.AddRecordType(new RecordTypeCalc(P_GA1, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_GA2, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_GA3, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_GA4, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_GA5, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_GA6, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_GA7, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_GA8, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_GA9, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_GA10, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_SK, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_SN_GA, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_Vozb, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_GA1, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_GA2, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_GA3, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_GA4, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_GA5, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_GA6, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_GA7, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_GA8, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_GA9, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(Q_GA10, toChart, visible, oper)); }
/// <summary> /// Initializes a new instance of the <see cref="EndpointGetServiceResponse" /> class. /// </summary> /// <param name="ResultCode">0 for successful requests. For unsuccessful requests, this value contains the error code. (required).</param> /// <param name="ResultDescription">Returns OK if successful or error description otherwise. (required).</param> /// <param name="ResultType">SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error. (required).</param> /// <param name="TransactionId">SUCCESS for successful requests BUSINESSERROR if a business is blocked by the rule. SECURITYERROR if it is attached to security or authorization control, SYSTEMERROR if there is a system error..</param> /// <param name="Body">Body.</param> public EndpointGetServiceResponse(string ResultCode = default(string), string ResultDescription = default(string), ResultTypeEnum ResultType = default(ResultTypeEnum), string TransactionId = default(string), EndpointResponse Body = default(EndpointResponse)) { // to ensure "ResultCode" is required (not null) if (ResultCode == null) { throw new InvalidDataException("ResultCode is a required property for EndpointGetServiceResponse and cannot be null"); } else { this.ResultCode = ResultCode; } // to ensure "ResultDescription" is required (not null) if (ResultDescription == null) { throw new InvalidDataException("ResultDescription is a required property for EndpointGetServiceResponse and cannot be null"); } else { this.ResultDescription = ResultDescription; } // to ensure "ResultType" is required (not null) if (ResultType == null) { throw new InvalidDataException("ResultType is a required property for EndpointGetServiceResponse and cannot be null"); } else { this.ResultType = ResultType; } this.TransactionId = TransactionId; this.Body = Body; }
public Result(bool IsSuccess, ResultTypeEnum ResultType, T Data, string Message) { this.IsSuccess = IsSuccess; this.ResultType = ResultType; this.Data = Data; this.Message = Message; }
public Result(bool IsSuccess, string ErrorCode, ResultTypeEnum ResultType, T Data, string Message, params string[] parameters) { this.IsSuccess = IsSuccess; this.ResultType = ResultType; this.Message = string.Format(Message, parameters); this.ErrorCode = ErrorCode; this.Data = Data; }
/// <summary> /// Marca el resultado como fallido /// </summary> /// <param name="message">Mensaje de error a ingresar a la lista</param> /// <param name="errorCode">Código de error</param> public void MarkAsFailed(string message = "Ha ocurrido un error y el proceso no ha podido continuar", ErrorCodeEnum errorCode = ErrorCodeEnum.LOGIC_ERROR) { Result = ResultTypeEnum.Error; Info.Add(new OperationMessage(message, MessageTypeEnum.Error)); log.Error(message); ErrorCode = errorCode; }
public static IJsonTextValidator GetCachedValidator(ResultTypeEnum resultType) { if (!_resultValidatorDict.TryGetValue(resultType, out var validator)) { validator = _resultValidatorDict[ResultTypeEnum.None]; } return(validator); }
/// <summary> /// 结果 /// </summary> /// <param name="resultType">返回类型 <see cref="ResultTypeEnum"/></param> /// <param name="message">描述信息</param> /// <param name="value">返回值</param> /// <returns></returns> public static ResponseData <T> Result(ResultTypeEnum resultType, string message = "", T value = default(T)) { return(new ResponseData <T> { ResultType = resultType, Message = message, Value = value }); }
public Result(bool IsSuccess, ResultTypeEnum ResultType, string Html, T Data, bool IsLastPackage, string Message, params string[] parameters) { this.IsSuccess = IsSuccess; this.ResultType = ResultType; this.Message = string.Format(Message, parameters); this.Html = Html; this.Data = Data; this.IsLastPackage = IsLastPackage; }
public static void AddPRecords(Report report, int parNumber, double scaleMult, double scaleDiv, bool visible, bool toChart, DBOperEnum oper, ResultTypeEnum result) { report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_GES, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_GTP1, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_GTP2, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_IKM_SN, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_IKM_Nebalans_GES, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_IKM_SP, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); }
public Result(bool IsSuccess, ResultTypeEnum ResultType, string Html, T Data, bool IsLastPackage, string Message, int DataCount = 0) { this.IsSuccess = IsSuccess; this.ResultType = ResultType; this.Message = Message; this.Html = Html; this.Data = Data; this.IsLastPackage = IsLastPackage; this.DataCount = DataCount; }
/// <summary> /// Marca como inválido el operation result y escribe en el log la excepción. No agrega contenido a los mensajes /// </summary> /// <param name="ex"></param> /// <param name="notes"></param> public void LogException(Exception ex, string notes = "") { Result = ResultTypeEnum.Error; if (!string.IsNullOrEmpty(notes)) { log.Error(notes); } log.Error(ex); }
public static void AddResultInfo1(ResultContainer container, ResultTypeEnum type, string message) { if (container.Info == null) { container.Info = new List <ResultInfo>(); } container.Info.Add(new ResultInfo() { ResultType = type, Message = message }); }
/// <summary> /// Marca el resultado como fallido /// </summary> /// <param name="ex">Excepción que genera el error. Toma en cuenta el error interno si es que este existe</param> /// <param name="errorCode">Código de error</param> public void MarkAsFailed(Exception ex, ErrorCodeEnum errorCode = ErrorCodeEnum.LOGIC_ERROR) { Result = ResultTypeEnum.Error; Info.Add(new OperationMessage("Ha ocurrido una excepción no controlada, ha quedado registrada en el log de la plataforma.", MessageTypeEnum.Error)); log.Error(ex); ErrorCode = errorCode; if (ex.InnerException != null) { log.Error(ex.InnerException, "Inner Exception"); } }
public MathNode(XmlNode xmlNode, ScriptableScraper context) : base(xmlNode, context) { // Load attributes string resultTypeStr = null; foreach (XmlAttribute attr in xmlNode.Attributes) { switch (attr.Name) { case "value1": value1 = attr.Value; break; case "value2": value2 = attr.Value; break; case "result_type": resultTypeStr = attr.Value; break; } } // Validate VALUE1 attribute if (value1 == null) { logger.Error("Missing VALUE1 attribute on: " + xmlNode.OuterXml); loadSuccess = false; return; } // Validate VALUE2 attribute if (value2 == null) { logger.Error("Missing VALUE2 attribute on: " + xmlNode.OuterXml); loadSuccess = false; return; } // Validate RESULT_TYPE attribute if (resultTypeStr != null && resultTypeStr.ToUpper().Equals("FLOAT")) { resultType = ResultTypeEnum.FLOAT; } else { resultType = ResultTypeEnum.INT; } }
public static void AddCalcRecords(Report report, bool visible, bool toChart, ResultTypeEnum oper) { report.AddRecordType(new RecordTypeCalc(P_SN_10N, toChart, visible,oper)); report.AddRecordType(new RecordTypeCalc(P_SN_1N, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_SN_2N, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_SN_36N, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_SN_3N, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_SN_7N, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_SN_8N, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_SN_9N, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_SN_Nasos, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_SN, toChart, visible, oper)); }
public static void AddCalcRecords(Report report, bool visible, bool toChart, ResultTypeEnum oper) { report.AddRecordType(new RecordTypeCalc(MB_GA1_Istator, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_GA2_Istator, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_GA3_Istator, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_GA4_Istator, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_GA5_Istator, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_GA6_Istator, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_GA7_Istator, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_GA8_Istator, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_GA9_Istator, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_GA10_Istator, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_U_110, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_U_220, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_F_110, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_F_220, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(MB_U_500, toChart, visible, oper)); }
/// <summary> /// Marca el resultado como fallido /// </summary> /// <param name="messages">Lista de mensajes a ingresar</param> /// <param name="errorCode">Código de error</param> public void MarkAsFailed(IEnumerable <string> messages, ErrorCodeEnum errorCode = ErrorCodeEnum.LOGIC_ERROR) { if (messages == null) { messages = new string[] { "Se recomienda hacer una verificación mas profunda, la lista de errores llego nula" } } ; Result = ResultTypeEnum.Error; Info.AddRange(messages.Select(x => new OperationMessage(x, MessageTypeEnum.Error))); ErrorCode = errorCode; foreach (var item in messages) { log.Error(item); } }
public MathNode(XmlNode xmlNode, InternalScriptSettings settings) : base(xmlNode, settings) { // Load attributes string resultTypeStr = null; foreach (XmlAttribute attr in xmlNode.Attributes) { switch (attr.Name) { case "value1": value1 = attr.Value; break; case "value2": value2 = attr.Value; break; case "result_type": resultTypeStr = attr.Value; break; } } // Validate VALUE1 attribute if (value1 == null) { logger.Error("Missing VALUE1 attribute on: " + xmlNode.OuterXml); loadSuccess = false; return; } // Validate VALUE2 attribute if (value2 == null) { logger.Error("Missing VALUE2 attribute on: " + xmlNode.OuterXml); loadSuccess = false; return; } // Validate RESULT_TYPE attribute if (resultTypeStr != null && resultTypeStr.ToUpper().Equals("FLOAT")) resultType = ResultTypeEnum.FLOAT; else resultType = ResultTypeEnum.INT; }
public OcrResult Ocr(string pdfPath, ResultTypeEnum resultTypeEnum, string language = "tur") { var result = new OcrResult(); var doc = PDFDoc.Open(pdfPath); if (!string.IsNullOrEmpty(doc.GetText())) { return(result); } doc.Ocr(Clock.Utils.OcrMode.Tesseract, language, WriteTextMode.Word, null); if (resultTypeEnum.HasFlag(ResultTypeEnum.OcrCompressed) || resultTypeEnum.HasFlag(ResultTypeEnum.All)) { var reader = new PdfReader(doc.PDFBytes); var stamper = new PdfStamper(reader, new FileStream(Path.Combine(Path.GetTempPath(), "Clock.hocr", Path.GetFileNameWithoutExtension(pdfPath) + "ocrCompressed" + Path.GetExtension(pdfPath)), FileMode.Create), PdfWriter.VERSION_1_5); var pageNum = reader.NumberOfPages; for (var i = 1; i <= pageNum; i++) { reader.SetPageContent(i, reader.GetPageContent(i)); } stamper.SetFullCompression(); stamper.Close(); } if (resultTypeEnum.HasFlag(ResultTypeEnum.Text) || resultTypeEnum.HasFlag(ResultTypeEnum.All)) { result.Text = doc.GetText(); } if (resultTypeEnum.HasFlag(ResultTypeEnum.OcrBest) || resultTypeEnum.HasFlag(ResultTypeEnum.All)) { result.OcredBest = doc.PDFBytes; } if (resultTypeEnum.HasFlag(ResultTypeEnum.OcrCompressed) || resultTypeEnum.HasFlag(ResultTypeEnum.All)) { result.OcredCompressed = System.IO.File.ReadAllBytes(Path.Combine(Path.GetTempPath(), "Clock.hocr", Path.GetFileNameWithoutExtension(pdfPath) + "ocrCompressed" + Path.GetExtension(pdfPath))); } _fileHelper.DeleteDirectory(Path.Combine(Path.GetTempPath(), "Clock.hocr")); return(result); }
public static void AddGLTransformRecordsP(Report report, int parNumber, double scaleMult, double scaleDiv, bool visible, bool toChart, DBOperEnum oper, ResultTypeEnum result) { report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_2AT_220_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_2AT_220_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_2AT_500_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_2AT_500_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_3AT_220_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_3AT_220_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_3AT_500_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_3AT_500_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_56AT_110_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_56AT_110_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_56AT_220_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_56AT_220_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_4T_220_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_4T_220_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_1T_110_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_1T_110_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); }
public static void AddCalcRecords(Report report, bool visible, bool toChart, ResultTypeEnum oper) { report.AddRecordType(new RecordTypeCalc(P_VL110_Nebalans, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_Otd, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_Priem, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_Saldo, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL220_Nebalans, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL220_Otd, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL220_Priem, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL220_Saldo, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL500_Nebalans, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL500_Otd, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL500_Priem, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL500_Saldo, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_Berezovka, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_Dubovaya, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_Ivanovka, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_Kauchuk, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_KSHT1, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_KSHT2, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_Svetlaya, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_TEC, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_Vodozabor1, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL110_Vodozabor2, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL220_Izhevsk1, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL220_Izhevsk2, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL220_Kauchuk1, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL220_Kauchuk2, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL220_Svetlaya, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL500_Emelino, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL500_Karmanovo, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL500_Vyatka, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_VL_Nebalans, toChart, visible, oper)); }
public static void AddPRecordsGAAdd(Report report, int parNumber, double scaleMult, double scaleDiv, bool visible, bool toChart, DBOperEnum oper, ResultTypeEnum result) { report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_Vozb_GA1_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_Vozb_GA2_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_Vozb_GA3_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_Vozb_GA4_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_Vozb_GA5_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_Vozb_GA6_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_Vozb_GA7_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_Vozb_GA8_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_Vozb_GA9_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_Vozb_GA10_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_11T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_12T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_13T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_14T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_15T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_16T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_17T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_18T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_19T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_20T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); }
public static void AddPRecordsGAQ(Report report, int parNumber, double scaleMult, double scaleDiv, bool visible, bool toChart, DBOperEnum oper, ResultTypeEnum result) { report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA1_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA2_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA3_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA4_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA5_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA6_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA7_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA8_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA9_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA10_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA1_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA2_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA3_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA4_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA5_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA6_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA7_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA8_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA9_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_GA10_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); }
public Result(bool IsSuccess, string ErrorCode, ResultTypeEnum ResultType, string Message, params string[] parameters) : this(IsSuccess, ErrorCode, ResultType, default(T), Message, parameters) { }
public Result(bool IsSuccess, ResultTypeEnum ResultType, string Message) : this(IsSuccess, ResultType, string.Empty, default(T), false, Message) { }
public Response(ResultTypeEnum resultType, string message) { ResultType = resultType; Message = message; }
public Response(T data, ResultTypeEnum resultType = ResultTypeEnum.Success) { this.ResultType = resultType; this.Data = data; }
public RecordTypeCalc(string id, string title, RecordCalcDelegate calcFunction, bool toChart = false, bool visible = false, ResultTypeEnum resultType = ResultTypeEnum.sum, string formatDouble = "#,0.##") { ID = id; Title = title; CalcFunction = calcFunction; Visible = visible; ToChart = toChart; FormatDouble = formatDouble; ResultType = resultType; }
/// <summary> /// 构造函数 /// </summary> /// <param name="resultType">返回类型</param> /// <param name="message">返回消息</param> public ResultModel(ResultTypeEnum resultType, string message = "") { ResultType = resultType; Message = message; }
public void OnReplace(Animator anim) { Slot root = _rt.rootSlot.Target; ResultTypeEnum rte = ResultType.Value; if (rte == ResultTypeEnum.DO_NOTHING) { if (positionTrack != null) { anim.Fields.Add(); } if (rotationTrack != null) { anim.Fields.Add(); } if (scaleTrack != null) { anim.Fields.Add(); } return; } if (rte == ResultTypeEnum.CONTROL_SLOT_TRANSFORM) { IField <float3> pos; IField <floatQ> rot; IField <float3> scale; RecordedSlotProcessor.AttachComponents(holding_slot, slot, out pos, out rot, out scale); if (positionTrack != null) { anim.Fields.Add().Target = pos; } if (rotationTrack != null) { anim.Fields.Add().Target = rot; } if (scaleTrack != null) { anim.Fields.Add().Target = scale; } return; } Slot s = root.AddSlot((rte == ResultTypeEnum.CREATE_VISUAL || rte == ResultTypeEnum.CREATE_NON_PERSISTENT_VISUAL) ? "Visual" : slot.Target.Name, rte != ResultTypeEnum.CREATE_NON_PERSISTENT_VISUAL); newSlot.Target = s; if (positionTrack != null) { anim.Fields.Add().Target = s.Position_Field; } if (rotationTrack != null) { anim.Fields.Add().Target = s.Rotation_Field; } if (scaleTrack != null) { anim.Fields.Add().Target = s.Scale_Field; } if (rte == ResultTypeEnum.COPY_COMPONENTS) { Slot old = slot.Target; old.CopyComponents(s); } if (rte == ResultTypeEnum.CREATE_VISUAL || rte == ResultTypeEnum.CREATE_NON_PERSISTENT_VISUAL) { CrossMesh mesh = root.GetComponentOrAttach <CrossMesh>(); mesh.Size.Value = 0.05f; mesh.BarRatio.Value = 0.05f; PBS_Metallic mat = root.GetComponentOrAttach <PBS_Metallic>(); mat.EmissiveColor.Value = new color(0.5f, 0.5f, 0.5f); MeshRenderer meshRenderer = s.AttachComponent <MeshRenderer>(); meshRenderer.Mesh.Target = mesh; meshRenderer.Materials.Add(mat); } else if (rte == ResultTypeEnum.CREATE_PARENT_SLOTS) { Slot old = slot.Target; old.SetParent(s, false); if (positionTrack != null) { old.LocalPosition = new float3(0, 0, 0); } if (rotationTrack != null) { old.LocalRotation = floatQ.Identity; } if (scaleTrack != null) { old.LocalScale = new float3(1, 1, 1); } } else if (rte == ResultTypeEnum.REPLACE_REFERENCES) { foreach (SyncRef <Slot> it in references) { it.Target = s; } foreach (SlotListReference it in listReferences) { it.list.Target[it.index.Value] = s; } } }
public static void AddCalcRecords(Report report, bool visible, bool toChart, ResultTypeEnum oper) { report.AddRecordType(new RecordTypeCalc(P_SP, toChart, visible, oper)); report.AddRecordType(new RecordTypeCalc(P_Nebalans, toChart, visible, oper)); }
public Result(ResultTypeEnum ResultTypeEnum, T Data, string Message, int DataCount) : this(true, ResultTypeEnum, string.Empty, Data, false, Message, DataCount) { }
public Result(bool v, ResultTypeEnum success, T data) { this.v = v; this.success = success; this.Data = data; }
public QuotientImplementationFake(ResultTypeEnum fakeResult) { FakeResult = fakeResult; }
public RecordTypeCalc(RecordTypeCalc baseRecord, bool toChart = false, bool visible = false, ResultTypeEnum resultType = ResultTypeEnum.sum, string formatDouble = "#,0.##") { ID = baseRecord.ID; Title = baseRecord.Title; CalcFunction = baseRecord.CalcFunction; Visible = visible; ToChart = toChart; FormatDouble = formatDouble; ResultType = resultType; }
public RecordTypeDB(PiramidaRecord dbRecord, int parNumber, double minValue = -10e100, double maxValue = 10e100, double divParam = 1, double multParam = 1, string id = null, string title = null, ResultTypeEnum resultType = ResultTypeEnum.sum, DBOperEnum dbOper = DBOperEnum.sum, bool toChart = false, bool visible = false, string formatDouble = "#,0.##") { DBRecord = dbRecord; ParNumber = parNumber; MinValue = minValue; MaxValue = maxValue; DivParam = divParam; MultParam = multParam; Visible = visible; ToChart = toChart; ID = id == null ? dbRecord.Key : id; Title = title == null ? dbRecord.Title : title; ResultType = resultType; DBOper = dbOper; FormatDouble = formatDouble; }
public Result(bool IsSuccess, ResultTypeEnum ResultType, T Data, string Message, params string[] parameters) : this(IsSuccess, ResultType, string.Empty, Data, false, Message, parameters) { }
public Response(T data, string message, ResultTypeEnum resultType = ResultTypeEnum.Success) { this.ResultType = resultType; this.Data = data; this.Message = message; }
public Result(ResultTypeEnum ResultTypeEnum, T Data, string Message, params string[] parameters) : this(true, ResultTypeEnum, string.Empty, Data, false, Message, parameters) { }
public static void AddRecordsMB(Report report, int parNumber, double scaleMult, double scaleDiv, bool visible, bool toChart, DBOperEnum oper, ResultTypeEnum result) { report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_SHSV_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_SHSV_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_U_1SH_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_F_1SH_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_U_1SH_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_F_1SH_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_U_2SH_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_F_2SH_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_U_2SH_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_F_2SH_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Izhevsk1_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Izhevsk1_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Izhevsk1_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Izhevsk2_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Izhevsk2_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Izhevsk2_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Kauchuk1_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Kauchuk1_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Kauchuk1_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Kauchuk2_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Kauchuk2_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Kauchuk2_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_GES_Zad, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Svetlaya_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Svetlaya_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Svetlaya_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_OVV_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_OVV_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_OVV_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_2AT_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_2AT_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_2AT_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_3AT_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_3AT_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_3AT_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_4T_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_4T_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_4T_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_56AT_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_56AT_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_56AT_220, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA1_Irotor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA1_P, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA1_Q, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA1_IstatorA, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA1_IstatorB, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA1_IstatorC, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA1_Rashod, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA1_Napor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA2_Irotor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA2_P, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA2_Q, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA2_IstatorA, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA2_IstatorB, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA2_IstatorC, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA2_Rashod, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA2_Napor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA3_Irotor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA3_P, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA3_Q, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA3_IstatorA, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA3_IstatorB, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA3_IstatorC, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA3_Rashod, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA3_Napor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA4_Irotor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA4_P, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA4_Q, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA4_IstatorA, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA4_IstatorB, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA4_IstatorC, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA4_Rashod, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA4_Napor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA5_Irotor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA5_P, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA5_Q, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA5_IstatorA, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA5_IstatorB, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA5_IstatorC, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA5_Rashod, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA5_Napor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA6_Irotor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA6_P, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA6_Q, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA6_IstatorA, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA6_IstatorB, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA6_IstatorC, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA6_Rashod, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA6_Napor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA7_Irotor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA7_P, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA7_Q, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA7_IstatorA, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA7_IstatorB, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA7_IstatorC, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA7_Rashod, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA7_Napor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_VB_Sgl, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_NB_Sgl, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Napor_Sgl, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA8_Irotor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA8_P, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA8_Q, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA8_IstatorA, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA8_IstatorB, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA8_IstatorC, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA8_Rashod, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA8_Napor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA9_Irotor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA9_P, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA9_Q, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA9_IstatorA, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA9_IstatorB, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA9_IstatorC, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA9_Rashod, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA9_Napor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA10_Irotor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA10_P, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA10_Q, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA10_IstatorA, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA10_IstatorB, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA10_IstatorC, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA10_Rashod, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_GA10_Napor, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Rashod, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_RashodCalc, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_T, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_GES, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_GES, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_KSHT1_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_KSHT1_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_KSHT1_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_KSHT2_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_KSHT2_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_KSHT2_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Kauchuk_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Kauchuk_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Kauchuk_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_TEC_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_TEC_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_TEC_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Berezovka_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Berezovka_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Berezovka_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Dubovaya_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Dubovaya_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Dubovaya_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Vodozabor1_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Vodozabor1_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Vodozabor1_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Vodozabor2_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Vodozabor2_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Vodozabor2_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Svetlaya_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Svetlaya_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Svetlaya_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Ivanovka_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Ivanovka_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Ivanovka_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_OVV_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_OVV_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_OVV_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Emelino_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Emelino_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Emelino_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_U_Emelino_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_F_Emelino_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Karmanovo_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Karmanovo_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Karmanovo_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_U_Karmanovo_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_F_Karmanovo_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_Vyatka_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_Vyatka_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_Vyatka_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_U_Vyatka_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_F_Vyatka_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_1T_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_1T_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_1T_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_56AT_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_56AT_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_56AT_110, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_2AT_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_2AT_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_2AT_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_I_3AT_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_P_3AT_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.MB_Q_3AT_500, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); }
/// <summary> /// 构造函数 /// </summary> /// <param name="resultType">返回类型</param> /// <param name="data">返回数据对象</param> /// <param name="pageModel">分页模型</param> /// <param name="message">返回消息</param> public PageResultModel(ResultTypeEnum resultType, ICollection <T> data, PageModel pageModel, string message = "") : base(resultType, message) { Data = data; PageModel = pageModel; }
public static void AddLineRecordsQ(Report report, int parNumber, double scaleMult, double scaleDiv, bool visible, bool toChart, DBOperEnum oper, ResultTypeEnum result) { report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Berezovka_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Berezovka_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Dubovaya_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Dubovaya_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Ivanovka_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Ivanovka_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Kauchuk_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Kauchuk_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_KSHT1_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_KSHT1_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_KSHT2_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_KSHT2_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Svetlaya_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Svetlaya_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_TEC_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_TEC_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Vodozabor1_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Vodozabor1_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Vodozabor2_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL110_Vodozabor2_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL220_Izhevsk1_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL220_Izhevsk1_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL220_Izhevsk2_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL220_Izhevsk2_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL220_Kauchuk1_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL220_Kauchuk1_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL220_Kauchuk2_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL220_Kauchuk2_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL220_Svetlaya_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL220_Svetlaya_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL500_Emelino_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL500_Emelino_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL500_Karmanovo_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL500_Karmanovo_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL500_Vyatka_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_VL500_Vyatka_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_KL6_Filtr1_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_KL6_Filtr2_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_KL6_Filtr1_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_KL6_Filtr2_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_KL6_Shluz1_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_KL6_Shluz2_Otd, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_KL6_Shluz1_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.Q_KL6_Shluz2_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType: result, dbOper: oper)); }
public static void AddPRecordsForNebalans(Report report, int parNumber, double scaleMult, double scaleDiv, bool visible, bool toChart, DBOperEnum oper, ResultTypeEnum result) { ReportGARecords.AddPRecordsGAAdd(report, parNumber, scaleMult, scaleDiv, visible, toChart, oper, result); ReportGARecords.AddPRecordsGAP(report, parNumber, scaleMult, scaleDiv, visible, toChart, oper, result); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_7T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); report.AddRecordType(new RecordTypeDB(PiramidaRecords.P_SN_8T_Priem, parNumber, visible: visible, toChart: toChart, divParam: scaleDiv, multParam: scaleMult, resultType:result, dbOper:oper)); }