private bool ExecUpdate(string no)
        {
            bool ret = tprg_Hanbai_Bl.PRC_TempoRegiDataUpdate(dse, (short)OperationMode);

            //// 実行モジュールと同一フォルダのファイルを取得
            //System.Uri u = new System.Uri(System.Reflection.Assembly.GetExecutingAssembly().CodeBase);
            //string filePath = System.IO.Path.GetDirectoryName(u.LocalPath) + @"\" + TempoRegiDataUpdate;
            //if (System.IO.File.Exists(filePath))
            //{
            //    string cmdLine = InCompanyCD + " " + InOperatorCD + " " + InPcID + " " + dse.StoreCD
            //                        + " " + no + " " + (int)OperationMode;
            //    System.Diagnostics.Process.Start(filePath, cmdLine);
            //}
            //else
            //{
            //    //EXEが存在しない時エラー
            //    return false;
            //}
            return(true);
        }
Exemplo n.º 2
0
 public void ExecUpdate(D_Sales_Entity dse, int OperationMode)
 {
     TempoRegiHanbaiTouroku_BL tprg_Hanbai_Bl = new TempoRegiHanbaiTouroku_BL();
     bool ret = tprg_Hanbai_Bl.PRC_TempoRegiDataUpdate(dse, OperationMode);
 }