LogicHandler.cs 804 B

1234567891011121314151617181920212223
  1. using UAS_LabelMachine.Entity;
  2. namespace UAS_LabelMachine.PublicMethod
  3. {
  4. class LogicHandler
  5. {
  6. public static DataHelper dh = SystemInf.dh;
  7. public static void FilterData(string iCustCode, string iBrand, string iSpec, string iQty, string iDateCode, string iLotno, out string oSpec, out string oQty, out string oDatecode, out string oLotno)
  8. {
  9. oSpec = "";
  10. oQty = "";
  11. oDatecode = "";
  12. oLotno = "";
  13. string[] param = new string[] { iCustCode, iBrand, iSpec, iQty, iDateCode, iLotno, oSpec, oQty, oDatecode, oLotno };
  14. dh.CallProcedure("sp_datafilter", ref param);
  15. oSpec = param[6];
  16. oQty = param[7];
  17. oDatecode = param[8];
  18. oLotno = param[9];
  19. }
  20. }
  21. }