/// <summary>
        /// Returns true if ComDayCqDamCoreProcessMetadataProcessorProcessProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqDamCoreProcessMetadataProcessorProcessProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqDamCoreProcessMetadataProcessorProcessProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     ProcessLabel == other.ProcessLabel ||
                     ProcessLabel != null &&
                     ProcessLabel.Equals(other.ProcessLabel)
                     ) &&
                 (
                     CqDamEnableSha1 == other.CqDamEnableSha1 ||
                     CqDamEnableSha1 != null &&
                     CqDamEnableSha1.Equals(other.CqDamEnableSha1)
                 ) &&
                 (
                     CqDamMetadataXssprotectedProperties == other.CqDamMetadataXssprotectedProperties ||
                     CqDamMetadataXssprotectedProperties != null &&
                     CqDamMetadataXssprotectedProperties.Equals(other.CqDamMetadataXssprotectedProperties)
                 ));
        }
Example #2
0
        private void LabelArrayInit()
        {
            //
            for (int i = 0; i < hyProcess.stationNum; i++)
            {
                ProcessLabel processLabel = new ProcessLabel();
                labelList.Add(processLabel);
                panel1.Controls.Add(processLabel.workTemperatureLabel);
                panel1.Controls.Add(processLabel.workTimeLabel);
                panel1.Controls.Add(processLabel.formulaLabel);
                processLabel.workTemperatureLabel.Text = "0";
                processLabel.workTimeLabel.Text        = "0";
                processLabel.formulaLabel.Text         = "0";

                int left_off = 420;
                int top_off  = 50;
                if (i > 9)
                {
                    top_off = 78;
                }
                int row_height = 37;
                // 左
                processLabel.workTemperatureLabel.Left = left_off;
                processLabel.workTimeLabel.Left        = left_off + 117;
                processLabel.formulaLabel.Left         = left_off + 230;
                // 上
                processLabel.workTemperatureLabel.Top = top_off + i * row_height;
                processLabel.workTimeLabel.Top        = top_off + i * row_height;
                processLabel.formulaLabel.Top         = top_off + i * row_height;
                processLabel.formulaLabel.Width       = 160;
            }
            pictureBox1.SendToBack();// 将PictureBox调整到最底层。
        }
Example #3
0
 public void HidePresetControls()
 {
     if (InvokeRequired)
     {
         Invoke(new Action(() =>
         {
             PresetLabel.Hide();
             PresetList.Hide();
             PresetNameLabel.Hide();
             PresetNameTextbox.Hide();
             ProcessLabel.Hide();
             ProcessComboBox.Hide();
             NewPresetButton.Hide();
             SavePresetButton.Hide();
             DeleteButton.Hide();
             KeyPanelClass.CurrentPanel = null;
         }));
     }
     else
     {
         PresetLabel.Hide();
         PresetList.Hide();
         PresetNameLabel.Hide();
         PresetNameTextbox.Hide();
         ProcessLabel.Hide();
         ProcessComboBox.Hide();
         NewPresetButton.Hide();
         SavePresetButton.Hide();
         DeleteButton.Hide();
         KeyPanelClass.CurrentPanel = null;
     }
 }
Example #4
0
 public void ShowPresetControls()
 {
     if (InvokeRequired)
     {
         Invoke(new Action(() =>
         {
             PresetLabel.Show();
             PresetList.Show();
             PresetNameLabel.Show();
             PresetNameTextbox.Show();
             ProcessLabel.Show();
             ProcessComboBox.Show();
             NewPresetButton.Show();
             SavePresetButton.Show();
             DeleteButton.Show();
         }));
     }
     else
     {
         PresetLabel.Show();
         PresetList.Show();
         PresetNameLabel.Show();
         PresetNameTextbox.Show();
         ProcessLabel.Show();
         ProcessComboBox.Show();
         NewPresetButton.Show();
         SavePresetButton.Show();
         DeleteButton.Show();
     }
 }
Example #5
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (ProcessLabel != null)
         {
             hashCode = hashCode * 59 + ProcessLabel.GetHashCode();
         }
         if (CqDamInddPagesRegex != null)
         {
             hashCode = hashCode * 59 + CqDamInddPagesRegex.GetHashCode();
         }
         if (IdsJobDecoupled != null)
         {
             hashCode = hashCode * 59 + IdsJobDecoupled.GetHashCode();
         }
         if (IdsJobWorkflowModel != null)
         {
             hashCode = hashCode * 59 + IdsJobWorkflowModel.GetHashCode();
         }
         return(hashCode);
     }
 }
