Beispiel #1
0
    void OnTriggerEnter(Collider col)
    {
        if (!StaticUtil.LayerMatchTest(CanUseThis, col.gameObject) | _expended)
        {
            return;
        }
        _expended = true;

        _pirate = col.gameObject.GetComponent <Subject>();
        if (Animation)
        {
            GetComponent <Animation>().Play();
        }
        if (Sound)
        {
            Sound.Play();
        }
        int reward = Random.Range(CoinRewardMin, CoinRewardMax);

        _pirate.Stats.Coin += reward;
        StaticUtil.SpawnFloatingText(gameObject, transform.position, reward.ToString());

        if (DestroyOnPickup)
        {
            Destroy(gameObject);
        }
    }
Beispiel #2
0
        public void InitServiceInfo()
        {
            //int height = this.grid_service_info.Height;
            //int rowHeight = height/7;
            //this.grid_service_info.Columns.Add("name", "项目名称");
            //this.grid_service_info.Columns.Add("value", "项目值");
            //this.grid_service_info.ColumnHeadersHeight = height - rowHeight * 6;

            int index = this.grid_service_info.Rows.Add();

            //this.grid_service_info.Rows[index].Height = rowHeight;
            this.grid_service_info.Rows[index].Cells[0].Value = "操作系统";
            this.grid_service_info.Rows[index].Cells[1].Value = StaticUtil.GetOSVersion();

            index = this.grid_service_info.Rows.Add();
            //this.grid_service_info.Rows[index].Height = rowHeight;
            this.grid_service_info.Rows[index].Cells[0].Value = "系统版本";
            this.grid_service_info.Rows[index].Cells[1].Value = StaticUtil.VERSION;

            index = this.grid_service_info.Rows.Add();
            //this.grid_service_info.Rows[index].Height = rowHeight;
            this.grid_service_info.Rows[index].Cells[0].Value = "打印模式";
            this.grid_service_info.Rows[index].Cells[1].Value = StaticUtil.ENVIRONMENT_NAME;

            index = this.grid_service_info.Rows.Add();
            //this.grid_service_info.Rows[index].Height = rowHeight;
            this.grid_service_info.Rows[index].Cells[0].Value = "服务地址";
            this.grid_service_info.Rows[index].Cells[1].Value = StaticUtil.PRINT_ADDRESS;

            if (StaticUtil.USER_COOKIE_BEAN == null)
            {
                index = this.grid_service_info.Rows.Add();
                //this.grid_service_info.Rows[index].Height = rowHeight;
                this.grid_service_info.Rows[index].Cells[0].Value = "服务端口";
                this.grid_service_info.Rows[index].Cells[1].Value = StaticUtil.LOCAL_PORT.ToString();
            }
            else
            {
                index = this.grid_service_info.Rows.Add();
                //this.grid_service_info.Rows[index].Height = rowHeight;
                this.grid_service_info.Rows[index].Cells[0].Value = "公司代码";
                this.grid_service_info.Rows[index].Cells[1].Value = StaticUtil.USER_COOKIE_BEAN.companyCode;

                index = this.grid_service_info.Rows.Add();
                //this.grid_service_info.Rows[index].Height = rowHeight;
                this.grid_service_info.Rows[index].Cells[0].Value = "打印账号";
                this.grid_service_info.Rows[index].Cells[1].Value = StaticUtil.USER_COOKIE_BEAN.loginName;

                index = this.grid_service_info.Rows.Add();
                //this.grid_service_info.Rows[index].Height = rowHeight;
                this.grid_service_info.Rows[index].Cells[0].Value = "打印机名";
                this.grid_service_info.Rows[index].Cells[1].Value = StaticUtil.USER_COOKIE_BEAN.userName;
            }
        }
Beispiel #3
0
        public static IList <String> Validate(this UserInfo entity, LanguageType?lType)
        {
            IList <String> Errmsg = new List <string>();

            if (StaticUtil.NullCheck(entity.UserName))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("유저명이 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("名前が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.UserNumber1) || StaticUtil.NullCheck(entity.UserNumber2) || StaticUtil.NullCheck(entity.UserNumber3))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("전화번호가 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("電話番号が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.UserEmail))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("이메일이 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("Eメールが入力されてありません。");
                }
            }
            if (!StaticUtil.NullCheck(entity.Password))
            {
                if (!entity.Password.Equals(entity.PasswordCheck))
                {
                    if (lType == LanguageType.Korea)
                    {
                        Errmsg.Add("패스워드가 일치하지 않습니다.");
                    }
                    else
                    {
                        Errmsg.Add("パスワードが一致しません。");
                    }
                }
            }
            return(Errmsg);
        }
        public static List <String> Validate(this Document entity, LanguageType?lType)
        {
            List <String> Errmsg = new List <string>();

            if (StaticUtil.NullCheck(entity.DocumentCode))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("문서번호가 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add("文書番号が入力されてありません。");
                }
            }
            return(Errmsg);
        }
