コード例 #1
0
        private bool Clearhandpay(int InstallationNo)
        {
            int       Datapak;
            DataTable dt = new DataTable();

            dt = analysisBusinessObject.GetHandpaystoClear(InstallationNo);

            foreach (DataRow dr in dt.Rows)
            {
                Datapak = BMC.Presentation.Helper_classes.Common.GetRowValue <int>(dr, "Datapak_No");
                //return MachineManager.ClearHandpayLock(Datapak);
                System.Diagnostics.Process proc = new System.Diagnostics.Process();
                proc.StartInfo.FileName  = "CmdLine";
                proc.StartInfo.Arguments = Datapak.ToString();
                proc.Start();
            }
            return(false);
        }