//******************************************************************* /// <summary>情報エリアをセット(編集、コピー新規用)</summary> //******************************************************************* private void SetInfoArea() { lblManageId.Text = Convert.ToString(container.JobnetControlTable.Rows[0]["inner_jobnet_id"]); if (Convert.ToDecimal(container.JobnetControlTable.Rows[0]["scheduled_time"]) > 0) { lblScheduledTime.Text = ConvertUtil.ConverIntYYYYMMDDHHMI2Date(Convert.ToDecimal(container.JobnetControlTable.Rows[0]["scheduled_time"])).ToString("yyyy/MM/dd HH:mm:ss"); } else { lblScheduledTime.Text = ""; } if (Convert.ToDecimal(container.JobnetControlTable.Rows[0]["start_time"]) > 0) { lblStartTime.Text = ConvertUtil.ConverIntYYYYMMDDHHMISS2Date(Convert.ToDecimal(container.JobnetControlTable.Rows[0]["start_time"])).ToString("yyyy/MM/dd HH:mm:ss"); } else { lblStartTime.Text = ""; } if (Convert.ToDecimal(container.JobnetControlTable.Rows[0]["end_time"]) > 0) { lblEndTime.Text = ConvertUtil.ConverIntYYYYMMDDHHMISS2Date(Convert.ToDecimal(container.JobnetControlTable.Rows[0]["end_time"])).ToString("yyyy/MM/dd HH:mm:ss"); } else { lblEndTime.Text = ""; } DataRow row = container.JobnetControlTable.Select()[0]; // 実行ジョブネットIDをセット lblJobNetId.Text = Convert.ToString(row["jobnet_id"]); // 実行ジョブネット名をセット lblJobnetName.Text = Convert.ToString(row["jobnet_name"]); // 公開チェックボックス int openFlg = Convert.ToInt32(row["public_flag"]); if (openFlg == 1) { lblOpen.Text = "○"; } else if (openFlg == 0) { lblOpen.Text = ""; } // 説明 lblComment.Text = Convert.ToString(row["memo"]); //更新日 lblUpdDate.Text = (ConvertUtil.ConverIntYYYYMMDDHHMISS2Date(Convert.ToInt64(row["update_date"]))).ToString("yyyy/MM/dd HH:mm:ss"); //ユーザー名 lblUserName.Text = Convert.ToString(row["user_name"]); //added by YAMA 2014/04/22 // ジョブネットの多重起動の有無 switch (Convert.ToInt32(row["multiple_start_up"])) { case 0: lblmultiple_start.Text = Properties.Resources.multiple_start_type1; break; case 1: lblmultiple_start.Text = Properties.Resources.multiple_start_type2; break; case 2: lblmultiple_start.Text = Properties.Resources.multiple_start_type3; break; } //ジョブネットタイムアウト追加 if (RunJobnetSummaryTable.Rows.Count > 0) { tbJobnetTimeout.Text = Convert.ToString(RunJobnetSummaryTable.Rows[0]["jobnet_timeout"]); if (Convert.ToString(RunJobnetSummaryTable.Rows[0]["timeout_run_type"]).Equals("1")) { jobNetRunType.Text = "jobnet stop"; } } else { jobNetRunType.Text = ""; } }