Exemple #1
0
 private void lsbRTRouteEmp_SelectedIndexChanged(object sender, EventArgs e)
 {
     MapGis.ClareMover();
     MapGis.StopMoving();
     SelectedEmpID = lsbRTRouteEmp.SelectedValue;
     if (grtb.IsEmpInMine(SelectedEmpID))
     {
         DataRow       dr;
         List <string> list = grtb.GetLastHisStationByEmpID(SelectedEmpID, out dr);
         FlashMoverDT(dr);
         if (list != null && list.Count == 5)
         {
             this.MapGis.AddMover(list[0], list[1], list[2], list[3], list[4], MoverZFilePath, MoverFFilePath);
             this.LastMovedPlace = list[2];
             this.EmpName        = list[4];
             this.MapGis.StartRTMoving();
             this.ismoving = true;
         }
     }
 }