// <summary>ソースコード：>ＨＹＳＳＯＰ環境情報管理クラス</summary>
// <author>CommonMP</author>

using System;
using System.Threading;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;

using CommonMP.HYSSOP.Interface;
using CommonMP.HYSSOP.Interface.HSData;
using CommonMP.HYSSOP.Interface.HSTools;
using CommonMP.HYSSOP.Interface.HSController;
using CommonMP.HYSSOP.CoreImpl.HSData;
using CommonMP.HYSSOP.CoreImpl.HSTools;

namespace CommonMP.HYSSOP.OptionImpl.HSViewer.HyssopGISController
{
    /// <summary><para>class outline:</para>
    /// <para>環境情報管理クラス</para>
    /// </summary>
    /// <remarks><para>history:</para>
    /// <para>[CommonMP]
    /// <para>[CommonMP][ver 1.1.0][2010/12/22][新規作成]</para>
    /// </para>
    /// </remarks>
    public class HySExtGISEnvInf : HySEnvInf
    {

        /// <summary><para>method outline:</para>
        /// <para>コンストラクタ</para>
        /// </summary>
        /// <example><para>usage:</para>
        /// <para> HySEnvInf csEnvInf = HySEnvInf(csEnvFileName)</para>
        /// </example>
        /// <param name="csEnvFileName">環境ファイル名称</param>
        /// <returns>HySEnvInf  生成されたインスタンス</returns>
        /// <exception cref="">無し</exception>
        /// <remarks><para>remarks:</para>
        /// <para>無し</para>
        /// </remarks>
        public HySExtGISEnvInf(HySString csEnvFileName) : base(csEnvFileName)
        {
        }

        /// <summary><para>method outline:</para>
        /// <para>初期化処理</para>
        /// </summary>
        /// <example><para>usage:</para>
        /// <para> Initialize() </para>
        /// </example>
        /// <param name="">無し</param>
        /// <returns>long =0:正常  =-1:異常</returns>
        /// <exception cref="">無し</exception>
        /// <remarks><para>remarks:</para>
        /// <para>無し</para>
        /// </remarks>
        public override long Initialize()
        {
            // =======環境情報読み込み====
            if (LoadEnvFile() < 0)
            {
                return -1;
            }
            return 0;
        }

    }
}
