private void bnBundlePalletAnalysis_Click(object sender, EventArgs e) { try { Palletization.StartBundlePalletAnalysis("Default bundle", 600, 400, 5.0); } 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()); } }
public void OnToolStripStackBuilderBundlePallet(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.StartBundlePalletAnalysis(pluginViewCtrl.LoadedComponentName, length, width, height); } } catch (Exception ex) { _log.Error(ex.ToString()); } }