Gerardo/estandarizacion
Gerardo 2023-11-06 22:12:22 +01:00
parent a3511c130a
commit 6111d62e61
2 changed files with 17 additions and 14 deletions

View File

@ -335,7 +335,7 @@ copy ..\lib\$(IntDir)sqlite3.lib $(OutDir)</Command>
<PostBuildEvent> <PostBuildEvent>
<Command>copy $(OutDir)$(TargetFileName) ..\bin\$(IntDir) <Command>copy $(OutDir)$(TargetFileName) ..\bin\$(IntDir)
copy $(OutDir)Olivia.lib ..\lib\$(IntDir) copy $(OutDir)Olivia.lib ..\lib\$(IntDir)
copy $(OutDir)$(TargetFileName) D:\Proyectos\Olivia\Instal2.0\bin\</Command> </Command>
</PostBuildEvent> </PostBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>

View File

@ -889,7 +889,7 @@ BOOL Colv_limp_thr::rellena_info_nw()
{ {
/////////////////////////////// ///////////////////////////////
ispedestrian=FALSE; ispedestrian=FALSE;
if(olv_limp->res_circ!=OLV_RES_NO) if (olv_limp->res_circ != OLV_RES_NO)
{ {
//("FOW" =3 OR "FOW">=7) AND ("ONEWAY" = 'N' OR "ONEWAY" = ' ' ) //("FOW" =3 OR "FOW">=7) AND ("ONEWAY" = 'N' OR "ONEWAY" = ' ' )
//si se cumple lo anterior, son como doble sentido pero no se replican //si se cumple lo anterior, son como doble sentido pero no se replican
@ -899,29 +899,32 @@ BOOL Colv_limp_thr::rellena_info_nw()
sentf = dbf.getI(icampstf); sentf = dbf.getI(icampstf);
senft = dbf.getI(icampsft); senft = dbf.getI(icampsft);
s=0; s = 0;
if(sentf && senft) if (sentf && senft)
{ {
nboth++; nboth++;
} }
else if(sentf) else if (sentf)
{ {
s=OLV_LIMP_FLG_CIRC_TF; s = OLV_LIMP_FLG_CIRC_TF;
ntf++; ntf++;
} }
else if(senft) else if (senft)
{ {
s=OLV_LIMP_FLG_CIRC_FT; s = OLV_LIMP_FLG_CIRC_FT;
nft++; nft++;
} }
else else
{ {
//no aplica la restricción por ser servicio público, cómo se sabe si es de un único sentido? //no aplica la restricción por ser servicio público, cómo se sabe si es de un único sentido?
s=OLV_LIMP_FLG_CIRC_NONE; s = OLV_LIMP_FLG_CIRC_NONE;
nno++; nno++;
} }
}
else
{
nboth++;
}
/////////////////////////////// ///////////////////////////////
//fow //fow
f=dbf.getI(icampf); f=dbf.getI(icampf);
@ -934,7 +937,7 @@ BOOL Colv_limp_thr::rellena_info_nw()
/////////////////////////////// ///////////////////////////////
olv_limp->iaso[ia].flgs|=s; olv_limp->iaso[ia].flgs|=s;
}
/////////////////////////////// ///////////////////////////////
//velocidad //velocidad