Exemple #1
0
 public MCWaterCollectorModel(BPType bPType, double wpThinkness, double wpDensity = 1.45)
 {
     _wavePlate    = new WavePlate(wpThinkness, wpDensity);
     _bendingPlate = new BendingPlate(bPType);
     _tHreading    = new Threading();
     _nut          = new Nut();
 }
Exemple #2
0
 public void SetBottomPanel(BPType type)
 {
     hiveButtonsRoot.SetActive((type & BPType.Hive) != 0);
     queenButtonsRoot.SetActive((type & BPType.Queen) != 0);
     larvaButtonsRoot.SetActive((type & BPType.Larva) != 0);
     bpText.SetActive((type & BPType.Text) != 0);
     specButtonsRoot.SetActive((type & BPType.Spec) != 0);
 }
Exemple #3
0
 public void SetBottomPanel(BPType type)
 {
     hiveButtonsRoot.SetActive((type & BPType.Hive) != 0);
     queenButtonsRoot.SetActive((type & BPType.Queen) != 0);
     larvaButtonsRoot.SetActive((type & BPType.Larva) != 0);
     bpText.SetActive((type & BPType.Text) != 0);
     specButtonsRoot.SetActive((type & BPType.Spec) != 0);
 }
Exemple #4
0
 public Breakpoint(int id, BPType type, ulong addr, int len, string cond)
 {
     ID             = id;
     BreakpointType = type;
     Address        = addr;
     Length         = len;
     Condition      = cond;
     Enabled        = false;
 }
Exemple #5
0
 internal ProgramMap(BPType type)
 {
     Type        = type;
     Variables   = new List <Variable>();
     Subroutines = new List <Function>();
     Labels      = new List <Label>();
     Includes    = new Dictionary <string, Include>();
     Imports     = new Dictionary <string, Module>();
     Map         = new Dictionary <int, bool>();
     Summary     = new List <string>();
     MainName    = "";
     MainPath    = "";
 }
Exemple #6
0
 public BendingPlate(BPType type)
 {
     _type = type;
 }
 public Breakpoint(BPType type, long addr, int len)
 {
     BreakpointType = type;
     Address = addr;
     Length = len;
 }
Exemple #8
0
 public Breakpoint(BPType type, long addr, int len)
 {
     BreakpointType = type;
     Address        = addr;
     Length         = len;
 }