a.binder 9 年 前
コミット
213661b667

+ 2 - 2
SE/dev/php-cli/edge_paths_with_PE_controll.xsl

@@ -515,10 +515,10 @@
                                         <xsl:variable name="bit_max_Pos">
                                             <xsl:choose>
                                                 <xsl:when test="number(@len_sum) &gt; ( number($PE_Price) div number($Cable_Price) ) and number($bit_max_Pos) &lt; 2">
-                                                    <xsl:value-of select=" round( number(@len_sum)) div ( number($PE_Price) div number($Cable_Price) ) + 1 "/> <!-- jak droga dluzsza od jedn kosztu, to przynajmniej tyle bin_max ile takich odcinkow-->
+                                                    <xsl:value-of select=" round( number(@len_sum)) div ( number($PE_Price) div number($Cable_Price) ) + 2 "/> <!-- jak droga dluzsza od jedn kosztu, to przynajmniej tyle bin_max ile takich odcinkow-->
                                                 </xsl:when>
                                                 <xsl:when test="number($bit_max_Pos) &lt; 1">
-                                                    <xsl:value-of select="1"/>
+                                                    <xsl:value-of select="2"/>
                                                 </xsl:when>
                                                 <xsl:otherwise><xsl:value-of select="$bit_max_Pos"/></xsl:otherwise>
                                             </xsl:choose>

+ 2 - 2
SE/dev/php-cli/joins2ways_z_ID_Way.xsl

@@ -65,12 +65,12 @@
         </xsl:for-each-group>
         </xsl:variable>
         <xsl:copy-of select="$items_grouped"/>
-        <xsl:result-document href="{$joins2ways_z_ID_Way_tempdir}/joins2ways_z_ID_Way.{@id}.{@ID_Way}.xml">
+        <!--<xsl:result-document href="{$joins2ways_z_ID_Way_tempdir}/joins2ways_z_ID_Way.{@id}.{@ID_Way}.xml">
             <joins2ways_z_ID_Way>
                 <xsl:attribute name="id" select="@id"/>
                 <xsl:copy-of select="$items_grouped"/>
             </joins2ways_z_ID_Way>
-        </xsl:result-document>
+        </xsl:result-document>-->
         
     </xsl:template>