123456789101112131415161718192021222324252627282930313233343536 |
- using DevComponents.DotNetBar.Controls;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace centralController.model
- {
- class TermModel
- {
- public int id;
- public bool park;
- public bool launched;
- public bool groundSensor;
- public bool numMachine;
- public GroupPanel gp;
- public PictureBox pbNum;
- public PictureBox pbCar;
- public TermModel(GroupPanel gp, PictureBox pbNum, PictureBox pbCar)
- {
- this.gp = gp;
- this.pbNum = pbNum;
- this.pbCar = pbCar;
- }
- public void UpdateStatus(int id, bool park, bool launched, bool groundSensor, bool numMachine)
- {
- this.id = id;
- this.park = park;
- this.launched = launched;
- this.groundSensor = groundSensor;
- this.numMachine = numMachine;
- }
- }
- }
|