Beispiel #5
0
        private Rigidbody GetClosestRigidBody(Rigidbody[] rigidbodies)
        {
            Rigidbody closest = null;

            if (rigidbodies.Length > 0)
            {
                closest = rigidbodies[0];
                for (int i = 0; i < rigidbodies.Length; i++)
                {
                    if (StaticUtil.FastDistance(closest.transform.position, this.transform.position) > StaticUtil.FastDistance(rigidbodies[i].transform.position, this.transform.position))
                    {
                        closest = rigidbodies[i];
                    }
                }
            }

            return(closest);
        }
Beispiel #6
0
 private void setLocalUI()
 {
     if (this.Height == windowMaxHeight)
     {
         reqireLogin = false;
         this.lb_company_code_port.Text       = "服务端口";
         this.txt_company_code_port.WaterText = "请输入服务端口";
         this.lb_login_name.Visible           = false;
         this.txt_login_name.Visible          = false;
         this.lb_login_password.Visible       = false;
         this.txt_login_password.Visible      = false;
         int twoHeight = (26 + 19) * 2;
         int x         = btn_login.Location.X;
         int y         = btn_login.Location.Y - twoHeight;
         btn_login.Location         = new System.Drawing.Point(x, y);
         this.Height                = windowMaxHeight - twoHeight;
         txt_print_address.Text     = StaticUtil.getLocalHostLANAddress().ToString();
         txt_company_code_port.Text = "27027";
     }
 }
    void OnTriggerEnter(Collider col)
    {
        if (!StaticUtil.LayerMatchTest(CanTriggerThis, col.gameObject))
        {
            return;
        }

        switch (LoadType)
        {
        case (LoadLevelPath.Index):
            SceneManager.LoadScene(GoToLevelIndex);
            break;

        case (LoadLevelPath.String):
            SceneManager.LoadScene(GoToLevelName);
            break;

        case (LoadLevelPath.Restart):
            SceneManager.LoadScene(SceneManager.GetActiveScene().name);
            break;
        }
    }
Beispiel #8
0
        private void UpdateForm_Load(object sender, EventArgs e)
        {
            string file = Application.StartupPath + Path.DirectorySeparatorChar + "version.ini";

            if (File.Exists(file))
            {
                Ini ini = new Ini(file);
                app = new AutoVersionInfo();

                app.SoftName    = ini.Read("version", "name", 256);
                app.Version     = ini.Read("version", "version", 256);
                app.Description = ini.Read("version", "description", 256);
                app.Forced      = StaticUtil.ToInt(ini.Read("version", "forced", 256));
                app.Url         = ini.Read("version", "url", 256);
                app.Md5         = ini.Read("version", "md5", 256);
                app.Size        = StaticUtil.ToInt(ini.Read("version", "size", 256));
                if (!CheckTools.isPoint(StaticUtil.VERSION))
                {
                    throw new Exception("系统版本号设置有误!");
                }
                if (!CheckTools.isPoint(app.Version))
                {
                    throw new Exception("远程版本号设置有误!");
                }
                if (float.Parse(app.Version) > float.Parse(StaticUtil.VERSION))
                {
                    app.IsUpdate = true;
                }
            }
            else
            {
                this.progress_file.Text = "正在检测版本号...";
                app = AutoVersionInfo.CheckIsUpdate(StaticUtil.VERSION);
            }
            UpdateApp();
        }
