Beispiel #1
0
 private void bnBundleCaseAnalysis_Click(object sender, EventArgs e)
 {
     try
     {
         Palletization.StartBundleCaseAnalysis("Default bundle", 60, 40, 1.0);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Beispiel #2
0
 private void bnBoxCasePalletOptimization_Click(object sender, EventArgs e)
 {
     try
     {
         Palletization.StartCaseOptimization("Default box", 100, 60, 40);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Beispiel #3
0
 private void bnCasePalletAnalysis_Click(object sender, EventArgs e)
 {
     try
     {
         Palletization.StartPalletization("Default case", 220, 140, 145);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
 private void onAnalysisBundlePallet(object sender, EventArgs e)
 {
     try
     {
         Palletization.StartBundlePalletAnalysis(
             tbName.Text
             , uCtrlDimensions.ValueX
             , uCtrlDimensions.ValueY
             , uCtrlDimensions.ValueZ);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
 private void onBoxCasePalletOptimisation(object sender, EventArgs e)
 {
     try
     {
         Palletization.StartCaseOptimization(
             tbName.Text
             , uCtrlDimensions.ValueX
             , uCtrlDimensions.ValueY
             , uCtrlDimensions.ValueZ);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Beispiel #6
0
 public void OnToolStripStackBuilderBundleCase(object sender, EventArgs e)
 {
     try
     {
         double length = 0.0, width = 0.0, height = 0.0;
         if (pluginViewCtrl.GetFlatDimensions(length: ref length, width: ref width, height: ref height))
         {
             Palletization.StartAnalysisBundleCase(pluginViewCtrl.LoadedComponentName, length, width, height);
         }
     }
     catch (Exception ex)
     {
         _log.Error(ex.ToString());
     }
 }