Example #6
0
        /// <summary>
        /// Returns true if ComDayCqDamInddProcessINDDMediaExtractProcessProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqDamInddProcessINDDMediaExtractProcessProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqDamInddProcessINDDMediaExtractProcessProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     ProcessLabel == other.ProcessLabel ||
                     ProcessLabel != null &&
                     ProcessLabel.Equals(other.ProcessLabel)
                     ) &&
                 (
                     CqDamInddPagesRegex == other.CqDamInddPagesRegex ||
                     CqDamInddPagesRegex != null &&
                     CqDamInddPagesRegex.Equals(other.CqDamInddPagesRegex)
                 ) &&
                 (
                     IdsJobDecoupled == other.IdsJobDecoupled ||
                     IdsJobDecoupled != null &&
                     IdsJobDecoupled.Equals(other.IdsJobDecoupled)
                 ) &&
                 (
                     IdsJobWorkflowModel == other.IdsJobWorkflowModel ||
                     IdsJobWorkflowModel != null &&
                     IdsJobWorkflowModel.Equals(other.IdsJobWorkflowModel)
                 ));
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (MaxErrorsToBlacklist != null)
         {
             hashCode = hashCode * 59 + MaxErrorsToBlacklist.GetHashCode();
         }
         if (RetryIntervalToWhitelist != null)
         {
             hashCode = hashCode * 59 + RetryIntervalToWhitelist.GetHashCode();
         }
         if (ConnectTimeout != null)
         {
             hashCode = hashCode * 59 + ConnectTimeout.GetHashCode();
         }
         if (SocketTimeout != null)
         {
             hashCode = hashCode * 59 + SocketTimeout.GetHashCode();
         }
         if (ProcessLabel != null)
         {
             hashCode = hashCode * 59 + ProcessLabel.GetHashCode();
         }
         if (ConnectionUseMax != null)
         {
             hashCode = hashCode * 59 + ConnectionUseMax.GetHashCode();
         }
         return(hashCode);
     }
 }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (ProcessLabel != null)
         {
             hashCode = hashCode * 59 + ProcessLabel.GetHashCode();
         }
         if (ExtractPages != null)
         {
             hashCode = hashCode * 59 + ExtractPages.GetHashCode();
         }
         return(hashCode);
     }
 }
Example #9
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (ProcessLabel != null)
         {
             hashCode = hashCode * 59 + ProcessLabel.GetHashCode();
         }
         if (NotifyOnComplete != null)
         {
             hashCode = hashCode * 59 + NotifyOnComplete.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if ComDayCqDamIdsImplIDSPoolManagerImplProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqDamIdsImplIDSPoolManagerImplProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqDamIdsImplIDSPoolManagerImplProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     MaxErrorsToBlacklist == other.MaxErrorsToBlacklist ||
                     MaxErrorsToBlacklist != null &&
                     MaxErrorsToBlacklist.Equals(other.MaxErrorsToBlacklist)
                     ) &&
                 (
                     RetryIntervalToWhitelist == other.RetryIntervalToWhitelist ||
                     RetryIntervalToWhitelist != null &&
                     RetryIntervalToWhitelist.Equals(other.RetryIntervalToWhitelist)
                 ) &&
                 (
                     ConnectTimeout == other.ConnectTimeout ||
                     ConnectTimeout != null &&
                     ConnectTimeout.Equals(other.ConnectTimeout)
                 ) &&
                 (
                     SocketTimeout == other.SocketTimeout ||
                     SocketTimeout != null &&
                     SocketTimeout.Equals(other.SocketTimeout)
                 ) &&
                 (
                     ProcessLabel == other.ProcessLabel ||
                     ProcessLabel != null &&
                     ProcessLabel.Equals(other.ProcessLabel)
                 ) &&
                 (
                     ConnectionUseMax == other.ConnectionUseMax ||
                     ConnectionUseMax != null &&
                     ConnectionUseMax.Equals(other.ConnectionUseMax)
                 ));
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (ProcessLabel != null)
         {
             hashCode = hashCode * 59 + ProcessLabel.GetHashCode();
         }
         if (CqDamEnableSha1 != null)
         {
             hashCode = hashCode * 59 + CqDamEnableSha1.GetHashCode();
         }
         if (CqDamMetadataXssprotectedProperties != null)
         {
             hashCode = hashCode * 59 + CqDamMetadataXssprotectedProperties.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if ComDayCqDamInddImplHandlerIndesignXMPHandlerProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqDamInddImplHandlerIndesignXMPHandlerProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqDamInddImplHandlerIndesignXMPHandlerProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     ProcessLabel == other.ProcessLabel ||
                     ProcessLabel != null &&
                     ProcessLabel.Equals(other.ProcessLabel)
                     ) &&
                 (
                     ExtractPages == other.ExtractPages ||
                     ExtractPages != null &&
                     ExtractPages.Equals(other.ExtractPages)
                 ));
        }
Example #13
0
        /// <summary>
        /// Returns true if ComDayCqDamCoreProcessExifToolExtractMetadataProcessProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqDamCoreProcessExifToolExtractMetadataProcessProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqDamCoreProcessExifToolExtractMetadataProcessProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     ProcessLabel == other.ProcessLabel ||
                     ProcessLabel != null &&
                     ProcessLabel.Equals(other.ProcessLabel)
                     ) &&
                 (
                     CqDamEnableSha1 == other.CqDamEnableSha1 ||
                     CqDamEnableSha1 != null &&
                     CqDamEnableSha1.Equals(other.CqDamEnableSha1)
                 ));
        }
Example #14
0
        /// <summary>
        /// Returns true if ComDayCqDamCoreImplProcessSendTransientWorkflowCompletedEmailPrProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of ComDayCqDamCoreImplProcessSendTransientWorkflowCompletedEmailPrProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ComDayCqDamCoreImplProcessSendTransientWorkflowCompletedEmailPrProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     ProcessLabel == other.ProcessLabel ||
                     ProcessLabel != null &&
                     ProcessLabel.Equals(other.ProcessLabel)
                     ) &&
                 (
                     NotifyOnComplete == other.NotifyOnComplete ||
                     NotifyOnComplete != null &&
                     NotifyOnComplete.Equals(other.NotifyOnComplete)
                 ));
        }