Beispiel #9
0
        public PrinterList print(bool isPrint, PrinterList printerList)
        {
            string error = null;

            if (printerList == null)
            {
                error = "无可用打印数据";
                printerList.printResult = 2;
                printerList.errorMsg    = error;
                return(printerList);
            }
            if (CheckTools.isNull(printerList.templateFileName))
            {
                error = "打印模板名称不允许为空";
                printerList.printResult = 2;
                printerList.errorMsg    = error;
                return(printerList);
            }
            IDictionary <string, string> fixedField = null;

            if (!CheckTools.isNull(printerList.printerJson))
            {
                try
                {
                    fixedField = JsonConvert.DeserializeObject <IDictionary <string, string> >(printerList.printerJson);
                }
                catch (Exception e)
                {
                    //Console.WriteLine("CallServiceThread序列化异常:" + e.Message);
                    error = e.Message;
                }
            }
            IDictionary <string, DataTable> listField = null;

            if (!CheckTools.isNull(printerList.printerListJson))
            {
                try
                {
                    listField = JsonConvert.DeserializeObject <IDictionary <string, DataTable> >(printerList.printerListJson);
                }
                catch (Exception e)
                {
                    //Console.WriteLine("CallServiceThread序列化异常:" + e.Message);
                    error = e.Message;
                }
            }
            //序列化出错
            if (error != null)
            {
                printerList.printResult = 2;
                printerList.errorMsg    = error;
                return(printerList);
            }
            if ((fixedField == null || fixedField.Count == 0) && (listField == null || listField.Count == 0))
            {
                error = "打印模板内容参数printerJson或printerListJson不允许同时为空";
                printerList.printResult = 2;
                printerList.errorMsg    = error;
                return(printerList);
            }
            string filename;
            int    dot = printerList.templateFileName.IndexOf(".");

            if (dot == -1)
            {
                filename = printerList.templateFileName;
                printerList.templateFileName += ".xlsx";
            }
            else
            {
                filename = printerList.templateFileName.Substring(0, dot);
            }
            string exportOutFileName = filename + "_";

            if (printerList.listId == null)
            {
                exportOutFileName += StaticUtil.ConvertDateTimeToTimestamp(printerList.requestTime);
            }
            else
            {
                exportOutFileName += printerList.listId;
            }
            try
            {
                string excelFileName = new ExcelUtil().TemplateExport(printerList.templateFileName, exportOutFileName, fixedField, listField);
                if (printerList.command == null)
                {
                    printerList.command = "print";
                }
                if (string.Equals("print", printerList.command, StringComparison.CurrentCultureIgnoreCase))
                {
                    StaticUtil.Print(excelFileName);
                }
                //打印结果0待打印1打印成功2打印失败
                printerList.printResult = 1;
                printerList.errorMsg    = "ACK";
            }
            catch (Exception e)
            {
                Console.WriteLine("CallServiceThread.ExcelUtil.TemplateExport异常" + e);
                error = e.Message;
                printerList.printResult = 2;
                printerList.errorMsg    = error;
            }

            return(printerList);
        }
Beispiel #10
0
        public static List <String> Validate(this OrderTableSub entity, LanguageType?lType, int i)
        {
            List <String> Errmsg = new List <string>();

            if (entity.ProductIndex <= 0)
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add(i.ToString() + "번째 상품번호가 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add(i.ToString() + "番目、商品番号が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.ProductSpec))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add(i.ToString() + "번째 상품규격이 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add(i.ToString() + "番目、商品規格が入力されてありません。");
                }
            }
            if (entity.ProductAmount <= 0)
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add(i.ToString() + "번째 상품양이 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add(i.ToString() + "番目、商品量が入力されてありません。");
                }
            }
            if (entity.ProductPrice <= 0)
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add(i.ToString() + "번째 상품가격이 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add(i.ToString() + "番目、商品価格が入力されてありません。");
                }
            }
            if (entity.ProductMoney <= 0)
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add(i.ToString() + "번째 금액이 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add(i.ToString() + "番目、金額が入力されてありません。");
                }
            }
            return(Errmsg);
        }
