protected void lblJop_DataBinding(object sender, EventArgs e) { Codes TC = new Codes(); try { (sender as Label).Text = TC.WazefaName(Convert.ToInt32((sender as Label).Text)); } catch { } }
static void SendSignal(Codes code) { short command = (short)code; byte[] bytes = new byte[2]; bytes[0] = (byte)(command >> 8); bytes[1] = (byte)(0x00FF & command); _port.Write(bytes, 0, bytes.Length); }
public static void TestResponse(string url, string fileName, string body = null, string method = Methods.Get, Codes expectedCode = Codes.Succeeded, string acceptHeader = null) { if (body != null && (method == Methods.Get || method == Methods.Delete)) { //Add the arguments as a url-encoded query string string args = HttpUtility.UrlEncode(body); url += "?" + args; } var httpRequest = (HttpWebRequest) WebRequest.Create(url); httpRequest.KeepAlive = false; httpRequest.Method = method; httpRequest.ContentType = @"application/json"; if (acceptHeader != null) { httpRequest.Accept = acceptHeader; } if (body != null && method != Methods.Get) { httpRequest.ContentLength = body.Length; using (var sw = new StreamWriter(httpRequest.GetRequestStream())) { using (var jr = new JsonTextWriter(sw)) { jr.WriteRaw(body); } } } else { httpRequest.ContentLength = 0; } if (expectedCode == Codes.Succeeded || expectedCode == Codes.SucceededNewRepresentation) { ErrorNotExpected(httpRequest, fileName); } else if (expectedCode == Codes.SucceededValidation) { ErrorNotExpectedNoContent(httpRequest); } else { ErrorExpected(httpRequest, (int) expectedCode); } }
public BOPException(Codes errorCode, ErrorSeverity severity, Exception innerException, params object[] paramsValue) : base(_resourceManager, (int)errorCode, severity, innerException, paramsValue) { }
public CompilerException(Parse.Statement statement, Codes errorCode, ErrorSeverity severity, Exception innerException) : base(_resourceManager, (int)errorCode, severity, innerException, null) { SetStatement(statement); }
protected void TestActionDetails(string actionName, string method = Methods.Get, Codes expectedErrorCode = Codes.Succeeded) { Helpers.TestResponse(BaseUrl + actionName, FilePrefix + actionName, null, method, expectedErrorCode); }
public DropDownList GetStudentsForFasl( int SafID, int FaslID, DropDownList dlist) { OleDbCommand com = new OleDbCommand("SELECT DISTINCT stu_code FROM student_t WHERE alsofof_code=@alsofof_code and fasl_code=@fasl_code", MySchool.StudentConnection); com.Parameters.AddWithValue("@alsofof_code", SafID); com.Parameters.AddWithValue("@fasl_code", FaslID); com.Connection.Open(); OleDbDataReader DR = com.ExecuteReader(); Codes cd = new Codes(); ListItem li; dlist.Items.Clear(); dlist.Items.Add(new ListItem("ÇÎÊÑ ÇÓã ÇáÊáãíÐ.........","0")); while (DR.Read()) { string s = cd.StudentName(Convert.ToInt32(DR["stu_code"])); li = new ListItem(s, DR["stu_code"].ToString()); dlist.Items.Add(li); } com.Connection.Close(); return dlist; }
public BaseException(Codes errorCode, ErrorSeverity severity, Exception innerException, params object[] paramsValue) : base(_resourceManager, (int)errorCode, severity, innerException, paramsValue) { }
public LexerException(Codes errorCode, Exception innerException, params object[] paramsValue) : base(_resourceManager, (int)errorCode, ErrorSeverity.Application, innerException, paramsValue) { }
protected void Label2_DataBinding(object sender, EventArgs e) { Codes cd = new Codes(); (sender as Label).Text = cd.PunishmentName(Convert.ToInt32((sender as Label).Text)); }
/// <summary> /// Pomocna funkcija /// </summary> /// <param name="code"></param> /// <param name="value"></param> public void WriteToDumpingBuffer(Codes code, float value) { int tempCode = (int)code; if (tempCode < 0 || tempCode > 7) { throw new ArgumentException("Kod mora biti izmedju 0 i 7"); } if (value < 0 || value > 10) { throw new ArgumentException("Vrednost mora biti izmedju 0 i 10"); } if (tempCode < 0 || tempCode > 7) { throw new ArgumentException("Kod mora biti izmedju 0 i 7"); } if (value < 0 || value > 10) { throw new ArgumentException("Vrednost mora biti izmedju 0 i 10"); } updated = false; dumpingProperty = new DumpingProperty(code, value); dataset = CheckDataset(code); CheckUpdate(dataset); if (!updated) { //Unique ID, Dataset & DumpingProperty switch (dataset) //na osnovu dataset-a odredjujemo u koji cemo CD da stavimo { case 1: CD1.ID = Guid.NewGuid().ToString(); CD1.Dataset = dataset; CD1.DumpingPropertyCollection.DumpingCollection.Add(dumpingProperty); break; case 2: CD2.ID = Guid.NewGuid().ToString(); CD2.Dataset = dataset; CD2.DumpingPropertyCollection.DumpingCollection.Add(dumpingProperty); break; case 3: CD3.ID = Guid.NewGuid().ToString(); CD3.Dataset = dataset; CD3.DumpingPropertyCollection.DumpingCollection.Add(dumpingProperty); break; case 4: CD4.ID = Guid.NewGuid().ToString(); CD4.Dataset = dataset; CD4.DumpingPropertyCollection.DumpingCollection.Add(dumpingProperty); break; } } //Ukoliko postoje 2 razlicita Code-a u okviru istog Dataset-a, salji Historical komponenti. if (CheckDumpingPropertyCount()) { SendToHistorical(); } }
public void Insert(Codes CodeObj) { context.Code.Add(CodeObj); context.SaveChanges(); }
public void Update(Codes CodeObj) { context.Entry(CodeObj).State = EntityState.Modified; context.SaveChanges(); }
private string InterpretCompExp(TreeNode node) { var temp = SymbolTable.GetTempSymbol().Name; if (node.MiddleNode != null) { switch (node.MiddleNode.LeftNode.DataType) { case TokenType.Greater: Codes.AddLast(new Quadruple(InstructionType.GreaterThan, InterpretExp(node.LeftNode), InterpretExp(node.MiddleNode.MiddleNode), temp, Line)); break; case TokenType.GreaterEq: Codes.AddLast(new Quadruple(InstructionType.GreaterEqThan, InterpretExp(node.LeftNode), InterpretExp(node.MiddleNode.MiddleNode), temp, Line)); break; case TokenType.Less: Codes.AddLast(new Quadruple(InstructionType.LessThan, InterpretExp(node.LeftNode), InterpretExp(node.MiddleNode.MiddleNode), temp, Line)); break; case TokenType.LessEq: Codes.AddLast(new Quadruple(InstructionType.LessEqThan, InterpretExp(node.LeftNode), InterpretExp(node.MiddleNode.MiddleNode), temp, Line)); break; default: throw new InterpretException("ERROR : 关系运算非法.\n"); } Line++; node = node.MiddleNode; } while (node.RightNode != null) { var tempN = temp; temp = SymbolTable.GetTempSymbol().Name; switch (node.RightNode.LeftNode.DataType) { case TokenType.Greater: Codes.AddLast(new Quadruple(InstructionType.GreaterThan, tempN, InterpretExp(node.RightNode.MiddleNode), temp, Line)); break; case TokenType.GreaterEq: Codes.AddLast(new Quadruple(InstructionType.GreaterEqThan, tempN, InterpretExp(node.RightNode.MiddleNode), temp, Line)); break; case TokenType.Less: Codes.AddLast(new Quadruple(InstructionType.LessThan, tempN, InterpretExp(node.RightNode.MiddleNode), temp, Line)); break; case TokenType.LessEq: Codes.AddLast(new Quadruple(InstructionType.LessEqThan, tempN, InterpretExp(node.RightNode.MiddleNode), temp, Line)); break; default: throw new InterpretException("ERROR : 关系运算非法.\n"); } Line++; node = node.RightNode; } return(temp); }
private void InterpretDecVariable(TreeNode node, int type, SymbolList table) { var variable = node; if (variable.MiddleNode == null) { string value = null; if (variable.RightNode != null) { value = InterpretExp(variable.RightNode.MiddleNode); } if (type == TokenType.Int) { Codes.AddLast(new Quadruple(InstructionType.Int, value, null, variable.LeftNode.Value, Line)); Line++; var symbol = new Symbol(variable.LeftNode.Value, SymbolType.IntValue, Level); SymbolTable.Register(symbol); } else if (type == TokenType.Real) { Codes.AddLast(new Quadruple(InstructionType.Real, value, null, variable.LeftNode.Value, Line)); Line++; var symbol = new Symbol(variable.LeftNode.Value, SymbolType.RealValue, Level); SymbolTable.Register(symbol); } else if (type == TokenType.Char) { Codes.AddLast(new Quadruple(InstructionType.Char, value, null, variable.LeftNode.Value, Line)); Line++; var symbol = new Symbol(variable.LeftNode.Value, SymbolType.CharValue, Level); SymbolTable.Register(symbol); } } else if (variable.MiddleNode != null) //数组暂时不能初始化 { if (variable.RightNode != null) { throw new InterpretException("ERROR : 初始化非法.\n"); } var len = InterpretArrayDim(variable.MiddleNode, out var dim); if (type == TokenType.Int) { Codes.AddLast(new Quadruple(InstructionType.Int, dim.ToString(), len, variable.LeftNode.Value, Line)); Line++; var symbol = new Symbol(variable.LeftNode.Value, SymbolType.IntArray, Level); SymbolTable.Register(symbol); } else if (type == TokenType.Real) { Codes.AddLast(new Quadruple(InstructionType.Real, dim.ToString(), len, variable.LeftNode.Value, Line)); Line++; var symbol = new Symbol(variable.LeftNode.Value, SymbolType.RealArray, Level); SymbolTable.Register(symbol); } else if (type == TokenType.Char) { Codes.AddLast(new Quadruple(InstructionType.Char, dim.ToString(), len, variable.LeftNode.Value, Line)); Line++; var symbol = new Symbol(variable.LeftNode.Value, SymbolType.CharArray, Level); SymbolTable.Register(symbol); } } }
protected void lbl_Punishment_DataBinding(object sender, EventArgs e) { Codes TC = new Codes(); (sender as Label).Text = TC.PunishName(Convert.ToInt32((sender as Label).Text)); }
protected void rptr_ItemDataBound(object sender, RepeaterItemEventArgs e) { var ctl = (DropDownList)e.Item.FindControl("Gender"); var txt = (TextBox)e.Item.FindControl("GenderTxt"); var i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } ctl = (DropDownList)e.Item.FindControl("PrimaryLibrary"); txt = (TextBox)e.Item.FindControl("PrimaryLibraryTxt"); i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } ctl = (DropDownList)e.Item.FindControl("SchoolType"); txt = (TextBox)e.Item.FindControl("SchoolTypeTxt"); i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } //-- ctl = (DropDownList)e.Item.FindControl("SchoolName"); txt = (TextBox)e.Item.FindControl("SchoolNameTxt"); i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } ctl = (DropDownList)e.Item.FindControl("SDistrict"); txt = (TextBox)e.Item.FindControl("SDistrictTxt"); i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } ctl = (DropDownList)e.Item.FindControl("District"); txt = (TextBox)e.Item.FindControl("DistrictTxt"); i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } //-- var cr = CustomRegistrationFields.FetchObject(); if (cr.DDValues1 != "") { var ds = Codes.GetAlByTypeID(int.Parse(cr.DDValues1)); ctl = (DropDownList)e.Item.FindControl("Custom1DD"); txt = (TextBox)e.Item.FindControl("Custom1DDTXT"); ctl.Items.Clear(); ctl.Items.Add(new ListItem("[Select a Value]", "")); for (int j = 0; j < ds.Tables[0].Rows.Count; j++) { ctl.Items.Add(new ListItem(ds.Tables[0].Rows[j]["Code"].ToString())); } i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } } if (cr.DDValues2 != "") { var ds = Codes.GetAlByTypeID(int.Parse(cr.DDValues2)); ctl = (DropDownList)e.Item.FindControl("Custom2DD"); txt = (TextBox)e.Item.FindControl("Custom2DDTXT"); ctl.Items.Clear(); ctl.Items.Add(new ListItem("[Select a Value]", "")); for (int j = 0; j < ds.Tables[0].Rows.Count; j++) { ctl.Items.Add(new ListItem(ds.Tables[0].Rows[j]["Code"].ToString())); } i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } } if (cr.DDValues3 != "") { var ds = Codes.GetAlByTypeID(int.Parse(cr.DDValues3)); ctl = (DropDownList)e.Item.FindControl("Custom3DD"); txt = (TextBox)e.Item.FindControl("Custom3DDTXT"); ctl.Items.Clear(); ctl.Items.Add(new ListItem("[Select a Value]", "")); for (int j = 0; j < ds.Tables[0].Rows.Count; j++) { ctl.Items.Add(new ListItem(ds.Tables[0].Rows[j]["Code"].ToString())); } i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } } if (cr.DDValues4 != "") { var ds = Codes.GetAlByTypeID(int.Parse(cr.DDValues4)); ctl = (DropDownList)e.Item.FindControl("Custom4DD"); txt = (TextBox)e.Item.FindControl("Custom4DDTXT"); ctl.Items.Clear(); ctl.Items.Add(new ListItem("[Select a Value]", "")); for (int j = 0; j < ds.Tables[0].Rows.Count; j++) { ctl.Items.Add(new ListItem(ds.Tables[0].Rows[j]["Code"].ToString())); } i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } } if (cr.DDValues5 != "") { var ds = Codes.GetAlByTypeID(int.Parse(cr.DDValues5)); ctl = (DropDownList)e.Item.FindControl("Custom5DD"); txt = (TextBox)e.Item.FindControl("Custom5DDTXT"); ctl.Items.Clear(); ctl.Items.Add(new ListItem("[Select a Value]", "")); for (int j = 0; j < ds.Tables[0].Rows.Count; j++) { ctl.Items.Add(new ListItem(ds.Tables[0].Rows[j]["Code"].ToString())); } i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } } }
public static void TestResponse(string url, string fileName, string body = null, string method = Methods.Get, Codes expectedCode = Codes.Succeeded, string acceptHeader = null) { if (body != null && (method == Methods.Get || method == Methods.Delete)) { //Add the arguments as a url-encoded query string string args = HttpUtility.UrlEncode(body); url += "?" + args; } var httpRequest = (HttpWebRequest)WebRequest.Create(url); httpRequest.KeepAlive = false; httpRequest.Method = method; httpRequest.ContentType = @"application/json"; if (acceptHeader != null) { httpRequest.Accept = acceptHeader; } if (body != null && method != Methods.Get) { httpRequest.ContentLength = body.Length; using (var sw = new StreamWriter(httpRequest.GetRequestStream())) { using (var jr = new JsonTextWriter(sw)) { jr.WriteRaw(body); } } } else { httpRequest.ContentLength = 0; } if (expectedCode == Codes.Succeeded || expectedCode == Codes.SucceededNewRepresentation) { ErrorNotExpected(httpRequest, fileName); } else if (expectedCode == Codes.SucceededValidation) { ErrorNotExpectedNoContent(httpRequest); } else { ErrorExpected(httpRequest, (int)expectedCode); } }
/// <summary> /// Konstruktor bez parametara. /// </summary> public Reader() { Code = Codes.CODE_DIGITAL; }
protected override void OnVisibleChanged(EventArgs e) { textBox1.Text = Codes.GetAllCodes(FFTPatch); base.OnVisibleChanged(e); }
public LexerException(Codes errorCode, ErrorSeverity severity, params object[] paramsValue) : base(_resourceManager, (int)errorCode, severity, null, paramsValue) { }
protected void rptr_ItemDataBound(object sender, RepeaterItemEventArgs e) { var patron = e.Item.DataItem as DataRowView; var ctl = (DropDownList)e.Item.FindControl("Gender"); var txt = (TextBox)e.Item.FindControl("GenderTxt"); var i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } ctl = (DropDownList)e.Item.FindControl("PrimaryLibrary"); txt = (TextBox)e.Item.FindControl("PrimaryLibraryTxt"); i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } ctl = (DropDownList)e.Item.FindControl("SchoolType"); txt = (TextBox)e.Item.FindControl("SchoolTypeTxt"); i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } //-- ctl = (DropDownList)e.Item.FindControl("SchoolName"); txt = (TextBox)e.Item.FindControl("SchoolNameTxt"); i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } ctl = (DropDownList)e.Item.FindControl("SDistrict"); txt = (TextBox)e.Item.FindControl("SDistrictTxt"); i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } ctl = (DropDownList)e.Item.FindControl("District"); txt = (TextBox)e.Item.FindControl("DistrictTxt"); i = ctl.Items.FindByValue(txt.Text); if (i != null) { ctl.SelectedValue = txt.Text; } //-- var familyListButton = e.Item.FindControl("FamilyAccountList"); var familyAddbutton = e.Item.FindControl("FamilyAccountAdd"); var showFamilyList = Session[SessionKey.IsMasterAccount] as bool? == true; if (familyListButton != null) { familyListButton.Visible = showFamilyList; } if (familyAddbutton != null) { if (patron != null && patron["Over18Flag"] as bool? == true && patron["MasterAcctPID"] as int? == 0) { familyAddbutton.Visible = !showFamilyList; } else { familyAddbutton.Visible = false; } } var registrationHelper = new RegistrationHelper(); if (!string.IsNullOrEmpty(this.CustomFields.DDValues1)) { var codes = Codes.GetAlByTypeID(int.Parse(this.CustomFields.DDValues1)); registrationHelper.BindCustomDDL(e, codes, "Custom1DD", "Custom1DDTXT"); } if (!string.IsNullOrEmpty(this.CustomFields.DDValues2)) { var codes = Codes.GetAlByTypeID(int.Parse(this.CustomFields.DDValues2)); registrationHelper.BindCustomDDL(e, codes, "Custom2DD", "Custom2DDTXT"); } if (!string.IsNullOrEmpty(this.CustomFields.DDValues3)) { var codes = Codes.GetAlByTypeID(int.Parse(this.CustomFields.DDValues3)); registrationHelper.BindCustomDDL(e, codes, "Custom3DD", "Custom3DDTXT"); } if (!string.IsNullOrEmpty(this.CustomFields.DDValues4)) { var codes = Codes.GetAlByTypeID(int.Parse(this.CustomFields.DDValues4)); registrationHelper.BindCustomDDL(e, codes, "Custom4DD", "Custom4DDTXT"); } if (!string.IsNullOrEmpty(this.CustomFields.DDValues5)) { var codes = Codes.GetAlByTypeID(int.Parse(this.CustomFields.DDValues5)); registrationHelper.BindCustomDDL(e, codes, "Custom5DD", "Custom5DDTXT"); } var rewardPanel = e.Item.FindControl("ProgramRewardCodeDisplay") as Panel; var rewardLabel = e.Item.FindControl("ProgramRewardCodes") as Label; var rewardCodesData = DAL.ProgramCodes.GetAllForPatron((int)patron["PID"]); if (rewardCodesData != null && rewardCodesData.Tables.Count > 0 && rewardCodesData.Tables[0].Rows.Count > 0) { var codes = rewardCodesData.Tables[0] .AsEnumerable() .Select(r => r.Field <string>("ShortCode")) .ToArray(); rewardLabel.Text = string.Join("<br>", codes); rewardPanel.Visible = true; } else { rewardLabel.Text = string.Empty; rewardPanel.Visible = false; } var program = DAL.Programs.FetchObject((int)patron["ProgID"]); if (program.HideSchoolInRegistration) { e.Item.FindControl("SDistrictPanel").Visible = false; e.Item.FindControl("SchoolTypePanel").Visible = false; e.Item.FindControl("SchoolNamePanel").Visible = false; } }
public BaseException(Codes errorCode, params object[] paramsValue) : base(_resourceManager, (int)errorCode, ErrorSeverity.Application, null, paramsValue) { }
private void OnConnectionChanged(Codes code, Exception error, string text) { try { Message message; if (error == null) { switch (code) { case Codes.DllConnected: case Codes.QuikConnected: try { bool isAlive; try { isAlive = IsConnectionAlive(); } catch { isAlive = false; } GetTerminal().AssignProcess(); message = new ConnectMessage { Error = isAlive ? null : new ApiException(code, LocalizedStrings.Str1837) }; } catch (Exception ex) { message = new ConnectMessage { Error = ex }; } break; case Codes.DllDisconnected: message = new DisconnectMessage(); break; case Codes.QuikDisconnected: message = new ConnectMessage { Error = new ApiException(code, text) }; break; default: message = new ConnectMessage { Error = new InvalidOperationException(LocalizedStrings.Str1838Params.Put(code)) }; break; } } else { message = new ConnectMessage { Error = error }; } SendOutMessage(message); } catch (Exception ex) { SendOutError(ex); } }
protected void Object(string oid, string fileName, string body = null, string method = Methods.Get, Codes code = Codes.Succeeded, string acceptHeader = null) { if (fileName != null) { fileName = FilePrefix + fileName; } Helpers.TestResponse(objectsUrl + oid, fileName, body, method, code, acceptHeader); }
private void OnTransactionReply(uint transactionId, Codes replyCode, Codes extendedCode, OrderStatus status, long orderId, string message) { this.AddDebugLog("Order: transId {0} replyCode {1} extendedCode {2} status {3} orderId {4} message {5}", transactionId, replyCode, extendedCode, status, orderId, message); if (!IsAsyncMode) { return; } try { var builder = _transactions.TryGetValue(transactionId); if (builder == null) { throw new InvalidOperationException(LocalizedStrings.Str1839Params.Put(transactionId)); } if (builder.TransactionType == TransactionTypes.CancelGroup) { if (replyCode != Codes.Success || status != OrderStatus.Accepted) { SendOutError(new ApiException(replyCode, message)); } return; } if (builder.TransactionType == TransactionTypes.Register && extendedCode == Codes.Success && orderId == 0) { extendedCode = Codes.Failed; } var isCancelFailed = builder.TransactionType == TransactionTypes.Cancel && status != OrderStatus.Accepted; if (isCancelFailed) { extendedCode = Codes.Failed; } ApiException exception = null; if (extendedCode != Codes.Success) { exception = new ApiException(extendedCode, message); } var orderMessage = builder.Message.ToExecutionMessage(); orderMessage.SystemComment = message; if (!isCancelFailed) { orderMessage.OrderStatus = status; } ProcessTransactionReply(orderMessage, builder, orderId, message, replyCode, exception); } catch (Exception ex) { SendOutError(ex); } }
public Languages CodeToLanguage(Codes code) { return (Languages)Convert.ToInt32(code); }
private void ProcessTransactionReply(ExecutionMessage orderMessage, Transaction builder, long orderId, string message, Codes replyCode, Exception exception) { switch (builder.TransactionType) { case TransactionTypes.Register: if (exception != null || orderId == 0) { if (exception == null) { exception = new ApiException(replyCode, message); } SendOrderError(orderMessage, exception); } else { TrySendFokOrder(orderMessage, orderId, message); } break; case TransactionTypes.ReRegister: if (exception == null) { orderId = GetReplacedOrderId(orderMessage.OriginalTransactionId, message, out exception); if (orderId == 0) { if (exception == null) { exception = new ApiException(replyCode, message); } SendReplaceOrderError((OrderReplaceMessage)builder.Message, exception); } else { TrySendFokOrder(orderMessage, orderId, message); } } else { SendReplaceOrderError((OrderReplaceMessage)builder.Message, exception); } break; case TransactionTypes.Cancel: if (exception != null) { SendOrderError(orderMessage, exception); } break; default: throw new NotSupportedException(LocalizedStrings.Str1840Params.Put(builder.TransactionType)); } }
private void OnTransactionReply(uint transactionId, Codes replyCode, Codes extendedCode, OrderStatus status, long orderId, string message) { this.AddDebugLog("Order: transId {0} replyCode {1} extendedCode {2} status {3} orderId {4} message {5}", transactionId, replyCode, extendedCode, status, orderId, message); if (!IsAsyncMode) return; try { var builder = _transactions.TryGetValue(transactionId); if (builder == null) throw new InvalidOperationException(LocalizedStrings.Str1839Params.Put(transactionId)); if (builder.TransactionType == TransactionTypes.CancelGroup) { if (replyCode != Codes.Success || status != OrderStatus.Accepted) SendOutError(new ApiException(replyCode, message)); return; } if (builder.TransactionType == TransactionTypes.Register && extendedCode == Codes.Success && orderId == 0) extendedCode = Codes.Failed; var isCancelFailed = builder.TransactionType == TransactionTypes.Cancel && status != OrderStatus.Accepted; if (isCancelFailed) extendedCode = Codes.Failed; ApiException exception = null; if (extendedCode != Codes.Success) exception = new ApiException(extendedCode, message); var orderMessage = builder.Message.ToExecutionMessage(); orderMessage.SystemComment = message; if (!isCancelFailed) orderMessage.OrderStatus = status; ProcessTransactionReply(orderMessage, builder, orderId, message, replyCode, exception); } catch (Exception ex) { SendOutError(ex); } }
internal ApiException(Codes code, string message) : base(LocalizedStrings.Str1701Params.Put(code, message)) { Code = code; }
public BOPException(Codes errorCode, ErrorSeverity severity, Exception innerException) : base(_resourceManager, (int)errorCode, severity, innerException, null) { }
public async Task <int> EmergencyContext <T>(Codes param) => (int)(await client.ExecuteAsync <T>(new RestRequest(string.Concat(security.CoreAPI, param.GetType().Name, "/", param.Code), Method.PUT).AddJsonBody(param, security.ContentType), source.Token)).StatusCode;
public IActionResult CreateMulti([Bind("CountryId,NetworkId,R,Values")] Codes codes) { if (ModelState.IsValid) { ushort _addedCodes = 0; // TODO: преобразовать выражение для сравнения коллекций ?? foreach (var code in codes.Values) { var codeInDb = _context.Codes.Where(c => c.R == codes.R && c.Value == code).FirstOrDefault(); if (codeInDb == null) { #region Reduce codes if (codes.R.Length >= 2) { if (codes.Values.Count() == 1) { if (codes.R.Remove(codes.R.Length - 1).Length > 0) { string _zone = codes.R; string _code = code; Dictionary <string, string> _keyValuePairs = new Dictionary <string, string>(); while (_zone.Remove(_zone.Length - 1).Length > 0) { _code = $"{_zone[_zone.Length - 1]}{_code.Remove(_code.Length - 1)}"; _keyValuePairs.Add(_zone.Remove(_zone.Length - 1), _code); _zone = _zone.Remove(_zone.Length - 1); } // retreive root code Code _rootCode = null; foreach (var item in _keyValuePairs) { _rootCode = _context.Codes.Where(c => c.R == item.Key && c.Value == item.Value).FirstOrDefault(); } if (_rootCode != null) { int _networkId = 0; // expand _rootCode string t = $"{codes.R}{code}".Remove(0, $"{_rootCode.R}{_rootCode.Value}".Length); for (int i = 0; i <= 9; i++) { // codes painting if (i.ToString()[0] != t[0]) { _networkId = _rootCode.NetworkId; } else { _networkId = codes.NetworkId; } _context.Codes.Add(new Code() { CountryId = codes.CountryId, NetworkId = _networkId, R = $"{_rootCode.R}{_rootCode.Value[0]}", Value = $"{_rootCode.Value[1]}{_rootCode.Value[2]}{i}" }); } // add new code _context.Codes.Add(new Code() { CountryId = codes.CountryId, NetworkId = codes.NetworkId, R = codes.R, Value = code }); // delete _rootCode if (_context.Codes.Remove(_rootCode) != null) { ++_addedCodes; break; } } } var _inLineDBCodes = _context.Codes.Where(c => c.NetworkId == codes.NetworkId && c.R == codes.R && c.Value.StartsWith(code.Remove(code.Length - 1))); if (_inLineDBCodes.Count() == 9) { string _parentCode = codes.R[codes.R.Length - 1] + code.Remove(code.Length - 1); _context.Codes.Add(new Code() { CountryId = codes.CountryId, NetworkId = codes.NetworkId, R = codes.R.Remove(codes.R.Length - 1), Value = _parentCode }); ++_addedCodes; _context.Codes.RemoveRange(_inLineDBCodes); break; // TODO: triger table update } } else if (codes.Values.Count() == 10) { string _parentCode = codes.R[codes.R.Length - 1] + code.Remove(code.Length - 1); _context.Codes.Add(new Code() { CountryId = codes.CountryId, NetworkId = codes.NetworkId, R = codes.R.Remove(codes.R.Length - 1), Value = _parentCode }); ++_addedCodes; break; } } #endregion _context.Codes.Add(new Code() { CountryId = codes.CountryId, NetworkId = codes.NetworkId, R = codes.R, Value = code }); ++_addedCodes; } else { if (codeInDb.NetworkId == codes.NetworkId) { continue; } codeInDb.NetworkId = codes.NetworkId; _context.Entry(codeInDb).State = EntityState.Modified; ++_addedCodes; } } if (_addedCodes == 0) { return(new StatusCodeResult(StatusCodes.Status400BadRequest)); } _context.SaveChanges(); return(new StatusCodeResult(StatusCodes.Status200OK)); } return(new StatusCodeResult(StatusCodes.Status400BadRequest)); }
//public string ToDisplayString() //{ // return "汉字:" + word + (string.IsNullOrEmpty(WubiCode) ? ";编码:" + CollectionHelper.ListToString(CollectionHelper.Descartes(Codes)) : "五笔:" + WubiCode) + ";词频:" + // rank; //} public override string ToString() { var codesList = Codes.ToCodeString(","); return("WordLibrary 汉字:" + word + " Codes:" + string.Join(";", codesList.ToArray()) + " 词频:" + rank); }
public static async Task <List <NatureAreaType> > Load(string connectionString, Codes codes) { const string natureAreaTypeCodeSql = @"SELECT nat.geometry_id AS NatureAreaId, nat.code AS Code, nat.fraction AS Percentage FROM data.codes_geometry nat WHERE nat.code LIKE 'NA-%' and nat.code not LIKE 'NA-BS%' and nat.code not LIKE 'NA-LKM%' GROUP BY nat.geometry_id, nat.code, nat.fraction"; IEnumerable <NatureAreaTypeDto> dtos = null; using (var conn = new NpgsqlConnection(connectionString)) { conn.Open(); dtos = await conn.QueryAsync <NatureAreaTypeDto>(natureAreaTypeCodeSql); } var dict = new Dictionary <string, NatureAreaType>(); var natureAreaPercentages = new Dictionary <(int, string), NatureAreaPercentage>(); foreach (var dto in dtos) { if (!codes.Contains(dto.Code)) { continue; } if (!dict.TryGetValue(dto.Code, out var natureAreaType)) { natureAreaType = new NatureAreaType(dto.Code, codes.GetCode(dto.Code).Name); dict.Add(dto.Code, natureAreaType); } var key = (dto.NatureAreaId, dto.Code); if (natureAreaPercentages.TryGetValue(key, out var natureArea)) { double newPercentage = natureArea.Percentage + (dto.Percentage / 10); if (newPercentage > 1) { Console.WriteLine($"{key.Code} {key.NatureAreaId} exceeds 1 as percentage."); } else { natureArea.Percentage = newPercentage; } } else { var natureAreaPercentage = new NatureAreaPercentage { NatureAreaId = dto.NatureAreaId, Percentage = dto.Percentage / 10 }; natureAreaType.NatureAreas.Add(natureAreaPercentage); natureAreaPercentages.Add(key, natureAreaPercentage); } } return(dict.Values.ToList()); }
public string FileUpload(DomFile obj) { string Result = ""; try { if (!string.IsNullOrEmpty(obj.Department_Code) && !string.IsNullOrEmpty(obj.Agent_Code) && !string.IsNullOrEmpty(obj.Policy_No) && !string.IsNullOrEmpty(obj.FileName)) { //string zipPath = @"E:\AIA\test1.zip"; byte[] FileBytes = Convert.FromBase64String(obj.Filedata); //System.IO.File.ReadAllBytes(zipPath); // string Path = ConfigurationManager.AppSettings["DocumentUploadPath"]; //@"E:\AIA\uploaddocsmobility"; bool IsfolderExist = CheckImageExist(obj.Department_Code); if (IsfolderExist == false) { var directoryInfo1 = new DirectoryInfo(Path); directoryInfo1.CreateSubdirectory(obj.Department_Code); } Path = Path + "//" + obj.Department_Code; IsfolderExist = CheckImageExist(obj.Department_Code + "//" + obj.Agent_Code); if (IsfolderExist == false) { var directoryInfo1 = new DirectoryInfo(Path); directoryInfo1.CreateSubdirectory(obj.Agent_Code); } Path = Path + "//" + obj.Agent_Code; IsfolderExist = CheckImageExist(obj.Department_Code + "//" + obj.Agent_Code + "//" + obj.Policy_No); if (IsfolderExist == false) { var directoryInfo1 = new DirectoryInfo(Path); directoryInfo1.CreateSubdirectory(obj.Policy_No); } Path = Path + "//" + obj.Policy_No; string zipPath1 = ConfigurationManager.AppSettings["DocumentUploadZipPath"]; Random rnd = new Random(); obj.FileName = rnd.Next(1, 9999) + obj.FileName; bool isExist = System.IO.File.Exists(zipPath1 + obj.FileName); FileStream fs = new FileStream(zipPath1 + obj.FileName, FileMode.Append); if (FileBytes.Count() > 0) { fs.Write(FileBytes, 0, FileBytes.Length); } fs.Close(); ZipFile fileToExtract = ZipFile.Read(zipPath1 + obj.FileName); fileToExtract.ExtractAll(Path, ExtractExistingFileAction.DoNotOverwrite); Result = Path; } else { Result = "Kindly provide Department code, Agent Code, Document Name and policy number to proceed..!"; } } catch (Exception ex) { log4net.GlobalContext.Properties["ErrorCode"] = Codes.GetErrorCode(); Logger.Error(ex); Result = "Failure"; } return(Result); }
public LexerException(Codes errorCode, Exception innerException) : base(_resourceManager, (int)errorCode, ErrorSeverity.Application, innerException, null) { }
public EngineOilCodeManager(VMDBContext dbContext, Codes selectedCodeType) : base(dbContext, selectedCodeType) { }
public LexerException(Codes errorCode, ErrorSeverity severity) : base(_resourceManager, (int)errorCode, severity, null, null) { }
internal BringInInformation(Codes cm) { this.cm = cm; Days = new Queue <Catalog.Strategics.Charts>(); }
protected void TestActionInvoke(string actionName, string body = null, string method = Methods.Get, Codes expectedErrorCode = Codes.Succeeded, string acceptHeader = null) { Helpers.TestResponse(BaseUrl + actionName + @"/invoke", FilePrefix + actionName, body, method, expectedErrorCode, acceptHeader); }
public SpellburstRuntimeError Run() { var mode = ReadMode.WaitIMP; var IMP = new SpellburstIMP(); var Command = new SpellburstCommand(); var Number = new SpellburstNumber(); var Label = new SpellburstLabel(); var ProgramCounter = 0; var RoutineMaxDepth = 31; var RoutineNowDepth = 0; var LabelTemp = 0; Action reset = () => { IMP.Reset(); Command.Reset(); Number.Reset(); Label.Reset(); mode = ReadMode.WaitIMP; }; while (Codes.Count != 0) { if (ProgramCounter >= Codes.Count) { break; } var first = Codes[ProgramCounter]; switch (mode) { case ReadMode.WaitIMP: IMP.AddIMP(first); if (IMP.IsEqualTo("S")) { mode = ReadMode.WaitCommand; } if (IMP.IsEqualTo("N")) { mode = ReadMode.WaitCommand; } if (IMP.IsEqualTo("TS")) { mode = ReadMode.WaitCommand; } if (IMP.IsEqualTo("TN")) { mode = ReadMode.WaitCommand; } if (IMP.IsEqualTo("TT")) { mode = ReadMode.WaitCommand; } break; case ReadMode.WaitCommand: Command.AddCommand(first); //楽なのを先に処理 if (IMP.IsEqualTo("TT")) { //スタックの値をアドレスに格納 if (Command.IsEqualTo("S")) { if (CheckStackEmpty()) { return(new SpellburstRuntimeError(ErrorType.StackIsEmpty)); } Heap = IntegerStack.Peek(); reset(); } //アドレスの値をスタックに積む if (Command.IsEqualTo("T")) { IntegerStack.Push(Heap); reset(); } } //ここから本題 //スタック操作 if (IMP.IsEqualTo("S")) { //数値をスタックにプッシュ(ReadMode.InputIntegerの方で処理は行う) if (Command.IsEqualTo("S")) { mode = ReadMode.InputInteger; } //スタックトップを複製 if (Command.IsEqualTo("NS")) { IntegerStack.Push(IntegerStack.Peek()); reset(); } //スタックの1番目と2番目を交換 if (Command.IsEqualTo("NT")) { var e1 = IntegerStack.Pop(); var e2 = IntegerStack.Pop(); IntegerStack.Push(e1); IntegerStack.Push(e2); reset(); } //スタックトップを破棄 if (Command.IsEqualTo("NN")) { IntegerStack.Pop(); reset(); } } //四則演算+余 if (IMP.IsEqualTo("TS")) { //加減乗除余 if (Command.IsEqualTo("SS")) { Calc((e1, e2) => e1 + e2); reset(); } if (Command.IsEqualTo("ST")) { Calc((e1, e2) => e1 - e2); reset(); } if (Command.IsEqualTo("SN")) { Calc((e1, e2) => e1 * e2); reset(); } if (Command.IsEqualTo("TS")) { Calc((e1, e2) => e1 / e2); reset(); } if (Command.IsEqualTo("TT")) { Calc((e1, e2) => e1 % e2); reset(); } } //ラベル if (IMP.IsEqualTo("N")) { //ラベル定義 if (Command.IsEqualTo("SS")) { mode = ReadMode.InputLabel; LabelTemp = ProgramCounter; } //サブルーチン呼び出し if (Command.IsEqualTo("ST")) { //階層チェック if (++RoutineNowDepth > RoutineMaxDepth) { return(new SpellburstRuntimeError(ErrorType.SubRoutineLevelTooDeep)); } mode = ReadMode.InputLabel; LabelTemp = ProgramCounter; } //無条件ジャンプ if (Command.IsEqualTo("SN")) { mode = ReadMode.InputLabel; LabelTemp = ProgramCounter; } //スタックトップがゼロならジャンプ if (Command.IsEqualTo("TS")) { mode = ReadMode.InputLabel; LabelTemp = ProgramCounter; } //スタックトップが負ならジャンプ if (Command.IsEqualTo("TT")) { mode = ReadMode.InputLabel; LabelTemp = ProgramCounter; } //サブルーチン終了 if (Command.IsEqualTo("TN")) { //階層チェック if (--RoutineNowDepth < 0) { return(new SpellburstRuntimeError(ErrorType.ReturnInNonSubroutine)); } ProgramCounter = CallFrom.Pop(); reset(); } //プログラム終了 if (Command.IsEqualTo("NN")) { mode = ReadMode.Finish; } } //入出力 if (IMP.IsEqualTo("TN")) { //スタックトップの文字を出力 if (Command.IsEqualTo("SS")) { var e = IntegerStack.Peek(); Console.Write(Convert.ToChar(e)); reset(); } //スタックトップの数値を出力 if (Command.IsEqualTo("ST")) { var e = IntegerStack.Peek(); Console.Write(e); reset(); } //文字を読み込みアドレスに格納 if (Command.IsEqualTo("TS")) { Heap = Console.Read(); reset(); } //数値を読み込みアドレスに格納 if (Command.IsEqualTo("TN")) { Heap = int.Parse(Console.ReadLine()); reset(); } } break; case ReadMode.InputInteger: if (first.Equals(SpellCode.NewLine)) { //スタックに数値をpushする(preprocessなのでしない) IntegerStack.Push(Number.Result); reset(); } Number.AddNumber(first); break; case ReadMode.InputLabel: if (first.Equals(SpellCode.NewLine)) { //ラベル定義 if (Command.IsEqualTo("SS")) { //何もしない } //サブルーチン呼び出し if (Command.IsEqualTo("ST")) { var row = LabelDict[Label.Result] - 1; CallFrom.Push(ProgramCounter); ProgramCounter = row; } //無条件ジャンプ if (Command.IsEqualTo("SN")) { ProgramCounter = LabelDict[Label.Result] - 1; } //ゼロならジャンプ if (Command.IsEqualTo("TS")) { if (IntegerStack.Peek() == 0) { ProgramCounter = LabelDict[Label.Result] - 1; } } //負ならジャンプ if (Command.IsEqualTo("TT")) { if (IntegerStack.Peek() < 0) { ProgramCounter = LabelDict[Label.Result] - 1; } } reset(); } Label.Add(first); break; case ReadMode.Finish: Codes.Clear(); break; } ProgramCounter++; } return(new SpellburstRuntimeError(ErrorType.Success)); }
// Default constructor public BaseException(Codes errorCode) : base(_resourceManager, (int)errorCode, ErrorSeverity.Application, null, null) { }
protected void WithValue(string propertyName, string fileName, string body = null, string method = Methods.Get, Codes code = Codes.Succeeded, string acceptHeaders = null) { string withValueProperties = method == Methods.Get ? withValuePropertiesGet : withValuePropertiesSet; Helpers.TestResponse(withValueProperties + propertyName, FilePrefix + fileName, body, method, code, acceptHeaders); }
public BaseException(Codes errorCode, ErrorSeverity severity, Exception innerException) : base(_resourceManager, (int)errorCode, severity, innerException, null) { }
public DropDownList GetMadahForFasl(int EmpID, int SafID,int FaslID, DropDownList dlist) { OleDbCommand com = new OleDbCommand("SELECT DISTINCT gadwal_alhasas.mawad_no FROM gadwal_alhasas WHERE CODE=@CODE and alsofof_code=@alsofof_code and fasl_code=@fasl_code", MySchool.GadwalConnection); com.Parameters.AddWithValue("@CODE", EmpID); com.Parameters.AddWithValue("@alsofof_code", SafID); com.Parameters.AddWithValue("@fasl_code", FaslID); com.Connection.Open(); OleDbDataReader DR = com.ExecuteReader(); Codes cd = new Codes(); ListItem li; dlist.Items.Clear(); dlist.Items.Add(new ListItem ( "ÇÎÊÑ ÇáãÇÏÉ.............","0")); while (DR.Read()) { string s = cd.SubjectName(Convert.ToInt32(DR["mawad_no"])); li = new ListItem(s, DR["mawad_no"].ToString()); dlist.Items.Add(li); } com.Connection.Close(); return dlist; }
static GeoConvertHelper() { //---------- masivshi kodebi sheesabameba: abcdefghijklmnopqrstuvwxyzWRTSCJZ[];",.` ---------------------------------------- var _eng_ = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var _standart_ = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 216, 223, 196, 210, 212, 218, 214, 201, 207, 208, 91, 93, 192, 211, 195, 215, 194, 228, 227, 202, 203, 59, 39, 198, 225, 221, 197, 193, 205, 204, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 224, 69, 217, 200, 89, 85, 73, 79, 80, 123, 125, 65, 219, 68, 70, 71, 72, 209, 75, 76, 58, 34, 222, 88, 220, 86, 66, 78, 77, 60, 62, 63, }; var _utf8_ = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 4325, 4332, 4308, 4320, 4322, 4327, 4323, 4312, 4317, 4318, 91, 93, 4304, 4321, 4307, 4324, 4306, 4336, 4335, 4313, 4314, 59, 39, 4310, 4334, 4330, 4309, 4305, 4316, 4315, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 4333, 69, 4326, 4311, 89, 85, 73, 79, 80, 123, 125, 65, 4328, 68, 70, 71, 72, 4319, 75, 76, 58, 34, 4331, 88, 4329, 86, 66, 78, 77, 60, 62, 63, }; var _utf8_UpperCase_ = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 4277, 4284, 4260, 4272, 4274, 4279, 4275, 4264, 4269, 4270, 91, 93, 4256, 4273, 4259, 4276, 4258, 4288, 4287, 4265, 4266, 59, 39, 4262, 4286, 4282, 4261, 4257, 4268, 4267, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 4285, 69, 4278, 4263, 89, 85, 73, 79, 80, 123, 125, 65, 4280, 68, 70, 71, 72, 4271, 75, 76, 58, 34, 4283, 88, 4281, 86, 66, 78, 77, 60, 62, 63, }; var Manuchari = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var racxa = new int[] { 42, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var GeoFinder = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var RGEO = new int[] { 8222, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 8211, 61, 92, 252, 246, 228, 240, 242, 247, 243, 232, 237, 238, 255, 253, 224, 241, 227, 244, 226, 248, 239, 233, 234, 251, 245, 230, 254, 250, 229, 225, 236, 235, 249, 231, 188, 8222, 33, 167, 189, 36, 37, 94, 38, 42, 40, 41, 8212, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 58, 76, 59, 8220, 90, 88, 67, 86, 66, 78, 77, 44, 46, 63, }; var utf = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var UTFnoLat = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 4325, 4332, 4308, 4320, 4322, 4327, 4323, 4312, 4317, 4318, 91, 93, 4304, 4321, 4307, 4324, 4306, 4336, 4335, 4313, 4314, 59, 8217, 4310, 4334, 4330, 4309, 4305, 4316, 4315, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 4325, 4333, 4308, 4326, 4311, 4337, 4338, 4339, 4340, 4341, 123, 125, 4304, 4328, 4307, 4324, 4306, 4336, 4319, 4313, 4314, 58, 8221, 4331, 4334, 4329, 4309, 4305, 4316, 4315, 60, 62, 63, }; var RUSGANLAGEBA = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var AcadNusx = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var erti = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var Rusuli = new int[] { 1100, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 1095, 1097, 1077, 1088, 1090, 1081, 1091, 1080, 1086, 1087, 1099, 1098, 1072, 1089, 1076, 1092, 1075, 1096, 1078, 1082, 1083, 1102, 1101, 1079, 1093, 1094, 1074, 1073, 1085, 1084, 1103, 46, 44, 34, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 1063, 1065, 1045, 1056, 1058, 1049, 1059, 1048, 1054, 1055, 1067, 1066, 1040, 1057, 1044, 1060, 1043, 1064, 1046, 1050, 1051, 1070, 1069, 1047, 1061, 1062, 1042, 1041, 1053, 1052, 1071, 1105, 63, }; var aaa = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 8217, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 8221, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var ENGRUS = new int[] { 1105, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 1081, 1094, 1091, 1082, 1077, 1085, 1075, 1096, 1097, 1079, 1093, 1098, 1092, 1099, 1074, 1072, 1087, 1088, 1086, 1083, 1076, 1078, 1101, 1103, 1095, 1089, 1084, 1080, 1090, 1100, 1073, 1102, 46, 1025, 33, 34, 8470, 59, 37, 58, 63, 42, 40, 41, 95, 43, 47, 1049, 1062, 1059, 1050, 1045, 1053, 1043, 1064, 1065, 1047, 1061, 1066, 1060, 1067, 1042, 1040, 1055, 1056, 1054, 1051, 1044, 1046, 1069, 1071, 1063, 1057, 1052, 1048, 1058, 1068, 1041, 1070, 44, }; var geo = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var AXTEL = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 229, 236, 164, 224, 226, 231, 227, 168, 173, 174, 91, 93, 160, 225, 163, 228, 162, 240, 239, 169, 170, 59, 39, 166, 238, 234, 165, 161, 172, 171, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 237, 69, 230, 167, 89, 85, 73, 79, 80, 123, 125, 65, 232, 68, 70, 71, 72, 175, 75, 76, 58, 34, 235, 88, 233, 86, 66, 78, 77, 60, 62, 63, }; var Antiqua = new int[] { 184, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 233, 246, 243, 234, 229, 237, 227, 248, 249, 231, 245, 250, 244, 251, 226, 224, 239, 240, 238, 235, 228, 230, 253, 255, 247, 241, 236, 232, 242, 252, 225, 254, 47, 168, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 201, 214, 211, 202, 197, 205, 195, 216, 217, 199, 213, 218, 212, 219, 194, 192, 207, 208, 206, 203, 196, 198, 221, 223, 215, 209, 204, 200, 210, 220, 193, 222, 63, }; var LSI = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 92, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 124, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var UniToMtavr = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 4277, 4284, 4260, 4272, 4274, 4279, 4275, 4264, 4269, 4270, 91, 93, 4256, 4273, 4259, 4276, 4258, 4288, 4287, 4265, 4266, 59, 39, 4262, 4286, 4282, 4261, 4257, 4268, 4267, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 4277, 4285, 69, 4278, 4263, 89, 85, 73, 79, 80, 123, 125, 65, 4280, 68, 70, 71, 72, 4271, 75, 76, 58, 34, 4283, 88, 4281, 86, 66, 78, 77, 60, 62, 63, }; var ENGTHAI = new int[] { 95, 3653, 47, 45, 3616, 3606, 3640, 3638, 3588, 3605, 3592, 3586, 3594, 3587, 3654, 3652, 3635, 3614, 3632, 3633, 3637, 3619, 3609, 3618, 3610, 3621, 3615, 3627, 3585, 3604, 3648, 3657, 3656, 3634, 3626, 3623, 3591, 3612, 3611, 3649, 3629, 3636, 3639, 3607, 3617, 3651, 3613, 37, 43, 3665, 3666, 3667, 3668, 3641, 3647, 3669, 3670, 3671, 3672, 3673, 3589, 3664, 34, 3598, 3601, 3608, 3661, 3658, 3603, 3631, 3597, 3600, 44, 3620, 3590, 3599, 3650, 3596, 3655, 3659, 3625, 3624, 3595, 46, 40, 41, 3593, 3630, 3642, 3660, 63, 3602, 3628, 3622, }; var kolkheti = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 225, 249, 229, 238, 252, 241, 243, 242, 235, 240, 91, 93, 239, 236, 230, 244, 227, 1105, 246, 234, 228, 59, 39, 231, 245, 250, 226, 254, 237, 232, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 193, 217, 197, 206, 220, 209, 211, 210, 203, 208, 123, 125, 207, 204, 198, 212, 195, 1025, 214, 202, 196, 58, 34, 199, 213, 218, 194, 222, 205, 200, 60, 62, 63, }; var odiSi = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var password = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var hhh = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var ichveulebrivi = new int[] { 109, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 109, 111, 116, 104, 110, 46, 101, 98, 106, 103, 91, 93, 102, 99, 108, 97, 117, 63, 93, 114, 107, 57, 39, 112, 123, 119, 100, 44, 121, 118, 55, 56, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 122, 69, 82, 115, 89, 85, 73, 79, 80, 123, 125, 65, 105, 68, 70, 71, 72, 59, 75, 76, 53, 34, 38, 88, 120, 86, 66, 78, 77, 60, 62, 63, }; var sylfaen = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 1025, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 1049, 1062, 1059, 1050, 1045, 1053, 1043, 1064, 1065, 1047, 1061, 1066, 1060, 1067, 1042, 1040, 1055, 1056, 1054, 1051, 1044, 1046, 1069, 1071, 1063, 1057, 1052, 1048, 1058, 1068, 1041, 1070, 46, }; var ravi = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var giorgi = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var ibw = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 176, 187, 8212, 170, 172, 178, 173, 339, 164, 165, 91, 93, 8249, 171, 8211, 175, 8226, 191, 190, 376, 161, 59, 39, 353, 189, 181, 732, 338, 163, 162, 44, 46, 47, 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 81, 188, 69, 177, 8250, 89, 85, 73, 79, 80, 91, 93, 65, 179, 68, 70, 71, 72, 166, 75, 76, 59, 8217, 186, 88, 180, 86, 66, 78, 77, 44, 46, 63, }; var MinusKolkheti = new int[] { 1105, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 1081, 1094, 1091, 1082, 1077, 1085, 1075, 1096, 1097, 1079, 1093, 1098, 1092, 1099, 1074, 1072, 1087, 1088, 1086, 1083, 1076, 1078, 1101, 92, 1103, 1095, 1089, 1084, 1080, 1090, 1100, 1073, 1102, 46, 1025, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 1049, 1062, 1059, 1050, 1045, 1053, 1043, 1064, 1065, 1047, 1061, 1066, 1060, 1067, 1042, 1040, 1055, 1056, 1054, 1051, 1044, 1046, 1069, 92, 1071, 1063, 1057, 1052, 1048, 1058, 1068, 1041, 1070, 46, }; var test = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var ORIS = new int[] { 39, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 216, 223, 196, 210, 212, 218, 214, 201, 207, 208, 91, 93, 192, 211, 195, 215, 194, 228, 227, 202, 203, 59, 96, 198, 225, 221, 197, 193, 205, 204, 44, 46, 47, 32, 224, 32, 217, 200, 199, 206, 213, 226, 229, 123, 125, 32, 219, 32, 32, 32, 32, 209, 32, 32, 58, 34, 222, 32, 220, 91, 93, 167, 185, 60, 62, 63, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, }; var orrris = new int[] { 39, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 216, 223, 196, 210, 212, 218, 214, 201, 207, 208, 91, 93, 192, 211, 195, 215, 194, 228, 227, 202, 203, 59, 96, 198, 225, 221, 197, 193, 205, 204, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 224, 69, 217, 200, 199, 206, 213, 226, 229, 123, 125, 65, 219, 68, 70, 71, 72, 209, 75, 76, 58, 34, 222, 88, 220, 91, 93, 167, 185, 60, 62, 63, }; var GeoTimes = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 216, 223, 196, 210, 212, 218, 214, 201, 207, 208, 91, 93, 192, 211, 195, 215, 194, 228, 227, 202, 203, 59, 8217, 198, 225, 221, 197, 193, 205, 204, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 216, 224, 199, 217, 200, 218, 213, 206, 229, 167, 123, 125, 192, 219, 195, 215, 194, 199, 209, 202, 166, 58, 8221, 222, 226, 220, 197, 193, 78, 204, 60, 62, 63, }; var ChveuNusx = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var Ventura = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var dato = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var eng = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var li = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 213, 220, 196, 208, 210, 121, 211, 200, 205, 112, 91, 93, 192, 209, 195, 212, 194, 104, 223, 201, 202, 59, 39, 198, 222, 218, 197, 193, 204, 203, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 199, 89, 85, 73, 79, 80, 123, 125, 65, 216, 68, 70, 71, 72, 74, 75, 76, 58, 34, 219, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var zzzKolkhety = new int[] { 33, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 46, 44, 59, 1081, 1094, 1091, 1082, 1077, 1085, 1075, 1096, 1097, 1079, 1093, 1098, 1092, 1099, 1074, 1072, 1087, 1088, 1086, 1083, 1076, 1078, 1101, 1103, 1095, 1089, 1084, 1080, 1090, 1100, 1073, 1102, 1105, 40, 63, 45, 8222, 8220, 37, 58, 171, 8470, 187, 42, 8212, 47, 1049, 1062, 1059, 1050, 1045, 1053, 1043, 1064, 1065, 1047, 1061, 1066, 1060, 1067, 1042, 1040, 1055, 1056, 1054, 1051, 1044, 1046, 1069, 41, 1071, 1063, 1057, 1052, 1048, 1058, 1068, 1041, 1070, 63, }; var Orisrus = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 1064, 1071, 1044, 1058, 1060, 1066, 1062, 1049, 1055, 1056, 91, 93, 1040, 1059, 1043, 1063, 1042, 1076, 1075, 1050, 1051, 59, 96, 1046, 1073, 1069, 1045, 1041, 1053, 1052, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 32, 1072, 32, 1065, 1048, 1047, 1054, 1061, 1074, 1077, 123, 125, 32, 1067, 32, 32, 32, 32, 1057, 32, 32, 58, 34, 1070, 32, 1068, 91, 93, 167, 8470, 60, 62, 63, }; var LUT = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 1092, 1099, 1076, 1087, 1089, 1094, 1090, 1079, 1084, 1085, 91, 93, 1072, 1088, 1075, 1091, 1074, 1103, 1102, 1080, 1081, 59, 39, 1105, 1101, 1097, 1077, 1073, 1083, 1082, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 1100, 69, 1093, 1078, 89, 85, 73, 79, 80, 123, 125, 65, 1095, 68, 70, 71, 72, 1086, 75, 76, 58, 34, 1098, 88, 1096, 86, 66, 78, 77, 60, 62, 63, }; var GeorgianSPLat = new int[] { 8222, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 216, 223, 196, 210, 212, 218, 214, 201, 207, 208, 91, 93, 192, 211, 195, 215, 194, 228, 227, 202, 203, 59, 39, 198, 225, 221, 197, 193, 205, 204, 44, 46, 47, 8220, 33, 64, 185, 167, 37, 94, 38, 42, 40, 41, 95, 43, 124, 32, 224, 32, 217, 200, 32, 32, 206, 32, 32, 123, 125, 32, 219, 32, 32, 32, 32, 209, 32, 32, 58, 34, 222, 226, 220, 213, 32, 78, 32, 60, 62, 63, }; var sacdeli = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var dacomutf = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var sylifaen = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var Kolkhi = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 8217, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 8221, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var georgian = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var literaturulyAV = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 109, 111, 116, 104, 110, 46, 101, 98, 106, 103, 91, 93, 102, 99, 108, 97, 117, 47, 93, 114, 107, 59, 39, 112, 91, 119, 100, 44, 121, 118, 44, 42, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 122, 87, 69, 113, 115, 89, 85, 73, 79, 80, 123, 125, 65, 105, 68, 70, 71, 72, 59, 75, 76, 58, 34, 39, 88, 120, 86, 66, 78, 77, 60, 62, 63, }; var literaturulyAVMTAVR = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 46, 57, 48, 45, 61, 92, 77, 79, 84, 72, 78, 62, 69, 66, 74, 71, 91, 93, 70, 67, 76, 65, 85, 63, 125, 82, 75, 59, 39, 80, 123, 87, 68, 60, 89, 86, 44, 56, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 42, 90, 42, 81, 83, 42, 42, 42, 42, 42, 123, 125, 42, 73, 42, 71, 42, 58, 65, 42, 42, 42, 42, 34, 42, 88, 42, 42, 42, 42, 42, 42, 63, }; var LitNusx = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var Gaugebari = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 1061, 1068, 1044, 1056, 1058, 1063, 1059, 1048, 1053, 1054, 91, 93, 1040, 1057, 1043, 1060, 1042, 1101, 1071, 1049, 1050, 59, 39, 1046, 1070, 1066, 1045, 1041, 1052, 1051, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 113, 1069, 69, 1062, 1047, 89, 85, 73, 79, 80, 123, 125, 65, 1064, 68, 70, 71, 72, 1055, 75, 76, 58, 34, 1067, 88, 1065, 86, 66, 78, 77, 60, 62, 63, }; var GeoArial = new int[] { 92, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 126, 216, 223, 196, 210, 212, 218, 214, 201, 207, 208, 91, 93, 192, 211, 195, 215, 194, 228, 227, 202, 203, 59, 96, 198, 225, 221, 197, 193, 205, 204, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 216, 224, 196, 217, 200, 199, 214, 213, 226, 229, 123, 125, 192, 219, 195, 215, 194, 228, 209, 202, 203, 58, 34, 222, 225, 220, 197, 193, 78, 204, 60, 62, 63, }; var Nagdi = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var tmptmp = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var FI = new int[] { 39, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 216, 223, 196, 210, 212, 218, 214, 201, 207, 208, 91, 93, 192, 211, 195, 215, 194, 228, 227, 202, 203, 59, 96, 198, 225, 221, 197, 193, 205, 204, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 32, 224, 32, 217, 200, 199, 206, 213, 226, 229, 123, 125, 32, 219, 32, 32, 32, 32, 209, 32, 32, 58, 34, 222, 32, 220, 91, 93, 167, 185, 60, 62, 63, }; var KolkhetiTeleType = new int[] { 63, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 43, 43, 44, 111, 116, 106, 109, 99, 101, 110, 107, 104, 43, 43, 103, 118, 59, 97, 117, 47, 119, 114, 108, 92, 129, 112, 91, 93, 100, 46, 121, 98, 61, 38, 95, 63, 96, 164, 63, 167, 37, 63, 63, 41, 126, 124, 64, 177, 166, 60, 122, 84, 113, 102, 67, 69, 78, 75, 72, 79, 85, 71, 105, 58, 65, 85, 63, 39, 82, 76, 94, 36, 115, 91, 120, 68, 62, 89, 66, 65, 63, 33, }; var azaazaza = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var lat = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var ANusxuri = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var fuchlugi = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var IPTVGeoOld = new int[] { 32, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 32, 33, 64, 35, 36, 37, 32, 38, 42, 40, 41, 32, 43, 32, 81, 94, 69, 125, 123, 89, 85, 73, 79, 80, 32, 32, 65, 126, 68, 70, 71, 72, 124, 75, 76, 58, 34, 95, 88, 96, 86, 66, 78, 77, 60, 62, 63, }; var IPTVGeo = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 112, 119, 95, 107, 109, 114, 110, 99, 104, 105, 125, 126, 91, 108, 94, 111, 93, 123, 122, 100, 101, 59, 39, 97, 121, 117, 96, 92, 103, 102, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 120, 69, 113, 98, 89, 85, 73, 79, 80, 123, 125, 65, 115, 68, 70, 71, 72, 106, 75, 76, 58, 34, 118, 88, 116, 86, 66, 78, 77, 60, 62, 63, }; var Hejsannn = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 187, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; var sylfaenG = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 91, 93, 65, 83, 68, 70, 71, 72, 74, 75, 76, 59, 39, 90, 88, 67, 86, 66, 78, 77, 44, 46, 47, }; var Dumbadze = new int[] { 96, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 92, 113, 119, 101, 114, 116, 121, 117, 105, 111, 112, 91, 93, 97, 115, 100, 102, 103, 104, 106, 107, 108, 59, 39, 122, 120, 99, 118, 98, 110, 109, 44, 46, 47, 126, 33, 64, 35, 36, 37, 94, 38, 42, 40, 41, 95, 43, 124, 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 123, 125, 65, 83, 68, 70, 71, 72, 74, 75, 76, 58, 34, 90, 88, 67, 86, 66, 78, 77, 60, 62, 63, }; Codes.Add("_eng_", _eng_); Codes.Add("_standart_", _standart_); Codes.Add("_utf8_", _utf8_); Codes.Add("_utf8_UpperCase_", _utf8_UpperCase_); Codes.Add("Manuchari", Manuchari); Codes.Add("racxa", racxa); Codes.Add("GeoFinder", GeoFinder); Codes.Add("RGEO", RGEO); Codes.Add("utf", utf); Codes.Add("UTFnoLat", UTFnoLat); Codes.Add("RUSGANLAGEBA", RUSGANLAGEBA); Codes.Add("AcadNusx", AcadNusx); Codes.Add("erti", erti); Codes.Add("Rusuli", Rusuli); Codes.Add("aaa", aaa); Codes.Add("ENGRUS", ENGRUS); Codes.Add("geo", geo); Codes.Add("AXTEL", AXTEL); Codes.Add("Antiqua", Antiqua); Codes.Add("LSI", LSI); Codes.Add("UniToMtavr", UniToMtavr); Codes.Add("ENGTHAI", ENGTHAI); Codes.Add("kolkheti", kolkheti); Codes.Add("odiSi", odiSi); Codes.Add("password", password); Codes.Add("hhh", hhh); Codes.Add("ichveulebrivi", ichveulebrivi); Codes.Add("sylfaen", sylfaen); Codes.Add("ravi", ravi); Codes.Add("giorgi", giorgi); Codes.Add("ibw", ibw); Codes.Add("MinusKolkheti", MinusKolkheti); Codes.Add("test", test); Codes.Add("ORIS", ORIS); Codes.Add("orrris", orrris); Codes.Add("GeoTimes", GeoTimes); Codes.Add("ChveuNusx", ChveuNusx); Codes.Add("Ventura", Ventura); Codes.Add("dato", dato); Codes.Add("eng", eng); Codes.Add("li", li); Codes.Add("zzzKolkhety", zzzKolkhety); Codes.Add("Orisrus", Orisrus); Codes.Add("LUT", LUT); Codes.Add("GeorgianSPLat", GeorgianSPLat); Codes.Add("sacdeli", sacdeli); Codes.Add("dacomutf", dacomutf); Codes.Add("sylifaen", sylifaen); Codes.Add("Kolkhi", Kolkhi); Codes.Add("georgian", georgian); Codes.Add("literaturulyAV", literaturulyAV); Codes.Add("literaturulyAVMTAVR", literaturulyAVMTAVR); Codes.Add("LitNusx", LitNusx); Codes.Add("Gaugebari", Gaugebari); Codes.Add("GeoArial", GeoArial); Codes.Add("Nagdi", Nagdi); Codes.Add("tmptmp", tmptmp); Codes.Add("FI", FI); Codes.Add("KolkhetiTeleType", KolkhetiTeleType); Codes.Add("azaazaza", azaazaza); Codes.Add("lat", lat); Codes.Add("ANusxuri", ANusxuri); Codes.Add("fuchlugi", fuchlugi); Codes.Add("IPTVGeoOld", IPTVGeoOld); Codes.Add("IPTVGeo", IPTVGeo); Codes.Add("Hejsannn", Hejsannn); Codes.Add("sylfaenG", sylfaenG); Codes.Add("Dumbadze", Dumbadze); var ganlageba_1_2 = new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 43, 22, 18, 31, 42, 45, 16, 41, 32, 30, 24, 25, 29, 39, 34, 26, 20, 0, 25, 17, 33, 35, 36, 23, 24, 15, 28, 44, 19, 40, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93 }; var ganlageba_2_1 = new int[] { 0, 31, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 39, 20, 33, 16, 42, 30, 21, 15, 37, 38, 32, 29, 27, 40, 26, 23, 17, 22, 34, 28, 35, 36, 37, 38, 27, 43, 21, 18, 14, 41, 19, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93 }; Direction.Add("Eng->Rus", ganlageba_1_2); Direction.Add("Rus->Eng", ganlageba_2_1); }
public CompilerException(Parse.Statement statement, Codes errorCode, ErrorSeverity severity, Exception innerException, params object[] paramsValue) : base(_resourceManager, (int)errorCode, severity, innerException, paramsValue) { SetStatement(statement); }
protected void WithCollection(string propertyName, string fileName, string body = null, string method = Methods.Get, Codes code = Codes.Succeeded) { Helpers.TestResponse(withCollectionProperties + propertyName, FilePrefix + fileName, body, method, code); }
public static async Task <List <DescriptionVariable> > Load(string connectionString, Codes descriptionVariableCodes) { Console.WriteLine("Loading DescriptionVariables"); const string descriptionVariableSql = @"SELECT bv.code AS DvCode, nomt.code AS NatCode, bv.geometry_id AS NatureAreaId, nomt.fraction AS NatureAreaPercentage FROM data.codes_geometry bv, data.codes_geometry nomt WHERE bv.geometry_id = nomt.geometry_id and bv.code like 'NA-BS%' and nomt.code like 'NA-%' and nomt.code NOT like 'NA-BS%' and nomt.code NOT like 'NA-LKM%' GROUP BY bv.code, nomt.code, bv.geometry_id, nomt.fraction"; IEnumerable <DescriptionVariableDto> descriptionVariableDtos; using (var conn = new NpgsqlConnection(connectionString)) { conn.Open(); descriptionVariableDtos = await conn.QueryAsync <DescriptionVariableDto>(descriptionVariableSql); } var dict = new Dictionary <string, DescriptionVariable>(); var natureAreas = new Dictionary <(string, int, string), NatureAreaIdTypePercentage>(); foreach (var dto in descriptionVariableDtos) { var codes = dto.DvCode.Split(',', StringSplitOptions.RemoveEmptyEntries); //dto.DvCode = dto.DvCode.Remove(0,3); foreach (var code in codes) { if (!descriptionVariableCodes.Contains(dto.DvCode.ToUpper())) { // Ignored code as it doesn't exist in the code file. continue; } if (!dict.TryGetValue(dto.DvCode, out var descriptionVariable)) { descriptionVariable = new DescriptionVariable(dto.DvCode, descriptionVariableCodes.GetCode(dto.DvCode).Name); dict.Add(dto.DvCode, descriptionVariable); } var key = (dto.DvCode, dto.NatureAreaId, dto.NatCode); // descriptionVariable.NatureAreas.FirstOrDefault(na => na.NatureAreaId == dto.NatureAreaId && na.NatureAreaTypeCode == dto.NatCode); if (natureAreas.TryGetValue(key, out var natureArea)) { double newPercentage = natureArea.NatureAreaPercentage + (dto.NatureAreaPercentage / 10); if (newPercentage > 1) { Console.WriteLine($"{key.DvCode} {key.NatCode} {key.NatureAreaId} exceeds 1 as percentage."); } else { natureArea.NatureAreaPercentage = newPercentage; } } else { natureArea = new NatureAreaIdTypePercentage { NatureAreaId = dto.NatureAreaId, NatureAreaTypeCode = dto.NatCode, NatureAreaPercentage = dto.NatureAreaPercentage / 10 }; descriptionVariable.NatureAreas.Add(natureArea); natureAreas.Add(key, natureArea); } } } Console.WriteLine("Finished loading DescriptionVariables"); return(dict.Values.ToList()); }
public DropDownList GetSafForEmp(int EmpID, DropDownList dlist) { OleDbCommand com = new OleDbCommand("SELECT DISTINCT gadwal_alhasas.alsofof_code FROM gadwal_alhasas WHERE (((gadwal_alhasas.CODE)=@CODE))", MySchool.GadwalConnection); com.Parameters.AddWithValue("@CODE", EmpID); com.Connection.Open(); OleDbDataReader DR = com.ExecuteReader(); Codes cd = new Codes(); ListItem li; dlist.Items.Clear(); dlist.Items.Add(new ListItem ("ÇÎÊÑ ÇáÕÝ.............","0")); while (DR.Read()) { string s= cd.StageName(Convert.ToInt32(DR["alsofof_code"])); li = new ListItem(s, DR["alsofof_code"].ToString()); dlist.Items.Add(li); } com.Connection.Close(); return dlist; }
public async Task UpdateContract_With_Two_Branch() { var blockHeader = await _blockchainService.GetBestChainLastBlockHeaderAsync(); var startBlockHeight = blockHeader.Height; var startBlockHash = blockHeader.GetHash(); var transactionResult = (await BasicContractZeroStub.UpdateSmartContract.SendAsync( new Acs0.ContractUpdateInput { Address = BasicFunctionContractAddress, Code = ByteString.CopyFrom(Codes.Single(kv => kv.Key.EndsWith("BasicUpdate")).Value) } )).TransactionResult; transactionResult.Status.ShouldBe(TransactionResultStatus.Mined); var basic11ContractStub = GetTestBasicUpdateContractStub(DefaultSenderKeyPair); // //execute new action method var transactionResult1 = (await basic11ContractStub.UpdateStopBet.SendAsync( new Empty())).TransactionResult; transactionResult1.Status.ShouldBe(TransactionResultStatus.Mined); var transaction = CreateTransaction(DefaultSender, BasicFunctionContractAddress, nameof(TestBasicFunctionContractStub.QueryWinMoney), new Empty().ToByteString(), startBlockHeight, startBlockHash); var block = await ExecuteAsync(transaction, startBlockHeight, startBlockHash); await _blockAttachService.AttachBlockAsync(block); transaction = CreateTransaction(DefaultSender, BasicFunctionContractAddress, nameof(TestBasicFunctionContractStub.QueryWinMoney), new Empty().ToByteString(), block.Height, block.GetHash()); block = await ExecuteAsync(transaction, block.Height, block.GetHash()); await _blockAttachService.AttachBlockAsync(block); var input = new Empty().ToByteString(); var failedTransaction = CreateTransaction(DefaultSender, BasicFunctionContractAddress, nameof(basic11ContractStub.UpdateStopBet), input, block.Height, block.GetHash()); block = await ExecuteAsync(failedTransaction, block.Height, block.GetHash()); await _blockAttachService.AttachBlockAsync(block); transactionResult = await _transactionResultManager.GetTransactionResultAsync(failedTransaction.GetHash(), block.Header.GetPreMiningHash()); transactionResult.Status.ShouldBe(TransactionResultStatus.Failed); transactionResult.Error.ShouldContain("Failed to find handler for UpdateStopBet."); input = new Acs0.ContractUpdateInput { Address = BasicFunctionContractAddress, Code = ByteString.CopyFrom(Codes.Single(kv => kv.Key.EndsWith("BasicFunction")).Value) }.ToByteString(); var updateTransaction = CreateTransaction(DefaultSender, ContractZeroAddress, nameof(BasicContractZeroStub.UpdateSmartContract), input, block.Height, block.GetHash()); var updateBlock = await ExecuteAsync(updateTransaction, block.Height, block.GetHash()); await _blockAttachService.AttachBlockAsync(updateBlock); // transactionResult = await _transactionResultManager.GetTransactionResultAsync(updateTransaction.GetHash(), updateBlock.Header.GetPreMiningHash()); transactionResult.Status.ShouldBe(TransactionResultStatus.Failed); transactionResult.Error.Contains("Code is not changed").ShouldBeTrue(); input = new Acs0.ContractUpdateInput { Address = BasicFunctionContractAddress, Code = ByteString.CopyFrom(Codes.Single(kv => kv.Key.EndsWith("BasicUpdate")).Value) }.ToByteString(); updateTransaction = CreateTransaction(DefaultSender, ContractZeroAddress, nameof(BasicContractZeroStub.UpdateSmartContract), input, updateBlock.Height, updateBlock.GetHash()); updateBlock = await ExecuteAsync(updateTransaction, updateBlock.Height, updateBlock.GetHash()); await _blockAttachService.AttachBlockAsync(updateBlock); transactionResult = await _transactionResultManager.GetTransactionResultAsync(updateTransaction.GetHash(), updateBlock.Header.GetPreMiningHash()); transactionResult.Status.ShouldBe(TransactionResultStatus.Mined); basic11ContractStub = GetTestBasicUpdateContractStub(DefaultSenderKeyPair); //execute new action method transactionResult = (await basic11ContractStub.UpdateStopBet.SendAsync( new Empty())).TransactionResult; transactionResult.Status.ShouldBe(TransactionResultStatus.Mined); //call new view method var result = (await basic11ContractStub.QueryBetStatus.CallAsync( new Empty())).BoolValue; result.ShouldBeTrue(); }
public string GetSubjectName( int Day, int Hesa) { string sub = string.Empty; Codes cd = new Codes(); OleDbCommand com = new OleDbCommand(" select alsofof_code ,fasl_code, mawad_no from gadwal_alhasas where CODE = @CODE and daycode = @daycode and hasa_code = @hasa_code", MySchool.GadwalConnection); com.Parameters.AddWithValue("@CODE", TheSessions.EmploeeID); com.Parameters.AddWithValue("@daycode", Day); com.Parameters.AddWithValue("@hasa_code", Hesa); com.Connection.Open(); OleDbDataReader Dr =com.ExecuteReader(); while (Dr.Read()) { sub = new Codes().StageName(Convert.ToInt32(Dr["alsofof_code"])); sub += "<br />" + new Codes().ClassName(Convert.ToInt32(Dr["fasl_code"])); sub += "<br />" + new Codes().SubjectName(Convert.ToInt32(Dr["mawad_no"])); } com.Connection.Close(); return sub; }
public async Task UpdateContract_With_Two_Different_Contract_Code() { var blockHeader = await _blockchainService.GetBestChainLastBlockHeaderAsync(); var startBlockHeight = blockHeader.Height; var startBlockHash = blockHeader.GetHash(); var basic11ContractStub = GetTestBasicUpdateContractStub(DefaultSenderKeyPair); //First branch { var transactionResult = (await BasicContractZeroStub.UpdateSmartContract.SendAsync( new Acs0.ContractUpdateInput { Address = BasicFunctionContractAddress, Code = ByteString.CopyFrom(Codes.Single(kv => kv.Key.EndsWith("BasicUpdate")).Value) } )).TransactionResult; transactionResult.Status.ShouldBe(TransactionResultStatus.Mined); transactionResult = (await basic11ContractStub.UpdateStopBet.SendAsync( new Empty())).TransactionResult; transactionResult.Status.ShouldBe(TransactionResultStatus.Mined); } //Second branch { var input = new Acs0.ContractUpdateInput { Address = BasicFunctionContractAddress, Code = ByteString.CopyFrom(Codes.Single(kv => kv.Key.EndsWith("BasicFunctionWithParallel")).Value) }.ToByteString(); var transaction = CreateTransaction(DefaultSender, ContractZeroAddress, nameof(BasicContractZeroStub.UpdateSmartContract), input, startBlockHeight, startBlockHash); var branchTwoBlock = await ExecuteAsync(transaction, startBlockHeight, startBlockHash); await _blockAttachService.AttachBlockAsync(branchTwoBlock); var basicFunctionContractStub = GetTestBasicFunctionContractStub(DefaultSenderKeyPair); await basicFunctionContractStub.QueryWinMoney.CallAsync(new Empty()); _smartContractExecutiveService.ClearContractInfoCache(100); var queryTwoUserWinMoneyInput = new QueryTwoUserWinMoneyInput { First = SampleAddress.AddressList[0], Second = SampleAddress.AddressList[1] }.ToByteString(); var queryTwoUserWinMoneyTransaction = CreateTransaction(DefaultSender, BasicFunctionContractAddress, "QueryTwoUserWinMoney", queryTwoUserWinMoneyInput, branchTwoBlock.Height, branchTwoBlock.GetHash()); branchTwoBlock = await ExecuteAsync(queryTwoUserWinMoneyTransaction, branchTwoBlock.Height, branchTwoBlock.GetHash()); await _blockAttachService.AttachBlockAsync(branchTwoBlock); var queryTwoUserWinMoneyTransactionResult = await _transactionResultManager.GetTransactionResultAsync(queryTwoUserWinMoneyTransaction.GetHash(), branchTwoBlock.Header.GetPreMiningHash()); queryTwoUserWinMoneyTransactionResult.Status.ShouldBe(TransactionResultStatus.Failed); queryTwoUserWinMoneyTransactionResult.Error.ShouldContain("Failed to find handler for QueryTwoUserWinMoney"); await _smartContractExecutiveService.InitContractInfoCacheAsync(); queryTwoUserWinMoneyInput = new QueryTwoUserWinMoneyInput { First = SampleAddress.AddressList[0], Second = SampleAddress.AddressList[1] }.ToByteString(); queryTwoUserWinMoneyTransaction = CreateTransaction(DefaultSender, BasicFunctionContractAddress, "QueryTwoUserWinMoney", queryTwoUserWinMoneyInput, branchTwoBlock.Height, branchTwoBlock.GetHash()); branchTwoBlock = await ExecuteAsync(queryTwoUserWinMoneyTransaction, branchTwoBlock.Height, branchTwoBlock.GetHash()); await _blockAttachService.AttachBlockAsync(branchTwoBlock); queryTwoUserWinMoneyTransactionResult = await _transactionResultManager.GetTransactionResultAsync(queryTwoUserWinMoneyTransaction .GetHash(), branchTwoBlock.Header.GetPreMiningHash()); queryTwoUserWinMoneyTransactionResult.Status.ShouldBe(TransactionResultStatus.Mined); } //Third branch { var updateStopBetTransaction = CreateTransaction(DefaultSender, BasicFunctionContractAddress, nameof(basic11ContractStub.UpdateStopBet), new Empty().ToByteString(), startBlockHeight, startBlockHash); var branchThreeBlock = await ExecuteAsync(updateStopBetTransaction, startBlockHeight, startBlockHash); await _blockAttachService.AttachBlockAsync(branchThreeBlock); var updateStopBetTransactionResult = await _transactionResultManager.GetTransactionResultAsync(updateStopBetTransaction.GetHash(), branchThreeBlock.Header.GetPreMiningHash()); updateStopBetTransactionResult.Status.ShouldBe(TransactionResultStatus.Failed); updateStopBetTransactionResult.Error.ShouldContain("Failed to find handler for UpdateStopBet."); var queryTwoUserWinMoneyInput = new QueryTwoUserWinMoneyInput { First = SampleAddress.AddressList[0], Second = SampleAddress.AddressList[1] }.ToByteString(); var queryTwoUserWinMoneyTransaction = CreateTransaction(DefaultSender, BasicFunctionContractAddress, "QueryTwoUserWinMoney", queryTwoUserWinMoneyInput, branchThreeBlock.Height, branchThreeBlock.GetHash()); branchThreeBlock = await ExecuteAsync(queryTwoUserWinMoneyTransaction, branchThreeBlock.Height, branchThreeBlock.GetHash()); await _blockAttachService.AttachBlockAsync(branchThreeBlock); var queryTwoUserWinMoneyTransactionResult = await _transactionResultManager.GetTransactionResultAsync(queryTwoUserWinMoneyTransaction.GetHash(), branchThreeBlock.Header.GetPreMiningHash()); queryTwoUserWinMoneyTransactionResult.Status.ShouldBe(TransactionResultStatus.Failed); queryTwoUserWinMoneyTransactionResult.Error.ShouldContain("Failed to find handler for QueryTwoUserWinMoney."); } }
protected void Collection(string collectionName, string fileName, string body = null, string method = Methods.Get, Codes code = Codes.Succeeded, string acceptHeader = null) { Helpers.TestResponse(Collections + collectionName, FilePrefix + fileName, body, method, code, acceptHeader); }
public async Task DeployContract_With_Two_Branch() { var blockHeader = await _blockchainService.GetBestChainLastBlockHeaderAsync(); var startBlockHeight = blockHeader.Height; var startBlockHash = blockHeader.GetHash(); Address contractAddress; //branch one { var t = (await BasicContractZeroStub.DeploySmartContract.SendAsync( new Acs0.ContractDeploymentInput { Code = ByteString.CopyFrom(Codes.Single(kv => kv.Key.EndsWith("BasicFunctionWithParallel")).Value), Category = KernelConstants.CodeCoverageRunnerCategory } )); var transactionResult = t.TransactionResult; transactionResult.Status.ShouldBe(TransactionResultStatus.Mined); contractAddress = Address.Parser.ParseFrom(transactionResult.ReturnValue); blockHeader = await _blockchainService.GetBestChainLastBlockHeaderAsync(); var queryTwoUserWinMoneyInput = new QueryTwoUserWinMoneyInput { First = SampleAddress.AddressList[0], Second = SampleAddress.AddressList[1] }.ToByteString(); var queryTwoUserWinMoneyTransaction = CreateTransaction(DefaultSender, contractAddress, "QueryTwoUserWinMoney", queryTwoUserWinMoneyInput, blockHeader.Height, blockHeader.GetHash()); var branchOneBlock = await ExecuteAsync(queryTwoUserWinMoneyTransaction, blockHeader.Height, blockHeader.GetHash()); await _blockAttachService.AttachBlockAsync(branchOneBlock); var queryTwoUserWinMoneyTransactionResult = await _transactionResultManager.GetTransactionResultAsync(queryTwoUserWinMoneyTransaction .GetHash(), branchOneBlock.Header.GetHash()); queryTwoUserWinMoneyTransactionResult.Status.ShouldBe(TransactionResultStatus.Mined); } //branch two { var transaction = CreateTransaction(DefaultSender, BasicFunctionContractAddress, nameof(TestBasicFunctionContractStub.QueryWinMoney), new Empty().ToByteString(), startBlockHeight, startBlockHash); var branchTwoBlock = await ExecuteAsync(transaction, startBlockHeight, startBlockHash); await _blockAttachService.AttachBlockAsync(branchTwoBlock); transaction = CreateTransaction(DefaultSender, BasicFunctionContractAddress, nameof(TestBasicFunctionContractStub.QueryWinMoney), new Empty().ToByteString(), branchTwoBlock.Height, branchTwoBlock.GetHash()); branchTwoBlock = await ExecuteAsync(transaction, branchTwoBlock.Height, branchTwoBlock.GetHash()); await _blockAttachService.AttachBlockAsync(branchTwoBlock); transaction = CreateTransaction(DefaultSender, BasicFunctionContractAddress, nameof(TestBasicFunctionContractStub.QueryWinMoney), new Empty().ToByteString(), branchTwoBlock.Height, branchTwoBlock.GetHash()); branchTwoBlock = await ExecuteAsync(transaction, branchTwoBlock.Height, branchTwoBlock.GetHash()); await _blockAttachService.AttachBlockAsync(branchTwoBlock); var queryTwoUserWinMoneyInput = new QueryTwoUserWinMoneyInput { First = SampleAddress.AddressList[0], Second = SampleAddress.AddressList[1] }.ToByteString(); var queryTwoUserWinMoneyTransaction = CreateTransaction(DefaultSender, contractAddress, "QueryTwoUserWinMoney", queryTwoUserWinMoneyInput, branchTwoBlock.Height, branchTwoBlock.GetHash()); branchTwoBlock = await ExecuteAsync(queryTwoUserWinMoneyTransaction, branchTwoBlock.Height, branchTwoBlock.GetHash()); await _blockAttachService.AttachBlockAsync(branchTwoBlock); var queryTwoUserWinMoneyTransactionResult = await _transactionResultManager.GetTransactionResultAsync(queryTwoUserWinMoneyTransaction.GetHash(), branchTwoBlock.Header.GetPreMiningHash()); queryTwoUserWinMoneyTransactionResult.Status.ShouldBe(TransactionResultStatus.Failed); queryTwoUserWinMoneyTransactionResult.Error.ShouldContain("Invalid contract address"); } }
// Constructors public BOPException(Codes errorCode) : base(_resourceManager, (int)errorCode, ErrorSeverity.Application, null, null) { }
private void ProcessTransactionReply(ExecutionMessage orderMessage, Transaction builder, long orderId, string message, Codes replyCode, Exception exception) { switch (builder.TransactionType) { case TransactionTypes.Register: if (exception != null || orderId == 0) { if (exception == null) exception = new ApiException(replyCode, message); SendOrderError(orderMessage, exception); } else TrySendFokOrder(orderMessage, orderId, message); break; case TransactionTypes.ReRegister: if (exception == null) { orderId = GetReplacedOrderId(orderMessage.OriginalTransactionId, message, out exception); if (orderId == 0) { if (exception == null) exception = new ApiException(replyCode, message); SendReplaceOrderError((OrderReplaceMessage)builder.Message, exception); } else TrySendFokOrder(orderMessage, orderId, message); } else SendReplaceOrderError((OrderReplaceMessage)builder.Message, exception); break; case TransactionTypes.Cancel: if (exception != null) { SendOrderError(orderMessage, exception); } break; default: throw new NotSupportedException(LocalizedStrings.Str1840Params.Put(builder.TransactionType)); } }
public BOPException(Codes errorCode, params object[] paramsValue) : base(_resourceManager, (int)errorCode, ErrorSeverity.Application, null, paramsValue) { }