예제 #1
0
        public async Task CheckZoneCode()
        {
            if (CreateMode)
            {
                CodeWarningText = "";
                if ((LocationCode != "") && (Code != ""))
                {
                    int exist = await NAV.GetZoneCount(LocationCode, Code, false, ACD.Default).ConfigureAwait(true);

                    if (exist > 0)
                    {
                        CodeWarningText = AppResources.NewZonePage_CodeAlreadyExist;
                    }
                }
            }
        }