public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "LinkList.LinkItem";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("Caption", StringUtil.RTrim(gxTv_SdtLinkList_LinkItem_Caption));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("URL", StringUtil.RTrim(gxTv_SdtLinkList_LinkItem_Url));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "TransactionContext.Attribute";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("AttributeName", StringUtil.RTrim(gxTv_SdtTransactionContext_Attribute_Attributename));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("AttributeValue", StringUtil.RTrim(gxTv_SdtTransactionContext_Attribute_Attributevalue));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "TransactionContext";
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(sNameSpace)))
     {
         sNameSpace = "CalcularPeajes";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("CallerObject", StringUtil.RTrim(gxTv_SdtTransactionContext_Callerobject));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("CallerOnDelete", StringUtil.RTrim(StringUtil.BoolToStr(gxTv_SdtTransactionContext_Callerondelete)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("CallerURL", StringUtil.RTrim(gxTv_SdtTransactionContext_Callerurl));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("TransactionName", StringUtil.RTrim(gxTv_SdtTransactionContext_Transactionname));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     if (gxTv_SdtTransactionContext_Attributes != null)
     {
         String sNameSpace1;
         if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") == 0)
         {
             sNameSpace1 = "[*:nosend]" + "CalcularPeajes";
         }
         else
         {
             sNameSpace1 = "CalcularPeajes";
         }
         gxTv_SdtTransactionContext_Attributes.writexmlcollection(oWriter, "Attributes", sNameSpace1, "Attribute", sNameSpace1);
     }
     oWriter.WriteEndElement();
     return;
 }
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "GridState";
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(sNameSpace)))
     {
         sNameSpace = "CalcularPeajes";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("CurrentPage", StringUtil.Trim(StringUtil.Str((decimal)(gxTv_SdtGridState_Currentpage), 4, 0)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("OrderedBy", StringUtil.Trim(StringUtil.Str((decimal)(gxTv_SdtGridState_Orderedby), 4, 0)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("HidingSearch", StringUtil.Trim(StringUtil.Str((decimal)(gxTv_SdtGridState_Hidingsearch), 1, 0)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     if (gxTv_SdtGridState_Filtervalues != null)
     {
         String sNameSpace1;
         if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") == 0)
         {
             sNameSpace1 = "[*:nosend]" + "CalcularPeajes";
         }
         else
         {
             sNameSpace1 = "CalcularPeajes";
         }
         gxTv_SdtGridState_Filtervalues.writexmlcollection(oWriter, "FilterValues", sNameSpace1, "FilterValue", sNameSpace1);
     }
     oWriter.WriteEndElement();
     return;
 }
 public virtual void writexmlcollectionWrapped(GXXMLWriter oWriter, string sName, string sNameSpace, string itemName, string itemNamespace, bool includeState)
 {
     oWriter.WriteStartElement(sName);
     oWriter.WriteAttribute("xmlns", sNameSpace);
     writexmlcollectionUnwrapped(oWriter, itemName, itemNamespace, includeState);
     oWriter.WriteEndElement();
 }
Exemple #6
0
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "SdtResultado";
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(sNameSpace)))
     {
         sNameSpace = "CalcularPeajes";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("SdtResultadoPanamax", StringUtil.Trim(StringUtil.Str(gxTv_SdtSdtResultado_Sdtresultadopanamax, 18, 2)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("SdtResultadoNeoPanamax", StringUtil.Trim(StringUtil.Str(gxTv_SdtSdtResultado_Sdtresultadoneopanamax, 18, 2)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("SdtResultadoLastre", StringUtil.Trim(StringUtil.Str(gxTv_SdtSdtResultado_Sdtresultadolastre, 18, 2)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("SdtLastreRoundtrip", StringUtil.Trim(StringUtil.Str(gxTv_SdtSdtResultado_Sdtlastreroundtrip, 18, 2)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
Exemple #7
0
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "OperTugSchedule.GetOperTugScheduleResult.MATE1";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("IP", StringUtil.RTrim(gxTv_SdtOperTugSchedule_GetOperTugScheduleResult_MATE1_Ip));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("LName", StringUtil.RTrim(gxTv_SdtOperTugSchedule_GetOperTugScheduleResult_MATE1_Lname));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("FName", StringUtil.RTrim(gxTv_SdtOperTugSchedule_GetOperTugScheduleResult_MATE1_Fname));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("NAME", StringUtil.RTrim(gxTv_SdtOperTugSchedule_GetOperTugScheduleResult_MATE1_Name));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
Exemple #8
0
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "TabOptions.TabOptionsItem";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("Code", StringUtil.RTrim(gxTv_SdtTabOptions_TabOptionsItem_Code));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("Description", StringUtil.RTrim(gxTv_SdtTabOptions_TabOptionsItem_Description));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("Link", StringUtil.RTrim(gxTv_SdtTabOptions_TabOptionsItem_Link));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("WebComponent", StringUtil.RTrim(gxTv_SdtTabOptions_TabOptionsItem_Webcomponent));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "Context";
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(sNameSpace)))
     {
         sNameSpace = "CalcularPeajes";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("User", StringUtil.RTrim(gxTv_SdtContext_User));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("CompanyCode", StringUtil.Trim(StringUtil.Str((decimal)(gxTv_SdtContext_Companycode), 4, 0)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("Profile", StringUtil.RTrim(gxTv_SdtContext_Profile));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
Exemple #10
0
        public void DumpDataStoreInformation(GXXMLWriter writer)
        {
            writer.WriteStartElement("DataStoreProvider");
            writer.WriteAttribute("Name", name);
            writer.WriteElement("Total_SQLStatementCount", statementCount);
            writer.WriteElement("Select_SQLStatementCount", statementSelectCount);
            writer.WriteElement("Update_SQLStatementCount", statementUpdateCount);
            writer.WriteElement("Delete_SQLStatementCount", statementDeleteCount);
            writer.WriteElement("Insert_SQLStatementCount", statementInsertCount);
            writer.WriteElement("StoredProcedureCount", statementCallCount);
            writer.WriteElement("SQLCommandCount", statementDirectSQLCount);

            writer.WriteEndElement();
        }
Exemple #11
0
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "ProgramNames.ProgramName";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("Name", StringUtil.RTrim(gxTv_SdtProgramNames_ProgramName_Name));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("Description", StringUtil.RTrim(gxTv_SdtProgramNames_ProgramName_Description));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("Link", StringUtil.RTrim(gxTv_SdtProgramNames_ProgramName_Link));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "OperTugSchedule";
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(sNameSpace)))
     {
         sNameSpace = "CalcularPeajes";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     if (gxTv_SdtOperTugSchedule_Getopertugscheduleresult != null)
     {
         String sNameSpace1;
         if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") == 0)
         {
             sNameSpace1 = "[*:nosend]" + "CalcularPeajes";
         }
         else
         {
             sNameSpace1 = "CalcularPeajes";
         }
         gxTv_SdtOperTugSchedule_Getopertugscheduleresult.writexml(oWriter, "GetOperTugScheduleResult", sNameSpace1);
     }
     oWriter.WriteEndElement();
     return;
 }