}
else
{
if (q1 / s1 <= q2 / s2)
{
g1 = (q1 / s1) / (q1 / s1 + q2 / s2) * (Cm - j.L);
if (g1 < 20)
{
g1 = 20;
}
while (q1 / (s1 * g1 / Cm) >= 0.9)
{
Cm = Cm + 1;
g1 = (q1 / s1) / (q1 / s1 + q2 / s2) * (Cm - j.L);
if (g1 < 20)
{
g1 = 20;
}
}
greentime1.Text = "greentime1:" + Convert.ToInt32(g1);
g2 = (q2 / s2) / (q1 / s1 + q2 / s2) * (Cm - j.L);
if (g2 < 20)
{
g2 = 20;
} 信号控制路网交通流动态分配研究(8):http://www.751com.cn/tongxin/lunwen_3132.html