public void SendCommand_Woman(string _in_out, string _prod_code) { if (tmr_woman_seq.Enabled == false) { tmr_woman_seq.Stop(); tmr_woman_seq.Enabled = false; target_woman = DicWomanTarget[_prod_code]; woman_product_code = _prod_code; /*try * { * if (woman_product_code == null) * { * woman_product_code = Program.data.OrderSelectResult(); * } * } * catch (Exception ex) * { * * }*/ woman_INPUT_OUTPUT = _in_out; woman_seq_step = 0; tmr_woman_seq.Enabled = true; tmr_woman_seq.Interval = 100; tmr_woman_seq.Start(); } }
public void SendCommand_man(string _in_out, string _prod_code) { if (tmr_man_seq.Enabled == false) { tmr_man_seq.Stop(); tmr_man_seq.Enabled = false; target_man = DicmanTarget[_prod_code]; man_product_code = _prod_code; man_INPUT_OUTPUT = _in_out; man_seq_step = 0; tmr_man_seq.Enabled = true; tmr_man_seq.Interval = 100; tmr_man_seq.Start(); } }