Курсовая работа: Разработка имитационной модели системы массового обслуживания
{
OCH. o1 [i] =0; OCH. o2 [i] =0;
OCH. kol1 [i] =0; OCH. kol2 [i] =0;
OCH. Obsluzh1 [i] =1;
OCH. Vib1 [i] =1;
OCH. TP [i] =0; OCH. TW [i] =0;
stat1 [i] =0;
stat2 [i] =0;
for (int k=0; k<1000; k++)
{
Kli [i]. num1 [k] =0; Kli [i]. time1 [k] =0; Kli [i]. timeVib [k] =0;
Kli2 [i]. num1 [k] =0; Kli2 [i]. time1 [k] =0; Kli2 [i]. timeVib [k] =0;
}
}
OCH. io1=0; OCH. io2=0;
Klient=0; Klient2=0;
bol=0;
}
LTimer1=SetTimer (ID_TIMER1,100,NULL);
UpdateData (FALSE);
}
void CSMODlg:: OnTimer (UINT uTime)
{
int i,n,tp;
float hr,min,sek;
char a [255] ;
time_t t;
srand ( (unsigned) time (&t));
COleSafeArray saRet;