Beispiel #11
0
        public static List <String> Validate(this OrderTable entity, LanguageType?lType)
        {
            List <String> Errmsg = new List <string>();

            if (StaticUtil.NullCheck(entity.OrderNumber))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("문서번호가 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add("文書番号が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.OrderName))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("발주사가 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add("発注社が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.OrderAddress))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("발주사주소가 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add("発注社住所が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.OrderPhoneNumber))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("발주사전화번호가 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add("発注社電話番号が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.OrderFax))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("발주사팩스번호가 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add("発注社ファクス番号が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.InorderName))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("수주자이름가 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add("受注社が入力されてありません。");
                }
            }
            if (entity.OrderMoney <= 0)
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("발주금액이 없습니다.");
                }
                else
                {
                    Errmsg.Add("発注金額がありません。");
                }
            }
            if (entity.OrderSaveDate == null || entity.OrderSaveDate < DateTime.Now.AddDays(-1))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("납기일자가 맞지 않습니다.");
                }
                else
                {
                    Errmsg.Add("納期日付が合わないです。");
                }
                if (entity.OrderSaveDate < DateTime.Now.AddYears(-1))
                {
                    entity.OrderSaveDate = DateTime.Now;
                }
            }
            if (StaticUtil.NullCheck(entity.OrderSavePlace))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("납기장소가 입력되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add("納期場所が入力されてありません。");
                }
            }
            if (entity.OrderDate == null || entity.OrderDate < DateTime.Now.AddDays(-1))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("발주일자가 맞지 않습니다.");
                }
                else
                {
                    Errmsg.Add("発注日付が合わないです。");
                }
                if (entity.OrderDate < DateTime.Now.AddYears(-1))
                {
                    entity.OrderDate = DateTime.Now;
                }
            }
            if (entity.PayDate == null || entity.PayDate < DateTime.Now.AddDays(-1))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("지불일자가 맞지 않습니다.");
                }
                else
                {
                    Errmsg.Add("支払日付が合わないです。");
                }
                if (entity.PayDate < DateTime.Now.AddYears(-1))
                {
                    entity.PayDate = DateTime.Now;
                }
            }
            if (entity.PayMoney <= 0)
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("지불금액이 없습니다.");
                }
                else
                {
                    Errmsg.Add("支払金額がありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.PayCondition))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("지불조건이 선택되지 않았습니다..");
                }
                else
                {
                    Errmsg.Add("支払条件が選択されてありません。");
                }
            }
            return(Errmsg);
        }
Beispiel #12
0
        private void btn_login_Click(object sender, EventArgs e)
        {
            if (reqireLogin)
            {
                string print_address = txt_print_address.Text.Trim();
                if (!CheckTools.isUrl(print_address))
                {
                    MessageBoxEx.Show(this, "服务地址须为有效域名或IP", "提示", MessageBoxButtons.OK);
                    return;
                }
                if (print_address.EndsWith("/"))
                {
                    print_address = print_address.Substring(0, print_address.Length - 1);
                }
                string company_code = txt_company_code_port.Text.Trim();
                if (company_code.Length < 3)
                {
                    MessageBoxEx.Show(this, "公司代码不允许为空", "提示", MessageBoxButtons.OK);
                    return;
                }
                string login_name = txt_login_name.Text.Trim();
                if (login_name.Length < 3)
                {
                    MessageBoxEx.Show(this, "登录账号不允许为空", "提示", MessageBoxButtons.OK);
                    return;
                }
                string login_password = txt_login_password.Text.Trim();
                if (login_password.Length < 3)
                {
                    MessageBoxEx.Show(this, "账号密码不允许为空", "提示", MessageBoxButtons.OK);
                    return;
                }
                StaticUtil.PRINT_ADDRESS = print_address;
                Dictionary <string, string> parameters = new Dictionary <string, string>(3);
                parameters.Add("companyCode", company_code);
                parameters.Add("loginName", login_name);
                parameters.Add("loginPassword", login_password);
                string result = null;
                result = HttpRequestClientUtil.doPost(StaticUtil.PRINT_ADDRESS + "/user/login", StaticUtil.DEFAULT_CHARSET, 60000, null, parameters, null);
                if (null == result)
                {
                    MessageBoxEx.Show(this, "登录超时,请检查网络", "提示", MessageBoxButtons.OK);
                }
                else
                {
                    Result <UserCookieBean> data = JsonConvert.DeserializeObject <Result <UserCookieBean> >(result);
                    if (data.success && data.bizErrCode == 20000)
                    {
                        StaticUtil.USER_COOKIE_BEAN = data.data;
                        string domain = StaticUtil.getDomainByPrintAddress(StaticUtil.PRINT_ADDRESS);

                        Encoding encoding     = Encoding.GetEncoding(StaticUtil.DEFAULT_CHARSET);
                        Cookie   userIdCookie = new Cookie("user_id", HttpUtility.UrlEncode(StaticUtil.USER_COOKIE_BEAN.userId.ToString(), encoding), "/", domain);
                        StaticUtil.USER_COOKIE_BEAN.Cookies.Add(userIdCookie);

                        Cookie companyCodeCookie = new Cookie("company_code", HttpUtility.UrlEncode(StaticUtil.USER_COOKIE_BEAN.companyCode, encoding), "/", domain);
                        StaticUtil.USER_COOKIE_BEAN.Cookies.Add(companyCodeCookie);

                        Cookie loginNameCookie = new Cookie("login_name", HttpUtility.UrlEncode(StaticUtil.USER_COOKIE_BEAN.loginName, encoding), "/", domain);
                        StaticUtil.USER_COOKIE_BEAN.Cookies.Add(loginNameCookie);

                        Cookie userNameCookie = new Cookie("user_name", HttpUtility.UrlEncode(StaticUtil.USER_COOKIE_BEAN.userName, encoding), "/", domain);
                        StaticUtil.USER_COOKIE_BEAN.Cookies.Add(userNameCookie);

                        Cookie cookie_sessionCookie = new Cookie("cookie_session", HttpUtility.UrlEncode(StaticUtil.USER_COOKIE_BEAN.cookie_session, encoding), "/", domain);
                        StaticUtil.USER_COOKIE_BEAN.Cookies.Add(cookie_sessionCookie);

                        Ini ini = new Ini(Application.StartupPath + Path.DirectorySeparatorChar + "user.ini");
                        ini.Write("user", "address", StaticUtil.PRINT_ADDRESS);
                        ini.Write("user", "company", FingerUtil.Encrypt(company_code, key));
                        ini.Write("user", "name", FingerUtil.Encrypt(login_name, key));
                        ini.Write("user", "password", FingerUtil.Encrypt(login_password, key));

                        this.DialogResult = DialogResult.OK;
                        this.Close();
                    }
                    else
                    {
                        MessageBoxEx.Show(this, data.defaultRequestFailShow(), "提示", MessageBoxButtons.OK);
                    }
                }
            }
            else
            {
                string address = txt_print_address.Text.Trim();
                if (!CheckTools.isIp(address))
                {
                    MessageBoxEx.Show(this, "请输入本地打印服务器地址且必须为IP格式", "提示", MessageBoxButtons.OK);
                    return;
                }
                string ports = txt_company_code_port.Text.Trim();
                if (!CheckTools.isPositiveNumber(ports))
                {
                    ports = "27027";
                }
                int port = int.Parse(ports);
                if (port <= 1024 || port > 65535)
                {
                    MessageBoxEx.Show(this, "请输入手机打印服务器端口号,有效范围1025~65535", "提示", MessageBoxButtons.OK);
                    return;
                }
            }
        }
