public ValveClass(EquipamentType typeEq, string valveTime, bool checkIniValve, bool finalValve, string lowLimit, string highLimit, string valvName, string id) { //ID da Operação - cada operação possui um ID exceto a incial(BeginOfMAnipulation) this.operationID = id; this.valvName = valvName; this.checkIniValve = checkIniValve; this.finalValve = finalValve; this.lobules = LobulesClass.GetLobulesClass(); this.anchor = AnchorClass.GetAnchorClass(); this.basicInfo = BasicInfoClass.GetBasicInfo(); this.valveTime = valveTime; this.highLimit = highLimit; this.lowLimit = lowLimit; this.errorlog = new ErrorLog(); this.convert = new Convertion(typeEq); this.eq = this.eqFact.ConstructEquipament(typeEq); //this.logAction = new //logAction(); }
public LowSpeedMix(EquipamentType typeEq, string mixTime, string rpmLimit, bool checkBreak, bool secondTable = false) { //ID da Operação - cada operação possui um ID exceto a incial this.operationID = "8"; this.basicInfo = BasicInfoClass.GetBasicInfo(); this.anchor = AnchorClass.GetAnchorClass(); this.mixTime = mixTime; this.eq = this.eqFact.ConstructEquipament(typeEq); this.errorlog = new ErrorLog(); this.rpmLimit = rpmLimit; this.checkBreak = checkBreak; this.convert = new Convertion(typeEq); if (secondTable == true) { this.secondTable = true; } else { this.secondTable = false; } //this.logAction = new //logAction(); }
public HighSpeedMix(EquipamentType typeEq, string anchorLimit, string turbineLimit, string clenilLimit, string clenilStrongLimit, bool changeTable, bool clenilForte, bool checkBreak, string mixTime, int index) { //ID da Operação - cada operação possui um ID exceto a incial this.operationID = "6"; this.index = index; this.basicInfo = BasicInfoClass.GetBasicInfo(); this.anchor = AnchorClass.GetAnchorClass(); this.turbine = TurbineClass.GetTurbineClass(); this.clenil = ClenilClass.GetClenilClass(); this.clenilStrong = ClenilStrong.GetClenilStrong(); this.anchorLimit = anchorLimit; this.turbineLimit = turbineLimit; this.clenilLimit = clenilLimit; this.clenilForte = clenilForte; this.checkBreak = checkBreak; this.mixTime = mixTime; this.clenilStrongLimit = clenilStrongLimit; this.changeTable = changeTable; this.eq = this.eqFact.ConstructEquipament(typeEq); this.convert = new Convertion(typeEq); this.errorlog = new ErrorLog(); //this.logAction = new //logAction(); }
void ConfigurationSelectionChanged(AnchorClass selectedConfiguration) { if (_currentEditorPanel != null) { this.ControlContainer.Controls.Clear(); } switch (selectedConfiguration) { case AnchorClass.wlwStaticAnchor: _currentEditorPanel = new pnlAnchorEditor(_currentAnchorSettings); break; case AnchorClass.wlwStaticLink: _currentEditorPanel = new pnlLinkEditor(_anchorNames, _currentAnchorSettings); break; case AnchorClass.None: _currentEditorPanel = null; break; } _currentEditorPanel.ValidContentDetected += new pnlAnchorEditorBase.ValidAnchorContentHandler(CurrentEditorPanel_ValidContentDetected); _currentEditorPanel.InvalidContentDetected += new pnlAnchorEditorBase.ValidAnchorContentHandler(CurrentEditorPanel_InvalidContentDetected); _currentEditorPanel.Dock = DockStyle.Fill; this.ControlContainer.Controls.Add(_currentEditorPanel); _currentEditorPanel.Show(); }