Beispiel #13
0
        public static IList <String> Validate(this CompanyInfo entity, LanguageType?lType)
        {
            IList <String> Errmsg = new List <string>();

            if (StaticUtil.NullCheck(entity.CompanyName))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("회사이름이 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("会社名が入力されてありません。");
                }
            }
            if ((StaticUtil.NullCheck(entity.CompanyPostNumber1) || StaticUtil.NullCheck(entity.CompanyPostNumber2)))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("우편번호가 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("ポスト番号が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.CompanyAddress))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("주소가 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("住所が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.CompanySecurityNumber))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("사업자번호가 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("事業者番号が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.CompanySecurityNumber))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("사업자번호가 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("事業者番号が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.CompanyNumber1) || StaticUtil.NullCheck(entity.CompanyNumber2) || StaticUtil.NullCheck(entity.CompanyNumber3))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("회사전화번호가 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("会社電話番号が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.CompanyEmail))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("회사이메일이 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("会社Eメールが入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.Representative))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("대표자명이 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("代表者名が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.RepresentativeNumber1) || StaticUtil.NullCheck(entity.RepresentativeNumber2) || StaticUtil.NullCheck(entity.RepresentativeNumber3))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("대표자전화번호가 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("代表者電話番号が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.RepresentativeEmail))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("대표자이메일이 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("代表者Eメールが入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.CompanyAccountBank))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("계좌은행명이 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("通帳銀行名が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.CompanyAccountOwnerName))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("예금주가 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("通帳取付が入力されてありません。");
                }
            }
            if (StaticUtil.NullCheck(entity.CompanyAccountNumber))
            {
                if (lType == LanguageType.Korea)
                {
                    Errmsg.Add("계좌번호가 입력되지 않았습니다.");
                }
                else
                {
                    Errmsg.Add("通帳番号名が入力されてありません。");
                }
            }

            return(Errmsg);
        }