﻿//------------------------------------------------------------------------------
// <auto-generated>
//     Этот код создан программой.
//     Исполняемая версия:4.0.30319.42000
//
//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
//     повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------

namespace ConsoleApplication1.sr {
    using System.Runtime.Serialization;
    using System;
    
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="International", Namespace="http://www.w3.org/2005/09/ws-i18n")]
    [System.SerializableAttribute()]
    public partial class International : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string LocaleField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string TZField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Locale {
            get {
                return this.LocaleField;
            }
            set {
                if ((object.ReferenceEquals(this.LocaleField, value) != true)) {
                    this.LocaleField = value;
                    this.RaisePropertyChanged("Locale");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string TZ {
            get {
                return this.TZField;
            }
            set {
                if ((object.ReferenceEquals(this.TZField, value) != true)) {
                    this.TZField = value;
                    this.RaisePropertyChanged("TZ");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="EventsScheduleProxy", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Modules.DealModule.Integration" +
        "")]
    [System.SerializableAttribute()]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(string[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.DateTime[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(object[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(int[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
    public partial class EventsScheduleProxy : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>> EventTypePropertyField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string[] EventTypesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.DealEventProxy[] EventsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string FieldNameField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>> FieldPropertiesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string[] FieldsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, object> PropertiesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private object UsedForKnownTypeSerializationObjectField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>> EventTypeProperty {
            get {
                return this.EventTypePropertyField;
            }
            set {
                if ((object.ReferenceEquals(this.EventTypePropertyField, value) != true)) {
                    this.EventTypePropertyField = value;
                    this.RaisePropertyChanged("EventTypeProperty");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string[] EventTypes {
            get {
                return this.EventTypesField;
            }
            set {
                if ((object.ReferenceEquals(this.EventTypesField, value) != true)) {
                    this.EventTypesField = value;
                    this.RaisePropertyChanged("EventTypes");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.DealEventProxy[] Events {
            get {
                return this.EventsField;
            }
            set {
                if ((object.ReferenceEquals(this.EventsField, value) != true)) {
                    this.EventsField = value;
                    this.RaisePropertyChanged("Events");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string FieldName {
            get {
                return this.FieldNameField;
            }
            set {
                if ((object.ReferenceEquals(this.FieldNameField, value) != true)) {
                    this.FieldNameField = value;
                    this.RaisePropertyChanged("FieldName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>> FieldProperties {
            get {
                return this.FieldPropertiesField;
            }
            set {
                if ((object.ReferenceEquals(this.FieldPropertiesField, value) != true)) {
                    this.FieldPropertiesField = value;
                    this.RaisePropertyChanged("FieldProperties");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string[] Fields {
            get {
                return this.FieldsField;
            }
            set {
                if ((object.ReferenceEquals(this.FieldsField, value) != true)) {
                    this.FieldsField = value;
                    this.RaisePropertyChanged("Fields");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> Properties {
            get {
                return this.PropertiesField;
            }
            set {
                if ((object.ReferenceEquals(this.PropertiesField, value) != true)) {
                    this.PropertiesField = value;
                    this.RaisePropertyChanged("Properties");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public object UsedForKnownTypeSerializationObject {
            get {
                return this.UsedForKnownTypeSerializationObjectField;
            }
            set {
                if ((object.ReferenceEquals(this.UsedForKnownTypeSerializationObjectField, value) != true)) {
                    this.UsedForKnownTypeSerializationObjectField = value;
                    this.RaisePropertyChanged("UsedForKnownTypeSerializationObject");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="DealEventProxy", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Modules.DealModule.Integration" +
        "")]
    [System.SerializableAttribute()]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(string[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.DateTime[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(object[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(int[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
    public partial class DealEventProxy : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>> ActionPropertiesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string[] ActionsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, object> DisplayValueField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, object> DisplayValueEngField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.KeyValuePair<string, string>[] EvaluateMessagesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<System.DateTime> EventDateField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string EventTypeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, object[]> FieldPossibleValuesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>> FieldPropertiesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string[] FieldsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string IdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool IsActiveField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string NotificationValidateField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string[] ParametersField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, object> PropertiesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<System.DateTime> RegistrationDateField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>> SectionPropertiesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string[] SectionsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> StatusField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, object> StpContextField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private object UsedForKnownTypeSerializationObjectField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, string> ValueValidationField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, object> ValuesField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>> ActionProperties {
            get {
                return this.ActionPropertiesField;
            }
            set {
                if ((object.ReferenceEquals(this.ActionPropertiesField, value) != true)) {
                    this.ActionPropertiesField = value;
                    this.RaisePropertyChanged("ActionProperties");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string[] Actions {
            get {
                return this.ActionsField;
            }
            set {
                if ((object.ReferenceEquals(this.ActionsField, value) != true)) {
                    this.ActionsField = value;
                    this.RaisePropertyChanged("Actions");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> DisplayValue {
            get {
                return this.DisplayValueField;
            }
            set {
                if ((object.ReferenceEquals(this.DisplayValueField, value) != true)) {
                    this.DisplayValueField = value;
                    this.RaisePropertyChanged("DisplayValue");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> DisplayValueEng {
            get {
                return this.DisplayValueEngField;
            }
            set {
                if ((object.ReferenceEquals(this.DisplayValueEngField, value) != true)) {
                    this.DisplayValueEngField = value;
                    this.RaisePropertyChanged("DisplayValueEng");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.KeyValuePair<string, string>[] EvaluateMessages {
            get {
                return this.EvaluateMessagesField;
            }
            set {
                if ((object.ReferenceEquals(this.EvaluateMessagesField, value) != true)) {
                    this.EvaluateMessagesField = value;
                    this.RaisePropertyChanged("EvaluateMessages");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<System.DateTime> EventDate {
            get {
                return this.EventDateField;
            }
            set {
                if ((this.EventDateField.Equals(value) != true)) {
                    this.EventDateField = value;
                    this.RaisePropertyChanged("EventDate");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EventType {
            get {
                return this.EventTypeField;
            }
            set {
                if ((object.ReferenceEquals(this.EventTypeField, value) != true)) {
                    this.EventTypeField = value;
                    this.RaisePropertyChanged("EventType");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object[]> FieldPossibleValues {
            get {
                return this.FieldPossibleValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.FieldPossibleValuesField, value) != true)) {
                    this.FieldPossibleValuesField = value;
                    this.RaisePropertyChanged("FieldPossibleValues");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>> FieldProperties {
            get {
                return this.FieldPropertiesField;
            }
            set {
                if ((object.ReferenceEquals(this.FieldPropertiesField, value) != true)) {
                    this.FieldPropertiesField = value;
                    this.RaisePropertyChanged("FieldProperties");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string[] Fields {
            get {
                return this.FieldsField;
            }
            set {
                if ((object.ReferenceEquals(this.FieldsField, value) != true)) {
                    this.FieldsField = value;
                    this.RaisePropertyChanged("Fields");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Id {
            get {
                return this.IdField;
            }
            set {
                if ((object.ReferenceEquals(this.IdField, value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsActive {
            get {
                return this.IsActiveField;
            }
            set {
                if ((this.IsActiveField.Equals(value) != true)) {
                    this.IsActiveField = value;
                    this.RaisePropertyChanged("IsActive");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string NotificationValidate {
            get {
                return this.NotificationValidateField;
            }
            set {
                if ((object.ReferenceEquals(this.NotificationValidateField, value) != true)) {
                    this.NotificationValidateField = value;
                    this.RaisePropertyChanged("NotificationValidate");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string[] Parameters {
            get {
                return this.ParametersField;
            }
            set {
                if ((object.ReferenceEquals(this.ParametersField, value) != true)) {
                    this.ParametersField = value;
                    this.RaisePropertyChanged("Parameters");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> Properties {
            get {
                return this.PropertiesField;
            }
            set {
                if ((object.ReferenceEquals(this.PropertiesField, value) != true)) {
                    this.PropertiesField = value;
                    this.RaisePropertyChanged("Properties");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<System.DateTime> RegistrationDate {
            get {
                return this.RegistrationDateField;
            }
            set {
                if ((this.RegistrationDateField.Equals(value) != true)) {
                    this.RegistrationDateField = value;
                    this.RaisePropertyChanged("RegistrationDate");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>> SectionProperties {
            get {
                return this.SectionPropertiesField;
            }
            set {
                if ((object.ReferenceEquals(this.SectionPropertiesField, value) != true)) {
                    this.SectionPropertiesField = value;
                    this.RaisePropertyChanged("SectionProperties");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string[] Sections {
            get {
                return this.SectionsField;
            }
            set {
                if ((object.ReferenceEquals(this.SectionsField, value) != true)) {
                    this.SectionsField = value;
                    this.RaisePropertyChanged("Sections");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> Status {
            get {
                return this.StatusField;
            }
            set {
                if ((this.StatusField.Equals(value) != true)) {
                    this.StatusField = value;
                    this.RaisePropertyChanged("Status");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> StpContext {
            get {
                return this.StpContextField;
            }
            set {
                if ((object.ReferenceEquals(this.StpContextField, value) != true)) {
                    this.StpContextField = value;
                    this.RaisePropertyChanged("StpContext");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public object UsedForKnownTypeSerializationObject {
            get {
                return this.UsedForKnownTypeSerializationObjectField;
            }
            set {
                if ((object.ReferenceEquals(this.UsedForKnownTypeSerializationObjectField, value) != true)) {
                    this.UsedForKnownTypeSerializationObjectField = value;
                    this.RaisePropertyChanged("UsedForKnownTypeSerializationObject");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, string> ValueValidation {
            get {
                return this.ValueValidationField;
            }
            set {
                if ((object.ReferenceEquals(this.ValueValidationField, value) != true)) {
                    this.ValueValidationField = value;
                    this.RaisePropertyChanged("ValueValidation");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> Values {
            get {
                return this.ValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.ValuesField, value) != true)) {
                    this.ValuesField = value;
                    this.RaisePropertyChanged("Values");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="DealBase", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Modules.DealModule.Integration" +
        "")]
    [System.SerializableAttribute()]
    public partial class DealBase : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string CaptionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string DealGuidField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.KeyValuePair<string, string>[] EvaluateMessagesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.DealField[] FieldsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool IsManualEditField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool NeedRefreshFieldsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string[] StpActionsEnabledField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int TemplateIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<object, object> dynamicParamsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> nEventsField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Caption {
            get {
                return this.CaptionField;
            }
            set {
                if ((object.ReferenceEquals(this.CaptionField, value) != true)) {
                    this.CaptionField = value;
                    this.RaisePropertyChanged("Caption");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string DealGuid {
            get {
                return this.DealGuidField;
            }
            set {
                if ((object.ReferenceEquals(this.DealGuidField, value) != true)) {
                    this.DealGuidField = value;
                    this.RaisePropertyChanged("DealGuid");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.KeyValuePair<string, string>[] EvaluateMessages {
            get {
                return this.EvaluateMessagesField;
            }
            set {
                if ((object.ReferenceEquals(this.EvaluateMessagesField, value) != true)) {
                    this.EvaluateMessagesField = value;
                    this.RaisePropertyChanged("EvaluateMessages");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.DealField[] Fields {
            get {
                return this.FieldsField;
            }
            set {
                if ((object.ReferenceEquals(this.FieldsField, value) != true)) {
                    this.FieldsField = value;
                    this.RaisePropertyChanged("Fields");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsManualEdit {
            get {
                return this.IsManualEditField;
            }
            set {
                if ((this.IsManualEditField.Equals(value) != true)) {
                    this.IsManualEditField = value;
                    this.RaisePropertyChanged("IsManualEdit");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool NeedRefreshFields {
            get {
                return this.NeedRefreshFieldsField;
            }
            set {
                if ((this.NeedRefreshFieldsField.Equals(value) != true)) {
                    this.NeedRefreshFieldsField = value;
                    this.RaisePropertyChanged("NeedRefreshFields");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string[] StpActionsEnabled {
            get {
                return this.StpActionsEnabledField;
            }
            set {
                if ((object.ReferenceEquals(this.StpActionsEnabledField, value) != true)) {
                    this.StpActionsEnabledField = value;
                    this.RaisePropertyChanged("StpActionsEnabled");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int TemplateId {
            get {
                return this.TemplateIdField;
            }
            set {
                if ((this.TemplateIdField.Equals(value) != true)) {
                    this.TemplateIdField = value;
                    this.RaisePropertyChanged("TemplateId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<object, object> dynamicParams {
            get {
                return this.dynamicParamsField;
            }
            set {
                if ((object.ReferenceEquals(this.dynamicParamsField, value) != true)) {
                    this.dynamicParamsField = value;
                    this.RaisePropertyChanged("dynamicParams");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> nEvents {
            get {
                return this.nEventsField;
            }
            set {
                if ((this.nEventsField.Equals(value) != true)) {
                    this.nEventsField = value;
                    this.RaisePropertyChanged("nEvents");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="DealField", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Modules.DealModule.Integration" +
        "")]
    [System.SerializableAttribute()]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(string[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.DateTime[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(object[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(int[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
    public partial class DealField : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string DescriptionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string DescriptionEngField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool EnabledField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string ErrorTextField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, object> ExtraValuesField;
        
        private ConsoleApplication1.sr.enumFieldTypes FieldTypeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string FormatStringField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool IsManualEditedField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool IsSearchableField;
        
        private string NameField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private double QuotationField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string TextField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string TextEngField;
        
        private object ValueField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.IdName[] ValueItemsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string ValueTypeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool VisibleField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Description {
            get {
                return this.DescriptionField;
            }
            set {
                if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
                    this.DescriptionField = value;
                    this.RaisePropertyChanged("Description");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string DescriptionEng {
            get {
                return this.DescriptionEngField;
            }
            set {
                if ((object.ReferenceEquals(this.DescriptionEngField, value) != true)) {
                    this.DescriptionEngField = value;
                    this.RaisePropertyChanged("DescriptionEng");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Enabled {
            get {
                return this.EnabledField;
            }
            set {
                if ((this.EnabledField.Equals(value) != true)) {
                    this.EnabledField = value;
                    this.RaisePropertyChanged("Enabled");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ErrorText {
            get {
                return this.ErrorTextField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorTextField, value) != true)) {
                    this.ErrorTextField = value;
                    this.RaisePropertyChanged("ErrorText");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> ExtraValues {
            get {
                return this.ExtraValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.ExtraValuesField, value) != true)) {
                    this.ExtraValuesField = value;
                    this.RaisePropertyChanged("ExtraValues");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public ConsoleApplication1.sr.enumFieldTypes FieldType {
            get {
                return this.FieldTypeField;
            }
            set {
                if ((this.FieldTypeField.Equals(value) != true)) {
                    this.FieldTypeField = value;
                    this.RaisePropertyChanged("FieldType");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string FormatString {
            get {
                return this.FormatStringField;
            }
            set {
                if ((object.ReferenceEquals(this.FormatStringField, value) != true)) {
                    this.FormatStringField = value;
                    this.RaisePropertyChanged("FormatString");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsManualEdited {
            get {
                return this.IsManualEditedField;
            }
            set {
                if ((this.IsManualEditedField.Equals(value) != true)) {
                    this.IsManualEditedField = value;
                    this.RaisePropertyChanged("IsManualEdited");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsSearchable {
            get {
                return this.IsSearchableField;
            }
            set {
                if ((this.IsSearchableField.Equals(value) != true)) {
                    this.IsSearchableField = value;
                    this.RaisePropertyChanged("IsSearchable");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string Name {
            get {
                return this.NameField;
            }
            set {
                if ((object.ReferenceEquals(this.NameField, value) != true)) {
                    this.NameField = value;
                    this.RaisePropertyChanged("Name");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public double Quotation {
            get {
                return this.QuotationField;
            }
            set {
                if ((this.QuotationField.Equals(value) != true)) {
                    this.QuotationField = value;
                    this.RaisePropertyChanged("Quotation");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Text {
            get {
                return this.TextField;
            }
            set {
                if ((object.ReferenceEquals(this.TextField, value) != true)) {
                    this.TextField = value;
                    this.RaisePropertyChanged("Text");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string TextEng {
            get {
                return this.TextEngField;
            }
            set {
                if ((object.ReferenceEquals(this.TextEngField, value) != true)) {
                    this.TextEngField = value;
                    this.RaisePropertyChanged("TextEng");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public object Value {
            get {
                return this.ValueField;
            }
            set {
                if ((object.ReferenceEquals(this.ValueField, value) != true)) {
                    this.ValueField = value;
                    this.RaisePropertyChanged("Value");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.IdName[] ValueItems {
            get {
                return this.ValueItemsField;
            }
            set {
                if ((object.ReferenceEquals(this.ValueItemsField, value) != true)) {
                    this.ValueItemsField = value;
                    this.RaisePropertyChanged("ValueItems");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ValueType {
            get {
                return this.ValueTypeField;
            }
            set {
                if ((object.ReferenceEquals(this.ValueTypeField, value) != true)) {
                    this.ValueTypeField = value;
                    this.RaisePropertyChanged("ValueType");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Visible {
            get {
                return this.VisibleField;
            }
            set {
                if ((this.VisibleField.Equals(value) != true)) {
                    this.VisibleField = value;
                    this.RaisePropertyChanged("Visible");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="AddDealEventContract", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Modules.DealModule.Integration" +
        "")]
    [System.SerializableAttribute()]
    public partial class AddDealEventContract : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, object> FieldsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string SaveActionField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> Fields {
            get {
                return this.FieldsField;
            }
            set {
                if ((object.ReferenceEquals(this.FieldsField, value) != true)) {
                    this.FieldsField = value;
                    this.RaisePropertyChanged("Fields");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string SaveAction {
            get {
                return this.SaveActionField;
            }
            set {
                if ((object.ReferenceEquals(this.SaveActionField, value) != true)) {
                    this.SaveActionField = value;
                    this.RaisePropertyChanged("SaveAction");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ServiceDealOperation", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Modules.DealModule.Integration" +
        "")]
    [System.SerializableAttribute()]
    public partial class ServiceDealOperation : ConsoleApplication1.sr.ServiceOperationResult {
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.DealEventProxy EventField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.DealBase DealField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.DealEventProxy Event {
            get {
                return this.EventField;
            }
            set {
                if ((object.ReferenceEquals(this.EventField, value) != true)) {
                    this.EventField = value;
                    this.RaisePropertyChanged("Event");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=1)]
        public ConsoleApplication1.sr.DealBase Deal {
            get {
                return this.DealField;
            }
            set {
                if ((object.ReferenceEquals(this.DealField, value) != true)) {
                    this.DealField = value;
                    this.RaisePropertyChanged("Deal");
                }
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ServiceOperationResult", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Modules.DealModule.Integration" +
        "")]
    [System.SerializableAttribute()]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
    public partial class ServiceOperationResult : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool IsCompletedField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool ShowMessageBoxField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.InterActionParams actionParamsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.OperationErrorCode resultField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string DescriptionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string ErrorDumpField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsCompleted {
            get {
                return this.IsCompletedField;
            }
            set {
                if ((this.IsCompletedField.Equals(value) != true)) {
                    this.IsCompletedField = value;
                    this.RaisePropertyChanged("IsCompleted");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool ShowMessageBox {
            get {
                return this.ShowMessageBoxField;
            }
            set {
                if ((this.ShowMessageBoxField.Equals(value) != true)) {
                    this.ShowMessageBoxField = value;
                    this.RaisePropertyChanged("ShowMessageBox");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.InterActionParams actionParams {
            get {
                return this.actionParamsField;
            }
            set {
                if ((object.ReferenceEquals(this.actionParamsField, value) != true)) {
                    this.actionParamsField = value;
                    this.RaisePropertyChanged("actionParams");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.OperationErrorCode result {
            get {
                return this.resultField;
            }
            set {
                if ((this.resultField.Equals(value) != true)) {
                    this.resultField = value;
                    this.RaisePropertyChanged("result");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=4)]
        public string Description {
            get {
                return this.DescriptionField;
            }
            set {
                if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
                    this.DescriptionField = value;
                    this.RaisePropertyChanged("Description");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(Order=5)]
        public string ErrorDump {
            get {
                return this.ErrorDumpField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorDumpField, value) != true)) {
                    this.ErrorDumpField = value;
                    this.RaisePropertyChanged("ErrorDump");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ServiceValueResult", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Modules.DealModule.Integration" +
        "")]
    [System.SerializableAttribute()]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(string[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.DateTime[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(object[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(int[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
    public partial class ServiceValueResult : ConsoleApplication1.sr.ServiceOperationResult {
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private object ValueField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public object Value {
            get {
                return this.ValueField;
            }
            set {
                if ((object.ReferenceEquals(this.ValueField, value) != true)) {
                    this.ValueField = value;
                    this.RaisePropertyChanged("Value");
                }
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="NrdTradeBase", Namespace="http://schemas.datacontract.org/2004/07/_BaseObjects")]
    [System.SerializableAttribute()]
    public partial class NrdTradeBase : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string Exp_numField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Exp_numIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<double> Expdeal_idField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Expdeal_idIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<System.DateTime> Exrqntn_dtField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Exrqntn_dtIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.NrdLiability[] LiabilitiesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> PortfolioField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool PortfolioIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> ProfitCenterField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool ProfitCenterIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<System.DateTime> Reg_dateField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Reg_dateIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string Reg_noField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Reg_noIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<System.DateTime> Termntn_dtField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Termntn_dtIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> TransactionState_idField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool TransactionState_idIsNullField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Exp_num {
            get {
                return this.Exp_numField;
            }
            set {
                if ((object.ReferenceEquals(this.Exp_numField, value) != true)) {
                    this.Exp_numField = value;
                    this.RaisePropertyChanged("Exp_num");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Exp_numIsNull {
            get {
                return this.Exp_numIsNullField;
            }
            set {
                if ((this.Exp_numIsNullField.Equals(value) != true)) {
                    this.Exp_numIsNullField = value;
                    this.RaisePropertyChanged("Exp_numIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<double> Expdeal_id {
            get {
                return this.Expdeal_idField;
            }
            set {
                if ((this.Expdeal_idField.Equals(value) != true)) {
                    this.Expdeal_idField = value;
                    this.RaisePropertyChanged("Expdeal_id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Expdeal_idIsNull {
            get {
                return this.Expdeal_idIsNullField;
            }
            set {
                if ((this.Expdeal_idIsNullField.Equals(value) != true)) {
                    this.Expdeal_idIsNullField = value;
                    this.RaisePropertyChanged("Expdeal_idIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<System.DateTime> Exrqntn_dt {
            get {
                return this.Exrqntn_dtField;
            }
            set {
                if ((this.Exrqntn_dtField.Equals(value) != true)) {
                    this.Exrqntn_dtField = value;
                    this.RaisePropertyChanged("Exrqntn_dt");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Exrqntn_dtIsNull {
            get {
                return this.Exrqntn_dtIsNullField;
            }
            set {
                if ((this.Exrqntn_dtIsNullField.Equals(value) != true)) {
                    this.Exrqntn_dtIsNullField = value;
                    this.RaisePropertyChanged("Exrqntn_dtIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.NrdLiability[] Liabilities {
            get {
                return this.LiabilitiesField;
            }
            set {
                if ((object.ReferenceEquals(this.LiabilitiesField, value) != true)) {
                    this.LiabilitiesField = value;
                    this.RaisePropertyChanged("Liabilities");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> Portfolio {
            get {
                return this.PortfolioField;
            }
            set {
                if ((this.PortfolioField.Equals(value) != true)) {
                    this.PortfolioField = value;
                    this.RaisePropertyChanged("Portfolio");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool PortfolioIsNull {
            get {
                return this.PortfolioIsNullField;
            }
            set {
                if ((this.PortfolioIsNullField.Equals(value) != true)) {
                    this.PortfolioIsNullField = value;
                    this.RaisePropertyChanged("PortfolioIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> ProfitCenter {
            get {
                return this.ProfitCenterField;
            }
            set {
                if ((this.ProfitCenterField.Equals(value) != true)) {
                    this.ProfitCenterField = value;
                    this.RaisePropertyChanged("ProfitCenter");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool ProfitCenterIsNull {
            get {
                return this.ProfitCenterIsNullField;
            }
            set {
                if ((this.ProfitCenterIsNullField.Equals(value) != true)) {
                    this.ProfitCenterIsNullField = value;
                    this.RaisePropertyChanged("ProfitCenterIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<System.DateTime> Reg_date {
            get {
                return this.Reg_dateField;
            }
            set {
                if ((this.Reg_dateField.Equals(value) != true)) {
                    this.Reg_dateField = value;
                    this.RaisePropertyChanged("Reg_date");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Reg_dateIsNull {
            get {
                return this.Reg_dateIsNullField;
            }
            set {
                if ((this.Reg_dateIsNullField.Equals(value) != true)) {
                    this.Reg_dateIsNullField = value;
                    this.RaisePropertyChanged("Reg_dateIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Reg_no {
            get {
                return this.Reg_noField;
            }
            set {
                if ((object.ReferenceEquals(this.Reg_noField, value) != true)) {
                    this.Reg_noField = value;
                    this.RaisePropertyChanged("Reg_no");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Reg_noIsNull {
            get {
                return this.Reg_noIsNullField;
            }
            set {
                if ((this.Reg_noIsNullField.Equals(value) != true)) {
                    this.Reg_noIsNullField = value;
                    this.RaisePropertyChanged("Reg_noIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<System.DateTime> Termntn_dt {
            get {
                return this.Termntn_dtField;
            }
            set {
                if ((this.Termntn_dtField.Equals(value) != true)) {
                    this.Termntn_dtField = value;
                    this.RaisePropertyChanged("Termntn_dt");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Termntn_dtIsNull {
            get {
                return this.Termntn_dtIsNullField;
            }
            set {
                if ((this.Termntn_dtIsNullField.Equals(value) != true)) {
                    this.Termntn_dtIsNullField = value;
                    this.RaisePropertyChanged("Termntn_dtIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> TransactionState_id {
            get {
                return this.TransactionState_idField;
            }
            set {
                if ((this.TransactionState_idField.Equals(value) != true)) {
                    this.TransactionState_idField = value;
                    this.RaisePropertyChanged("TransactionState_id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool TransactionState_idIsNull {
            get {
                return this.TransactionState_idIsNullField;
            }
            set {
                if ((this.TransactionState_idIsNullField.Equals(value) != true)) {
                    this.TransactionState_idIsNullField = value;
                    this.RaisePropertyChanged("TransactionState_idIsNull");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="NrdLiability", Namespace="http://schemas.datacontract.org/2004/07/_BaseObjects")]
    [System.SerializableAttribute()]
    public partial class NrdLiability : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string Backet_cField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Backet_cIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<double> Exp_idField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Exp_idIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> F_moneyField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool F_moneyIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.NrdCashLiability NrdCashLiabilityField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.NrdSecLiability[] NrdSecLiabilitiesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string Reg_noField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Reg_noIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> TransactionState_idField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool TransactionState_idIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<short> accounting_basketField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool accounting_basketIsNullField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Backet_c {
            get {
                return this.Backet_cField;
            }
            set {
                if ((object.ReferenceEquals(this.Backet_cField, value) != true)) {
                    this.Backet_cField = value;
                    this.RaisePropertyChanged("Backet_c");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Backet_cIsNull {
            get {
                return this.Backet_cIsNullField;
            }
            set {
                if ((this.Backet_cIsNullField.Equals(value) != true)) {
                    this.Backet_cIsNullField = value;
                    this.RaisePropertyChanged("Backet_cIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<double> Exp_id {
            get {
                return this.Exp_idField;
            }
            set {
                if ((this.Exp_idField.Equals(value) != true)) {
                    this.Exp_idField = value;
                    this.RaisePropertyChanged("Exp_id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Exp_idIsNull {
            get {
                return this.Exp_idIsNullField;
            }
            set {
                if ((this.Exp_idIsNullField.Equals(value) != true)) {
                    this.Exp_idIsNullField = value;
                    this.RaisePropertyChanged("Exp_idIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> F_money {
            get {
                return this.F_moneyField;
            }
            set {
                if ((this.F_moneyField.Equals(value) != true)) {
                    this.F_moneyField = value;
                    this.RaisePropertyChanged("F_money");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool F_moneyIsNull {
            get {
                return this.F_moneyIsNullField;
            }
            set {
                if ((this.F_moneyIsNullField.Equals(value) != true)) {
                    this.F_moneyIsNullField = value;
                    this.RaisePropertyChanged("F_moneyIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.NrdCashLiability NrdCashLiability {
            get {
                return this.NrdCashLiabilityField;
            }
            set {
                if ((object.ReferenceEquals(this.NrdCashLiabilityField, value) != true)) {
                    this.NrdCashLiabilityField = value;
                    this.RaisePropertyChanged("NrdCashLiability");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.NrdSecLiability[] NrdSecLiabilities {
            get {
                return this.NrdSecLiabilitiesField;
            }
            set {
                if ((object.ReferenceEquals(this.NrdSecLiabilitiesField, value) != true)) {
                    this.NrdSecLiabilitiesField = value;
                    this.RaisePropertyChanged("NrdSecLiabilities");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Reg_no {
            get {
                return this.Reg_noField;
            }
            set {
                if ((object.ReferenceEquals(this.Reg_noField, value) != true)) {
                    this.Reg_noField = value;
                    this.RaisePropertyChanged("Reg_no");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Reg_noIsNull {
            get {
                return this.Reg_noIsNullField;
            }
            set {
                if ((this.Reg_noIsNullField.Equals(value) != true)) {
                    this.Reg_noIsNullField = value;
                    this.RaisePropertyChanged("Reg_noIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> TransactionState_id {
            get {
                return this.TransactionState_idField;
            }
            set {
                if ((this.TransactionState_idField.Equals(value) != true)) {
                    this.TransactionState_idField = value;
                    this.RaisePropertyChanged("TransactionState_id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool TransactionState_idIsNull {
            get {
                return this.TransactionState_idIsNullField;
            }
            set {
                if ((this.TransactionState_idIsNullField.Equals(value) != true)) {
                    this.TransactionState_idIsNullField = value;
                    this.RaisePropertyChanged("TransactionState_idIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<short> accounting_basket {
            get {
                return this.accounting_basketField;
            }
            set {
                if ((this.accounting_basketField.Equals(value) != true)) {
                    this.accounting_basketField = value;
                    this.RaisePropertyChanged("accounting_basket");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool accounting_basketIsNull {
            get {
                return this.accounting_basketIsNullField;
            }
            set {
                if ((this.accounting_basketIsNullField.Equals(value) != true)) {
                    this.accounting_basketIsNullField = value;
                    this.RaisePropertyChanged("accounting_basketIsNull");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="NrdCashLiability", Namespace="http://schemas.datacontract.org/2004/07/_BaseObjects")]
    [System.SerializableAttribute()]
    public partial class NrdCashLiability : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<double> Cash_openField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Cash_openIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string ErrorMessageField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool ErrorMessageIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> Focus_tradeIDField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Focus_tradeIDIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int IdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<double> InterestField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool InterestIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string Reg_noField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Reg_noIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> TransactionState_idField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool TransactionState_idIsNullField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<double> Cash_open {
            get {
                return this.Cash_openField;
            }
            set {
                if ((this.Cash_openField.Equals(value) != true)) {
                    this.Cash_openField = value;
                    this.RaisePropertyChanged("Cash_open");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Cash_openIsNull {
            get {
                return this.Cash_openIsNullField;
            }
            set {
                if ((this.Cash_openIsNullField.Equals(value) != true)) {
                    this.Cash_openIsNullField = value;
                    this.RaisePropertyChanged("Cash_openIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ErrorMessage {
            get {
                return this.ErrorMessageField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorMessageField, value) != true)) {
                    this.ErrorMessageField = value;
                    this.RaisePropertyChanged("ErrorMessage");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool ErrorMessageIsNull {
            get {
                return this.ErrorMessageIsNullField;
            }
            set {
                if ((this.ErrorMessageIsNullField.Equals(value) != true)) {
                    this.ErrorMessageIsNullField = value;
                    this.RaisePropertyChanged("ErrorMessageIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> Focus_tradeID {
            get {
                return this.Focus_tradeIDField;
            }
            set {
                if ((this.Focus_tradeIDField.Equals(value) != true)) {
                    this.Focus_tradeIDField = value;
                    this.RaisePropertyChanged("Focus_tradeID");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Focus_tradeIDIsNull {
            get {
                return this.Focus_tradeIDIsNullField;
            }
            set {
                if ((this.Focus_tradeIDIsNullField.Equals(value) != true)) {
                    this.Focus_tradeIDIsNullField = value;
                    this.RaisePropertyChanged("Focus_tradeIDIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int Id {
            get {
                return this.IdField;
            }
            set {
                if ((this.IdField.Equals(value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<double> Interest {
            get {
                return this.InterestField;
            }
            set {
                if ((this.InterestField.Equals(value) != true)) {
                    this.InterestField = value;
                    this.RaisePropertyChanged("Interest");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool InterestIsNull {
            get {
                return this.InterestIsNullField;
            }
            set {
                if ((this.InterestIsNullField.Equals(value) != true)) {
                    this.InterestIsNullField = value;
                    this.RaisePropertyChanged("InterestIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Reg_no {
            get {
                return this.Reg_noField;
            }
            set {
                if ((object.ReferenceEquals(this.Reg_noField, value) != true)) {
                    this.Reg_noField = value;
                    this.RaisePropertyChanged("Reg_no");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Reg_noIsNull {
            get {
                return this.Reg_noIsNullField;
            }
            set {
                if ((this.Reg_noIsNullField.Equals(value) != true)) {
                    this.Reg_noIsNullField = value;
                    this.RaisePropertyChanged("Reg_noIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> TransactionState_id {
            get {
                return this.TransactionState_idField;
            }
            set {
                if ((this.TransactionState_idField.Equals(value) != true)) {
                    this.TransactionState_idField = value;
                    this.RaisePropertyChanged("TransactionState_id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool TransactionState_idIsNull {
            get {
                return this.TransactionState_idIsNullField;
            }
            set {
                if ((this.TransactionState_idIsNullField.Equals(value) != true)) {
                    this.TransactionState_idIsNullField = value;
                    this.RaisePropertyChanged("TransactionState_idIsNull");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="NrdSecLiability", Namespace="http://schemas.datacontract.org/2004/07/_BaseObjects")]
    [System.SerializableAttribute()]
    public partial class NrdSecLiability : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> BasisField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool BasisIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> Focus_tradeID1Field;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Focus_tradeID1IsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> Focus_tradeID2Field;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Focus_tradeID2IsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private int IdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<double> Link_expField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Link_expIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string Reg_noField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Reg_noIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string Sec_isinField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool Sec_isinIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<ConsoleApplication1.sr.instr_type> i_typeField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool i_typeIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> instrumentField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool instrumentIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> payment_ccyField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool payment_ccyIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<double> qtyField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool qtyIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> standard_settlement_dateField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool standard_settlement_dateIsNullField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> Basis {
            get {
                return this.BasisField;
            }
            set {
                if ((this.BasisField.Equals(value) != true)) {
                    this.BasisField = value;
                    this.RaisePropertyChanged("Basis");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool BasisIsNull {
            get {
                return this.BasisIsNullField;
            }
            set {
                if ((this.BasisIsNullField.Equals(value) != true)) {
                    this.BasisIsNullField = value;
                    this.RaisePropertyChanged("BasisIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> Focus_tradeID1 {
            get {
                return this.Focus_tradeID1Field;
            }
            set {
                if ((this.Focus_tradeID1Field.Equals(value) != true)) {
                    this.Focus_tradeID1Field = value;
                    this.RaisePropertyChanged("Focus_tradeID1");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Focus_tradeID1IsNull {
            get {
                return this.Focus_tradeID1IsNullField;
            }
            set {
                if ((this.Focus_tradeID1IsNullField.Equals(value) != true)) {
                    this.Focus_tradeID1IsNullField = value;
                    this.RaisePropertyChanged("Focus_tradeID1IsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> Focus_tradeID2 {
            get {
                return this.Focus_tradeID2Field;
            }
            set {
                if ((this.Focus_tradeID2Field.Equals(value) != true)) {
                    this.Focus_tradeID2Field = value;
                    this.RaisePropertyChanged("Focus_tradeID2");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Focus_tradeID2IsNull {
            get {
                return this.Focus_tradeID2IsNullField;
            }
            set {
                if ((this.Focus_tradeID2IsNullField.Equals(value) != true)) {
                    this.Focus_tradeID2IsNullField = value;
                    this.RaisePropertyChanged("Focus_tradeID2IsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int Id {
            get {
                return this.IdField;
            }
            set {
                if ((this.IdField.Equals(value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<double> Link_exp {
            get {
                return this.Link_expField;
            }
            set {
                if ((this.Link_expField.Equals(value) != true)) {
                    this.Link_expField = value;
                    this.RaisePropertyChanged("Link_exp");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Link_expIsNull {
            get {
                return this.Link_expIsNullField;
            }
            set {
                if ((this.Link_expIsNullField.Equals(value) != true)) {
                    this.Link_expIsNullField = value;
                    this.RaisePropertyChanged("Link_expIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Reg_no {
            get {
                return this.Reg_noField;
            }
            set {
                if ((object.ReferenceEquals(this.Reg_noField, value) != true)) {
                    this.Reg_noField = value;
                    this.RaisePropertyChanged("Reg_no");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Reg_noIsNull {
            get {
                return this.Reg_noIsNullField;
            }
            set {
                if ((this.Reg_noIsNullField.Equals(value) != true)) {
                    this.Reg_noIsNullField = value;
                    this.RaisePropertyChanged("Reg_noIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Sec_isin {
            get {
                return this.Sec_isinField;
            }
            set {
                if ((object.ReferenceEquals(this.Sec_isinField, value) != true)) {
                    this.Sec_isinField = value;
                    this.RaisePropertyChanged("Sec_isin");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Sec_isinIsNull {
            get {
                return this.Sec_isinIsNullField;
            }
            set {
                if ((this.Sec_isinIsNullField.Equals(value) != true)) {
                    this.Sec_isinIsNullField = value;
                    this.RaisePropertyChanged("Sec_isinIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<ConsoleApplication1.sr.instr_type> i_type {
            get {
                return this.i_typeField;
            }
            set {
                if ((this.i_typeField.Equals(value) != true)) {
                    this.i_typeField = value;
                    this.RaisePropertyChanged("i_type");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool i_typeIsNull {
            get {
                return this.i_typeIsNullField;
            }
            set {
                if ((this.i_typeIsNullField.Equals(value) != true)) {
                    this.i_typeIsNullField = value;
                    this.RaisePropertyChanged("i_typeIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> instrument {
            get {
                return this.instrumentField;
            }
            set {
                if ((this.instrumentField.Equals(value) != true)) {
                    this.instrumentField = value;
                    this.RaisePropertyChanged("instrument");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool instrumentIsNull {
            get {
                return this.instrumentIsNullField;
            }
            set {
                if ((this.instrumentIsNullField.Equals(value) != true)) {
                    this.instrumentIsNullField = value;
                    this.RaisePropertyChanged("instrumentIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> payment_ccy {
            get {
                return this.payment_ccyField;
            }
            set {
                if ((this.payment_ccyField.Equals(value) != true)) {
                    this.payment_ccyField = value;
                    this.RaisePropertyChanged("payment_ccy");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool payment_ccyIsNull {
            get {
                return this.payment_ccyIsNullField;
            }
            set {
                if ((this.payment_ccyIsNullField.Equals(value) != true)) {
                    this.payment_ccyIsNullField = value;
                    this.RaisePropertyChanged("payment_ccyIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<double> qty {
            get {
                return this.qtyField;
            }
            set {
                if ((this.qtyField.Equals(value) != true)) {
                    this.qtyField = value;
                    this.RaisePropertyChanged("qty");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool qtyIsNull {
            get {
                return this.qtyIsNullField;
            }
            set {
                if ((this.qtyIsNullField.Equals(value) != true)) {
                    this.qtyIsNullField = value;
                    this.RaisePropertyChanged("qtyIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> standard_settlement_date {
            get {
                return this.standard_settlement_dateField;
            }
            set {
                if ((this.standard_settlement_dateField.Equals(value) != true)) {
                    this.standard_settlement_dateField = value;
                    this.RaisePropertyChanged("standard_settlement_date");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool standard_settlement_dateIsNull {
            get {
                return this.standard_settlement_dateIsNullField;
            }
            set {
                if ((this.standard_settlement_dateIsNullField.Equals(value) != true)) {
                    this.standard_settlement_dateIsNullField = value;
                    this.RaisePropertyChanged("standard_settlement_dateIsNull");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="NrdImportInfoCollection", Namespace="http://schemas.datacontract.org/2004/07/_BaseObjects")]
    [System.SerializableAttribute()]
    public partial class NrdImportInfoCollection : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.NrdImportInfo[] ItemsField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.NrdImportInfo[] Items {
            get {
                return this.ItemsField;
            }
            set {
                if ((object.ReferenceEquals(this.ItemsField, value) != true)) {
                    this.ItemsField = value;
                    this.RaisePropertyChanged("Items");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="NrdImportInfo", Namespace="http://schemas.datacontract.org/2004/07/_BaseObjects")]
    [System.SerializableAttribute()]
    public partial class NrdImportInfo : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<double> ExpDealIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool ExpDealIdIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> ExpLiabilityIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool ExpLiabilityIdIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> FocusTradeIdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> FocusTradeId2Field;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool FocusTradeId2IsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool FocusTradeIdIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<bool> IsMoneyLiabilityField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool IsMoneyLiabilityIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string MessageField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool MessageIsNullField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string RegNoField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.NrdImportState StateField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<double> ExpDealId {
            get {
                return this.ExpDealIdField;
            }
            set {
                if ((this.ExpDealIdField.Equals(value) != true)) {
                    this.ExpDealIdField = value;
                    this.RaisePropertyChanged("ExpDealId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool ExpDealIdIsNull {
            get {
                return this.ExpDealIdIsNullField;
            }
            set {
                if ((this.ExpDealIdIsNullField.Equals(value) != true)) {
                    this.ExpDealIdIsNullField = value;
                    this.RaisePropertyChanged("ExpDealIdIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> ExpLiabilityId {
            get {
                return this.ExpLiabilityIdField;
            }
            set {
                if ((this.ExpLiabilityIdField.Equals(value) != true)) {
                    this.ExpLiabilityIdField = value;
                    this.RaisePropertyChanged("ExpLiabilityId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool ExpLiabilityIdIsNull {
            get {
                return this.ExpLiabilityIdIsNullField;
            }
            set {
                if ((this.ExpLiabilityIdIsNullField.Equals(value) != true)) {
                    this.ExpLiabilityIdIsNullField = value;
                    this.RaisePropertyChanged("ExpLiabilityIdIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> FocusTradeId {
            get {
                return this.FocusTradeIdField;
            }
            set {
                if ((this.FocusTradeIdField.Equals(value) != true)) {
                    this.FocusTradeIdField = value;
                    this.RaisePropertyChanged("FocusTradeId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> FocusTradeId2 {
            get {
                return this.FocusTradeId2Field;
            }
            set {
                if ((this.FocusTradeId2Field.Equals(value) != true)) {
                    this.FocusTradeId2Field = value;
                    this.RaisePropertyChanged("FocusTradeId2");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool FocusTradeId2IsNull {
            get {
                return this.FocusTradeId2IsNullField;
            }
            set {
                if ((this.FocusTradeId2IsNullField.Equals(value) != true)) {
                    this.FocusTradeId2IsNullField = value;
                    this.RaisePropertyChanged("FocusTradeId2IsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool FocusTradeIdIsNull {
            get {
                return this.FocusTradeIdIsNullField;
            }
            set {
                if ((this.FocusTradeIdIsNullField.Equals(value) != true)) {
                    this.FocusTradeIdIsNullField = value;
                    this.RaisePropertyChanged("FocusTradeIdIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<bool> IsMoneyLiability {
            get {
                return this.IsMoneyLiabilityField;
            }
            set {
                if ((this.IsMoneyLiabilityField.Equals(value) != true)) {
                    this.IsMoneyLiabilityField = value;
                    this.RaisePropertyChanged("IsMoneyLiability");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsMoneyLiabilityIsNull {
            get {
                return this.IsMoneyLiabilityIsNullField;
            }
            set {
                if ((this.IsMoneyLiabilityIsNullField.Equals(value) != true)) {
                    this.IsMoneyLiabilityIsNullField = value;
                    this.RaisePropertyChanged("IsMoneyLiabilityIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Message {
            get {
                return this.MessageField;
            }
            set {
                if ((object.ReferenceEquals(this.MessageField, value) != true)) {
                    this.MessageField = value;
                    this.RaisePropertyChanged("Message");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool MessageIsNull {
            get {
                return this.MessageIsNullField;
            }
            set {
                if ((this.MessageIsNullField.Equals(value) != true)) {
                    this.MessageIsNullField = value;
                    this.RaisePropertyChanged("MessageIsNull");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RegNo {
            get {
                return this.RegNoField;
            }
            set {
                if ((object.ReferenceEquals(this.RegNoField, value) != true)) {
                    this.RegNoField = value;
                    this.RaisePropertyChanged("RegNo");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.NrdImportState State {
            get {
                return this.StateField;
            }
            set {
                if ((this.StateField.Equals(value) != true)) {
                    this.StateField = value;
                    this.RaisePropertyChanged("State");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ExerciseType", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Interface.BusinessObjects.Deal" +
        "Events")]
    public enum ExerciseType : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ExpiryNoBarrier = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ExerciseNoBarrier = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ExpiryBarrier = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ExerciseBarrier = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        TeminationNoBarrier = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        TerminationBarrier = 5,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="enumRoundingRule", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Framework.Types")]
    public enum enumRoundingRule : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Accr_to_0_dp = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Accr_to_1_dp = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Accr_to_2_dp = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Accr_to_3_dp = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Accr_to_4_dp = 5,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Accr_to_5_dp = 6,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Accr_to_6_dp = 7,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Accr_to_7_dp = 8,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Accr_to_8_dp = 9,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Accr_to_9_dp = 10,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Trunc_to_0_dp = 11,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Trunc_to_1_dp = 12,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Trunc_to_2_dp = 13,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Trunc_to_3_dp = 14,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Trunc_to_4_dp = 15,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Trunc_to_5_dp = 16,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Trunc_to_6_dp = 17,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Trunc_to_7_dp = 18,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Trunc_to_8_dp = 19,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Final_Trunc_to_9_dp = 20,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="EnumNovationRole", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Framework.Types")]
    public enum EnumNovationRole : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Transferor = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Transferee = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RemainingParty = 3,
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="TradeInstruments", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Interface.BusinessObjects.Focu" +
        "sDeals")]
    [System.SerializableAttribute()]
    public partial class TradeInstruments : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string[] actionsField;
        
        private ConsoleApplication1.sr.TradeInstrumentColumn[] columnsField;
        
        private ConsoleApplication1.sr.TradeInstrumentRow[] rowsField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string[] actions {
            get {
                return this.actionsField;
            }
            set {
                if ((object.ReferenceEquals(this.actionsField, value) != true)) {
                    this.actionsField = value;
                    this.RaisePropertyChanged("actions");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public ConsoleApplication1.sr.TradeInstrumentColumn[] columns {
            get {
                return this.columnsField;
            }
            set {
                if ((object.ReferenceEquals(this.columnsField, value) != true)) {
                    this.columnsField = value;
                    this.RaisePropertyChanged("columns");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public ConsoleApplication1.sr.TradeInstrumentRow[] rows {
            get {
                return this.rowsField;
            }
            set {
                if ((object.ReferenceEquals(this.rowsField, value) != true)) {
                    this.rowsField = value;
                    this.RaisePropertyChanged("rows");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="TradeInstrumentColumn", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Interface.BusinessObjects.Focu" +
        "sDeals")]
    [System.SerializableAttribute()]
    public partial class TradeInstrumentColumn : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private string captionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool enabledField;
        
        private string fieldTypeField;
        
        private string nameField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.IdName[] possibleValuesField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool visibleField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string caption {
            get {
                return this.captionField;
            }
            set {
                if ((object.ReferenceEquals(this.captionField, value) != true)) {
                    this.captionField = value;
                    this.RaisePropertyChanged("caption");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool enabled {
            get {
                return this.enabledField;
            }
            set {
                if ((this.enabledField.Equals(value) != true)) {
                    this.enabledField = value;
                    this.RaisePropertyChanged("enabled");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string fieldType {
            get {
                return this.fieldTypeField;
            }
            set {
                if ((object.ReferenceEquals(this.fieldTypeField, value) != true)) {
                    this.fieldTypeField = value;
                    this.RaisePropertyChanged("fieldType");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public string name {
            get {
                return this.nameField;
            }
            set {
                if ((object.ReferenceEquals(this.nameField, value) != true)) {
                    this.nameField = value;
                    this.RaisePropertyChanged("name");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.IdName[] possibleValues {
            get {
                return this.possibleValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.possibleValuesField, value) != true)) {
                    this.possibleValuesField = value;
                    this.RaisePropertyChanged("possibleValues");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool visible {
            get {
                return this.visibleField;
            }
            set {
                if ((this.visibleField.Equals(value) != true)) {
                    this.visibleField = value;
                    this.RaisePropertyChanged("visible");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="TradeInstrumentRow", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Interface.BusinessObjects.Focu" +
        "sDeals")]
    [System.SerializableAttribute()]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(string[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.DateTime[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(object[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(int[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
    public partial class TradeInstrumentRow : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        private object[] itemsField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
        public object[] items {
            get {
                return this.itemsField;
            }
            set {
                if ((object.ReferenceEquals(this.itemsField, value) != true)) {
                    this.itemsField = value;
                    this.RaisePropertyChanged("items");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="enumFieldTypes", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.FieldsRepository")]
    public enum enumFieldTypes : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Number = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Text = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DateTime = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Date = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Time = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        List = 5,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        CheckedListBox = 6,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Price = 7,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Button = 8,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        CheckBox = 9,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RadioButton = 10,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Rate = 11,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Label = 12,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="deal_type", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum deal_type : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        FakeTrade = -2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Nontrading = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        SpotForward = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Option = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Future = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Repo = 6,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Exchange = 7,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Loan = 8,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Swap = 10,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        CDS = 11,
        
        [System.Runtime.Serialization.EnumMemberAttribute(Value="Cds")]
        Cds1 = 11,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        IRS = 12,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="instr_type", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum instr_type : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        FakeTrade = -2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Equity = 9,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Bond = 7,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PNote = 30,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PNoteGroup = 38,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Currency = 8,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Forex = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Loan = 18,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        EquityFuture = 12,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        EquityOption = 11,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        BondFuture = 5,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        EquityFutureOption = 112,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        BondFutureOption = 105,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        IRSwap = 113,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        IR_SWAP = 113,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        IRS_CCS_FRA = 8,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        CDSwap = 114,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        TRSwap = 118,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="trade_type", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum trade_type : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Brokerage = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PropOTC = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Book2Book = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Branch2Branch = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Prop = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PropET = 5,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Underwriting = 6,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="DealEventStatus", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum DealEventStatus : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Created = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Confirmed = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Canceled = 6,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Default = 15,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Approved = 16,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Deleted = 17,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        FOConfirmed = 18,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        SentToBO = 19,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RecalledFromBO = 20,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        BOProcessed = 21,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NonAuthorized = 22,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        FOConfirmedA = 181,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        FOConfirmedB = 182,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        FORevision = 23,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RiskControl = 24,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RiskAuthorized = 25,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Prolonged = 26,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="trade_status", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum trade_status : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PendConf = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Canceled = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Closed = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Hold = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Trial = 5,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Confirmed = 6,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Approved = 7,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Split = 8,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Broken = 9,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Canceled2 = 10,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Structured = 11,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Exercised = 12,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        CashSettled = 13,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NewConfirmed = 14,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ExercisedConfirmed = 15,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        CashSettledConfirmed = 16,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        CancelConfirmed = 17,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Terminated = 18,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        TerminatedConfirm = 19,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="bo_status", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum bo_status : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        UnSent = 8,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Delivered = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Canceled = 5,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Paid = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Registered = 7,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        SentToBO = 10,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Verified = 11,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Closed = 12,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Exercised = 13,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ClosedNoExercised = 14,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NotRequired = 15,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="pay_interest", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum pay_interest : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NotPay = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Pay = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Capitalize = 2,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="settle_type", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum settle_type : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Physical = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Cash = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        AuctionSettlement = 2,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CDSTypePriceofCurv", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum CDSTypePriceofCurv : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Bid = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Ask = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Mid = 3,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CDSInputModel", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum CDSInputModel : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Spread = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Upfront = 2,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="FO_Status", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum FO_Status : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Created = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Processing = 12,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Confirmed = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Canceled = 6,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RecalledFromBO = 20,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Rejected = 22,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RecalledFromFOB = 24,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RecalledFromRisk = 25,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="risk_status", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum risk_status : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Taken = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Recalled = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Authorized = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NonAuthorized = 3,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="BO_Param_Status", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum BO_Param_Status : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RequiresProcessing = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Processing = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ParametersFilled = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        TransferredForProcessing = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        AllowedForSettlementPreparation = 5,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        AllowedForSettlement = 6,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Completed = 7,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="AccountingStatus", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum AccountingStatus : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        AwaitingProcessing = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        TakenForProcessing = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PreparationStarted = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PreparationCompleted = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Settled = 5,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ctpt_level", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum ctpt_level : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NotMember = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Member = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        CentralOffice = 2,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="fd_object_type", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum fd_object_type : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Trade = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Assetflow = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        GeneralBrokerAgreements = 7,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Accounts = 8,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Ctpt = 9,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Instruments = 10,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        TMAgreements = 11,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NettingFlows = 12,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        OH = 13,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PNoteTrades = 15,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        DealEvents = 16,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="trade_ls_status", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum trade_ls_status : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        AwaitingAuthorization_0 = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        AwaitingAuthorization_1 = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NotAuthorized = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Authorized = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NotRequired = 4,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        AwaitingSkipDetails = 5,
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="NrdImportState", Namespace="http://schemas.datacontract.org/2004/07/Egar.TransactionService.Client.Trades")]
    public enum NrdImportState : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Reload = -1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NotProcessed = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Success = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Error = 2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Filtered = 3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ManualProcessing = 4,
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="IdName", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Events.Base.Helpers")]
    [System.SerializableAttribute()]
    public partial class IdName : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Nullable<int> IdField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string NameField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Nullable<int> Id {
            get {
                return this.IdField;
            }
            set {
                if ((this.IdField.Equals(value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Name {
            get {
                return this.NameField;
            }
            set {
                if ((object.ReferenceEquals(this.NameField, value) != true)) {
                    this.NameField = value;
                    this.RaisePropertyChanged("Name");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="OperationErrorCode", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Interface")]
    public enum OperationErrorCode : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PermissionsNotAllowed = -1600,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        InsuffisientEntry = -1500,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ValidationError = -1400,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RealFlowsExistsError = -1300,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        NettingFlowsExists = -1200,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        FlowsBOStatusExists = -1100,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        UnsupportedOperation = -1090,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        UnspecifiedError = -1000,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        ConfirmMessage = -10,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        RealFlowsExists = -3,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        TradeDateIsHoliday = -2,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Warning = -1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Success = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        PrintTicket = 1,
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="InterActionParams", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Interface")]
    [System.SerializableAttribute()]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
    public partial class InterActionParams : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.ActionResult[] actionResultsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private System.Collections.Generic.Dictionary<string, object> formFieldsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string formNameField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool ignoreWarningsField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool needToPrintTicketField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.ActionResult[] actionResults {
            get {
                return this.actionResultsField;
            }
            set {
                if ((object.ReferenceEquals(this.actionResultsField, value) != true)) {
                    this.actionResultsField = value;
                    this.RaisePropertyChanged("actionResults");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> formFields {
            get {
                return this.formFieldsField;
            }
            set {
                if ((object.ReferenceEquals(this.formFieldsField, value) != true)) {
                    this.formFieldsField = value;
                    this.RaisePropertyChanged("formFields");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string formName {
            get {
                return this.formNameField;
            }
            set {
                if ((object.ReferenceEquals(this.formNameField, value) != true)) {
                    this.formNameField = value;
                    this.RaisePropertyChanged("formName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool ignoreWarnings {
            get {
                return this.ignoreWarningsField;
            }
            set {
                if ((this.ignoreWarningsField.Equals(value) != true)) {
                    this.ignoreWarningsField = value;
                    this.RaisePropertyChanged("ignoreWarnings");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool needToPrintTicket {
            get {
                return this.needToPrintTicketField;
            }
            set {
                if ((this.needToPrintTicketField.Equals(value) != true)) {
                    this.needToPrintTicketField = value;
                    this.RaisePropertyChanged("needToPrintTicket");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="ActionResult", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Interface")]
    [System.SerializableAttribute()]
    public partial class ActionResult : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
        
        [System.NonSerializedAttribute()]
        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string CustomFormNameField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string DescriptionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string FieldNameField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private bool ShowMessageField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string captionField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string defaultAnswerField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string[] possibleAnswersField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.OperationErrorCode resultField;
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private string[] userAnswerField;
        
        [global::System.ComponentModel.BrowsableAttribute(false)]
        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
            get {
                return this.extensionDataField;
            }
            set {
                this.extensionDataField = value;
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string CustomFormName {
            get {
                return this.CustomFormNameField;
            }
            set {
                if ((object.ReferenceEquals(this.CustomFormNameField, value) != true)) {
                    this.CustomFormNameField = value;
                    this.RaisePropertyChanged("CustomFormName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Description {
            get {
                return this.DescriptionField;
            }
            set {
                if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
                    this.DescriptionField = value;
                    this.RaisePropertyChanged("Description");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string FieldName {
            get {
                return this.FieldNameField;
            }
            set {
                if ((object.ReferenceEquals(this.FieldNameField, value) != true)) {
                    this.FieldNameField = value;
                    this.RaisePropertyChanged("FieldName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool ShowMessage {
            get {
                return this.ShowMessageField;
            }
            set {
                if ((this.ShowMessageField.Equals(value) != true)) {
                    this.ShowMessageField = value;
                    this.RaisePropertyChanged("ShowMessage");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string caption {
            get {
                return this.captionField;
            }
            set {
                if ((object.ReferenceEquals(this.captionField, value) != true)) {
                    this.captionField = value;
                    this.RaisePropertyChanged("caption");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string defaultAnswer {
            get {
                return this.defaultAnswerField;
            }
            set {
                if ((object.ReferenceEquals(this.defaultAnswerField, value) != true)) {
                    this.defaultAnswerField = value;
                    this.RaisePropertyChanged("defaultAnswer");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string[] possibleAnswers {
            get {
                return this.possibleAnswersField;
            }
            set {
                if ((object.ReferenceEquals(this.possibleAnswersField, value) != true)) {
                    this.possibleAnswersField = value;
                    this.RaisePropertyChanged("possibleAnswers");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.OperationErrorCode result {
            get {
                return this.resultField;
            }
            set {
                if ((this.resultField.Equals(value) != true)) {
                    this.resultField = value;
                    this.RaisePropertyChanged("result");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string[] userAnswer {
            get {
                return this.userAnswerField;
            }
            set {
                if ((object.ReferenceEquals(this.userAnswerField, value) != true)) {
                    this.userAnswerField = value;
                    this.RaisePropertyChanged("userAnswer");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="InterActionParamSchedule", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Interface")]
    [System.SerializableAttribute()]
    public partial class InterActionParamSchedule : ConsoleApplication1.sr.InterActionParams {
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private ConsoleApplication1.sr.EventsScheduleProxy ScheduleField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public ConsoleApplication1.sr.EventsScheduleProxy Schedule {
            get {
                return this.ScheduleField;
            }
            set {
                if ((object.ReferenceEquals(this.ScheduleField, value) != true)) {
                    this.ScheduleField = value;
                    this.RaisePropertyChanged("Schedule");
                }
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="InterActionLinkedTrade", Namespace="http://schemas.datacontract.org/2004/07/Egar.Focus.Interface")]
    [System.SerializableAttribute()]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(string[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.DateTime[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(object[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(int[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
    public partial class InterActionLinkedTrade : ConsoleApplication1.sr.InterActionParams {
        
        [System.Runtime.Serialization.OptionalFieldAttribute()]
        private object LinkedTradeField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public object LinkedTrade {
            get {
                return this.LinkedTradeField;
            }
            set {
                if ((object.ReferenceEquals(this.LinkedTradeField, value) != true)) {
                    this.LinkedTradeField = value;
                    this.RaisePropertyChanged("LinkedTrade");
                }
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="sr.IDealService")]
    public interface IDealService {
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/InitializeSession", ReplyAction="http://tempuri.org/IDealService/InitializeSessionResponse")]
        string InitializeSession(string UserName, string WindowsLoginName, string HostName, string ApplicationName, ConsoleApplication1.sr.International International, string NumberDecimalSeparator, string NumberGroupSeparator, string ShortDatePattern);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/InitializeSession", ReplyAction="http://tempuri.org/IDealService/InitializeSessionResponse")]
        System.Threading.Tasks.Task<string> InitializeSessionAsync(string UserName, string WindowsLoginName, string HostName, string ApplicationName, ConsoleApplication1.sr.International International, string NumberDecimalSeparator, string NumberGroupSeparator, string ShortDatePattern);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/CloseSession", ReplyAction="http://tempuri.org/IDealService/CloseSessionResponse")]
        bool CloseSession();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/CloseSession", ReplyAction="http://tempuri.org/IDealService/CloseSessionResponse")]
        System.Threading.Tasks.Task<bool> CloseSessionAsync();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/CloneDeal", ReplyAction="http://tempuri.org/IDealService/CloneDealResponse")]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.DateTime[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(int[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
        string CloneDeal(string[] names, object[] values);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/CloneDeal", ReplyAction="http://tempuri.org/IDealService/CloneDealResponse")]
        System.Threading.Tasks.Task<string> CloneDealAsync(string[] names, object[] values);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/CreateNewDeal", ReplyAction="http://tempuri.org/IDealService/CreateNewDealResponse")]
        ConsoleApplication1.sr.ServiceDealOperation CreateNewDeal(ConsoleApplication1.sr.deal_type dealType, ConsoleApplication1.sr.instr_type instrType, ConsoleApplication1.sr.trade_type tradeType, string fieldsFilter);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/CreateNewDeal", ReplyAction="http://tempuri.org/IDealService/CreateNewDealResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> CreateNewDealAsync(ConsoleApplication1.sr.deal_type dealType, ConsoleApplication1.sr.instr_type instrType, ConsoleApplication1.sr.trade_type tradeType, string fieldsFilter);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/InitiateDeal", ReplyAction="http://tempuri.org/IDealService/InitiateDealResponse")]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.DateTime[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(int[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
        ConsoleApplication1.sr.ServiceDealOperation InitiateDeal(string[] names, object[] values);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/InitiateDeal", ReplyAction="http://tempuri.org/IDealService/InitiateDealResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> InitiateDealAsync(string[] names, object[] values);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/LoadTrade", ReplyAction="http://tempuri.org/IDealService/LoadTradeResponse")]
        ConsoleApplication1.sr.ServiceDealOperation LoadTrade(int tradeId, bool IsReadonlyMode, string fieldsFilter, bool loadCanceledEvents);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/LoadTrade", ReplyAction="http://tempuri.org/IDealService/LoadTradeResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> LoadTradeAsync(int tradeId, bool IsReadonlyMode, string fieldsFilter, bool loadCanceledEvents);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/DealFieldsChange", ReplyAction="http://tempuri.org/IDealService/DealFieldsChangeResponse")]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.DateTime[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(int[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
        ConsoleApplication1.sr.ServiceDealOperation DealFieldsChange(string[] names, object[] values, string[] fieldsFilter);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/DealFieldsChange", ReplyAction="http://tempuri.org/IDealService/DealFieldsChangeResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> DealFieldsChangeAsync(string[] names, object[] values, string[] fieldsFilter);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/DealFieldChange", ReplyAction="http://tempuri.org/IDealService/DealFieldChangeResponse")]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.DateTime[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(int[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
        ConsoleApplication1.sr.ServiceDealOperation DealFieldChange(string names, object values);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/DealFieldChange", ReplyAction="http://tempuri.org/IDealService/DealFieldChangeResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> DealFieldChangeAsync(string names, object values);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/DealFieldAction", ReplyAction="http://tempuri.org/IDealService/DealFieldActionResponse")]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.DateTime[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(int[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
        ConsoleApplication1.sr.ServiceDealOperation DealFieldAction(string fieldName, string action, object val);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/DealFieldAction", ReplyAction="http://tempuri.org/IDealService/DealFieldActionResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> DealFieldActionAsync(string fieldName, string action, object val);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ReloadFields", ReplyAction="http://tempuri.org/IDealService/ReloadFieldsResponse")]
        ConsoleApplication1.sr.ServiceDealOperation ReloadFields();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ReloadFields", ReplyAction="http://tempuri.org/IDealService/ReloadFieldsResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> ReloadFieldsAsync();
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/TryExecuteSTPAction", ReplyAction="http://tempuri.org/IDealService/TryExecuteSTPActionResponse")]
        ConsoleApplication1.sr.ServiceDealOperation TryExecuteSTPAction(string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams flags);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/TryExecuteSTPAction", ReplyAction="http://tempuri.org/IDealService/TryExecuteSTPActionResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> TryExecuteSTPActionAsync(string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams flags);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/CompleteExecuteAction", ReplyAction="http://tempuri.org/IDealService/CompleteExecuteActionResponse")]
        ConsoleApplication1.sr.ServiceDealOperation CompleteExecuteAction(string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams fromUser);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/CompleteExecuteAction", ReplyAction="http://tempuri.org/IDealService/CompleteExecuteActionResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> CompleteExecuteActionAsync(string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams fromUser);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ClickButton", ReplyAction="http://tempuri.org/IDealService/ClickButtonResponse")]
        ConsoleApplication1.sr.ServiceDealOperation ClickButton(string buttonName);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ClickButton", ReplyAction="http://tempuri.org/IDealService/ClickButtonResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> ClickButtonAsync(string buttonName);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/GetEventsSchedule", ReplyAction="http://tempuri.org/IDealService/GetEventsScheduleResponse")]
        ConsoleApplication1.sr.EventsScheduleProxy GetEventsSchedule(string FieldName, bool ShowCanceledEvents);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/GetEventsSchedule", ReplyAction="http://tempuri.org/IDealService/GetEventsScheduleResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.EventsScheduleProxy> GetEventsScheduleAsync(string FieldName, bool ShowCanceledEvents);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ScheduleGetProperty", ReplyAction="http://tempuri.org/IDealService/ScheduleGetPropertyResponse")]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.DateTime[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(int[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
        object ScheduleGetProperty(string FieldName, string property);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ScheduleGetProperty", ReplyAction="http://tempuri.org/IDealService/ScheduleGetPropertyResponse")]
        System.Threading.Tasks.Task<object> ScheduleGetPropertyAsync(string FieldName, string property);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ScheduleGetParameter", ReplyAction="http://tempuri.org/IDealService/ScheduleGetParameterResponse")]
        ConsoleApplication1.sr.ServiceValueResult ScheduleGetParameter(string FieldName, string eventId, string parameter);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ScheduleGetParameter", ReplyAction="http://tempuri.org/IDealService/ScheduleGetParameterResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceValueResult> ScheduleGetParameterAsync(string FieldName, string eventId, string parameter);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/EventStartEdit", ReplyAction="http://tempuri.org/IDealService/EventStartEditResponse")]
        ConsoleApplication1.sr.ServiceDealOperation EventStartEdit(string scheduleField, string eventId, string eventType, System.Nullable<int> eventLeg);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/EventStartEdit", ReplyAction="http://tempuri.org/IDealService/EventStartEditResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> EventStartEditAsync(string scheduleField, string eventId, string eventType, System.Nullable<int> eventLeg);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/EventSaveEdit", ReplyAction="http://tempuri.org/IDealService/EventSaveEditResponse")]
        ConsoleApplication1.sr.ServiceDealOperation EventSaveEdit(string scheduleField, string eventId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/EventSaveEdit", ReplyAction="http://tempuri.org/IDealService/EventSaveEditResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> EventSaveEditAsync(string scheduleField, string eventId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/EventSetValue", ReplyAction="http://tempuri.org/IDealService/EventSetValueResponse")]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.DateTime[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(int[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
        ConsoleApplication1.sr.ServiceDealOperation EventSetValue(string scheduleField, string eventId, string field, object value);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/EventSetValue", ReplyAction="http://tempuri.org/IDealService/EventSetValueResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> EventSetValueAsync(string scheduleField, string eventId, string field, object value);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/EventCancelEdit", ReplyAction="http://tempuri.org/IDealService/EventCancelEditResponse")]
        ConsoleApplication1.sr.ServiceDealOperation EventCancelEdit(string scheduleField, string eventId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/EventCancelEdit", ReplyAction="http://tempuri.org/IDealService/EventCancelEditResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> EventCancelEditAsync(string scheduleField, string eventId);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/EventTryExecuteAction", ReplyAction="http://tempuri.org/IDealService/EventTryExecuteActionResponse")]
        ConsoleApplication1.sr.ServiceDealOperation EventTryExecuteAction(string scheduleField, string eventId, string action, bool execute, ConsoleApplication1.sr.InterActionParams actionParams);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/EventTryExecuteAction", ReplyAction="http://tempuri.org/IDealService/EventTryExecuteActionResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> EventTryExecuteActionAsync(string scheduleField, string eventId, string action, bool execute, ConsoleApplication1.sr.InterActionParams actionParams);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/EventClickButton", ReplyAction="http://tempuri.org/IDealService/EventClickButtonResponse")]
        ConsoleApplication1.sr.ServiceDealOperation EventClickButton(string eventId, string buttonName);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/EventClickButton", ReplyAction="http://tempuri.org/IDealService/EventClickButtonResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> EventClickButtonAsync(string eventId, string buttonName);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/LinkedTradeEvaluateField", ReplyAction="http://tempuri.org/IDealService/LinkedTradeEvaluateFieldResponse")]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.DateTime[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(int[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
        ConsoleApplication1.sr.ServiceDealOperation LinkedTradeEvaluateField(string eventId, string field, object value);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/LinkedTradeEvaluateField", ReplyAction="http://tempuri.org/IDealService/LinkedTradeEvaluateFieldResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> LinkedTradeEvaluateFieldAsync(string eventId, string field, object value);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/LinkedTradeExecuteSTPAction", ReplyAction="http://tempuri.org/IDealService/LinkedTradeExecuteSTPActionResponse")]
        ConsoleApplication1.sr.ServiceDealOperation LinkedTradeExecuteSTPAction(string eventId, string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams fromUser);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/LinkedTradeExecuteSTPAction", ReplyAction="http://tempuri.org/IDealService/LinkedTradeExecuteSTPActionResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> LinkedTradeExecuteSTPActionAsync(string eventId, string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams fromUser);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/PrintTicket", ReplyAction="http://tempuri.org/IDealService/PrintTicketResponse")]
        ConsoleApplication1.sr.ServiceDealOperation PrintTicket(int[] id, ConsoleApplication1.sr.fd_object_type documentType, int cancel_flag);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/PrintTicket", ReplyAction="http://tempuri.org/IDealService/PrintTicketResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> PrintTicketAsync(int[] id, ConsoleApplication1.sr.fd_object_type documentType, int cancel_flag);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/UpdateTradeEndOfDate", ReplyAction="http://tempuri.org/IDealService/UpdateTradeEndOfDateResponse")]
        ConsoleApplication1.sr.ServiceDealOperation UpdateTradeEndOfDate(System.DateTime sysDate, System.Nullable<ConsoleApplication1.sr.deal_type> dealType, int[] tradeID);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/UpdateTradeEndOfDate", ReplyAction="http://tempuri.org/IDealService/UpdateTradeEndOfDateResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> UpdateTradeEndOfDateAsync(System.DateTime sysDate, System.Nullable<ConsoleApplication1.sr.deal_type> dealType, int[] tradeID);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/UpdateTrade", ReplyAction="http://tempuri.org/IDealService/UpdateTradeResponse")]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EventsScheduleProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventProxy))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealField))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AddDealEventContract))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceDealOperation))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceOperationResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ServiceValueResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdTradeBase))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdCashLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdSecLiability))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfoCollection))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportInfo))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ExerciseType))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumRoundingRule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.EnumNovationRole))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstruments))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentColumn))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.TradeInstrumentRow))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.enumFieldTypes))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.International))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.deal_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.instr_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.bo_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.pay_interest))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.settle_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSTypePriceofCurv))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.CDSInputModel))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.DealEventStatus[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.FO_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.risk_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.BO_Param_Status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.AccountingStatus))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ctpt_level))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.fd_object_type))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.trade_ls_status))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.NrdImportState))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(string[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.DateTime[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, object>>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object[]>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(object[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(int[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<object, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.KeyValuePair<string, string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.IdName[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.OperationErrorCode))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParams))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult[]))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.ActionResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionParamSchedule))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(ConsoleApplication1.sr.InterActionLinkedTrade))]
        ConsoleApplication1.sr.ServiceDealOperation UpdateTrade(int tradeID, string[] names, object[] values);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/UpdateTrade", ReplyAction="http://tempuri.org/IDealService/UpdateTradeResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> UpdateTradeAsync(int tradeID, string[] names, object[] values);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/RecalcOpenTrade", ReplyAction="http://tempuri.org/IDealService/RecalcOpenTradeResponse")]
        ConsoleApplication1.sr.ServiceDealOperation RecalcOpenTrade(int tradeId, System.Nullable<System.DateTime> dateFrom, System.DateTime dateTill, System.DateTime sysDate, bool saveToDB);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/RecalcOpenTrade", ReplyAction="http://tempuri.org/IDealService/RecalcOpenTradeResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> RecalcOpenTradeAsync(int tradeId, System.Nullable<System.DateTime> dateFrom, System.DateTime dateTill, System.DateTime sysDate, bool saveToDB);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/BulkTryExecuteSTPAction", ReplyAction="http://tempuri.org/IDealService/BulkTryExecuteSTPActionResponse")]
        ConsoleApplication1.sr.ServiceDealOperation BulkTryExecuteSTPAction(int[] trades, string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams fromUser);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/BulkTryExecuteSTPAction", ReplyAction="http://tempuri.org/IDealService/BulkTryExecuteSTPActionResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> BulkTryExecuteSTPActionAsync(int[] trades, string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams fromUser);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/GetFundingConsolidatedTrade", ReplyAction="http://tempuri.org/IDealService/GetFundingConsolidatedTradeResponse")]
        ConsoleApplication1.sr.ServiceDealOperation GetFundingConsolidatedTrade(int seedTradeId, int[] books);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/GetFundingConsolidatedTrade", ReplyAction="http://tempuri.org/IDealService/GetFundingConsolidatedTradeResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> GetFundingConsolidatedTradeAsync(int seedTradeId, int[] books);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/BulkEventTryExecuteAction", ReplyAction="http://tempuri.org/IDealService/BulkEventTryExecuteActionResponse")]
        ConsoleApplication1.sr.ServiceDealOperation BulkEventTryExecuteAction(int[] eventIDs, string action, bool execute, ConsoleApplication1.sr.InterActionParams actionParams);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/BulkEventTryExecuteAction", ReplyAction="http://tempuri.org/IDealService/BulkEventTryExecuteActionResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> BulkEventTryExecuteActionAsync(int[] eventIDs, string action, bool execute, ConsoleApplication1.sr.InterActionParams actionParams);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ChangeTradeBOStatus", ReplyAction="http://tempuri.org/IDealService/ChangeTradeBOStatusResponse")]
        ConsoleApplication1.sr.ServiceDealOperation ChangeTradeBOStatus(int tradeID, ConsoleApplication1.sr.bo_status boStatus, string SmartId, string AgreementNum, string CommissionNum, string BrokerPactNum, string DateFactPay, int CurrId, string DateFactDelivery);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ChangeTradeBOStatus", ReplyAction="http://tempuri.org/IDealService/ChangeTradeBOStatusResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> ChangeTradeBOStatusAsync(int tradeID, ConsoleApplication1.sr.bo_status boStatus, string SmartId, string AgreementNum, string CommissionNum, string BrokerPactNum, string DateFactPay, int CurrId, string DateFactDelivery);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ChangeTradeLSStatus", ReplyAction="http://tempuri.org/IDealService/ChangeTradeLSStatusResponse")]
        ConsoleApplication1.sr.ServiceDealOperation ChangeTradeLSStatus(int[] tradeIDs, ConsoleApplication1.sr.trade_ls_status lsStatus, string traderName);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ChangeTradeLSStatus", ReplyAction="http://tempuri.org/IDealService/ChangeTradeLSStatusResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> ChangeTradeLSStatusAsync(int[] tradeIDs, ConsoleApplication1.sr.trade_ls_status lsStatus, string traderName);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/BulkAddRateChange", ReplyAction="http://tempuri.org/IDealService/BulkAddRateChangeResponse")]
        ConsoleApplication1.sr.ServiceDealOperation BulkAddRateChange(int[] trades, ConsoleApplication1.sr.DealEventProxy rateChange, string changedField, bool execute, ConsoleApplication1.sr.InterActionParams fromUser);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/BulkAddRateChange", ReplyAction="http://tempuri.org/IDealService/BulkAddRateChangeResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> BulkAddRateChangeAsync(int[] trades, ConsoleApplication1.sr.DealEventProxy rateChange, string changedField, bool execute, ConsoleApplication1.sr.InterActionParams fromUser);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/GetSessionStatus", ReplyAction="http://tempuri.org/IDealService/GetSessionStatusResponse")]
        ConsoleApplication1.sr.ServiceDealOperation GetSessionStatus(bool abort);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/GetSessionStatus", ReplyAction="http://tempuri.org/IDealService/GetSessionStatusResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> GetSessionStatusAsync(bool abort);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ImportBasketRepo", ReplyAction="http://tempuri.org/IDealService/ImportBasketRepoResponse")]
        ConsoleApplication1.sr.NrdImportInfoCollection ImportBasketRepo(ConsoleApplication1.sr.NrdTradeBase nrdTrade);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/ImportBasketRepo", ReplyAction="http://tempuri.org/IDealService/ImportBasketRepoResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.NrdImportInfoCollection> ImportBasketRepoAsync(ConsoleApplication1.sr.NrdTradeBase nrdTrade);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/LoadTradeMonitor", ReplyAction="http://tempuri.org/IDealService/LoadTradeMonitorResponse")]
        ConsoleApplication1.sr.ServiceDealOperation LoadTradeMonitor(int tradeID, System.DateTime horizon, bool loadCancelledEvents, bool extendedAttributes);
        
        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IDealService/LoadTradeMonitor", ReplyAction="http://tempuri.org/IDealService/LoadTradeMonitorResponse")]
        System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> LoadTradeMonitorAsync(int tradeID, System.DateTime horizon, bool loadCancelledEvents, bool extendedAttributes);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public interface IDealServiceChannel : ConsoleApplication1.sr.IDealService, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
    public partial class DealServiceClient : System.ServiceModel.ClientBase<ConsoleApplication1.sr.IDealService>, ConsoleApplication1.sr.IDealService {
        
        public DealServiceClient() {
        }
        
        public DealServiceClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public DealServiceClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public DealServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public DealServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public string InitializeSession(string UserName, string WindowsLoginName, string HostName, string ApplicationName, ConsoleApplication1.sr.International International, string NumberDecimalSeparator, string NumberGroupSeparator, string ShortDatePattern) {
            return base.Channel.InitializeSession(UserName, WindowsLoginName, HostName, ApplicationName, International, NumberDecimalSeparator, NumberGroupSeparator, ShortDatePattern);
        }
        
        public System.Threading.Tasks.Task<string> InitializeSessionAsync(string UserName, string WindowsLoginName, string HostName, string ApplicationName, ConsoleApplication1.sr.International International, string NumberDecimalSeparator, string NumberGroupSeparator, string ShortDatePattern) {
            return base.Channel.InitializeSessionAsync(UserName, WindowsLoginName, HostName, ApplicationName, International, NumberDecimalSeparator, NumberGroupSeparator, ShortDatePattern);
        }
        
        public bool CloseSession() {
            return base.Channel.CloseSession();
        }
        
        public System.Threading.Tasks.Task<bool> CloseSessionAsync() {
            return base.Channel.CloseSessionAsync();
        }
        
        public string CloneDeal(string[] names, object[] values) {
            return base.Channel.CloneDeal(names, values);
        }
        
        public System.Threading.Tasks.Task<string> CloneDealAsync(string[] names, object[] values) {
            return base.Channel.CloneDealAsync(names, values);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation CreateNewDeal(ConsoleApplication1.sr.deal_type dealType, ConsoleApplication1.sr.instr_type instrType, ConsoleApplication1.sr.trade_type tradeType, string fieldsFilter) {
            return base.Channel.CreateNewDeal(dealType, instrType, tradeType, fieldsFilter);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> CreateNewDealAsync(ConsoleApplication1.sr.deal_type dealType, ConsoleApplication1.sr.instr_type instrType, ConsoleApplication1.sr.trade_type tradeType, string fieldsFilter) {
            return base.Channel.CreateNewDealAsync(dealType, instrType, tradeType, fieldsFilter);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation InitiateDeal(string[] names, object[] values) {
            return base.Channel.InitiateDeal(names, values);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> InitiateDealAsync(string[] names, object[] values) {
            return base.Channel.InitiateDealAsync(names, values);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation LoadTrade(int tradeId, bool IsReadonlyMode, string fieldsFilter, bool loadCanceledEvents) {
            return base.Channel.LoadTrade(tradeId, IsReadonlyMode, fieldsFilter, loadCanceledEvents);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> LoadTradeAsync(int tradeId, bool IsReadonlyMode, string fieldsFilter, bool loadCanceledEvents) {
            return base.Channel.LoadTradeAsync(tradeId, IsReadonlyMode, fieldsFilter, loadCanceledEvents);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation DealFieldsChange(string[] names, object[] values, string[] fieldsFilter) {
            return base.Channel.DealFieldsChange(names, values, fieldsFilter);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> DealFieldsChangeAsync(string[] names, object[] values, string[] fieldsFilter) {
            return base.Channel.DealFieldsChangeAsync(names, values, fieldsFilter);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation DealFieldChange(string names, object values) {
            return base.Channel.DealFieldChange(names, values);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> DealFieldChangeAsync(string names, object values) {
            return base.Channel.DealFieldChangeAsync(names, values);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation DealFieldAction(string fieldName, string action, object val) {
            return base.Channel.DealFieldAction(fieldName, action, val);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> DealFieldActionAsync(string fieldName, string action, object val) {
            return base.Channel.DealFieldActionAsync(fieldName, action, val);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation ReloadFields() {
            return base.Channel.ReloadFields();
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> ReloadFieldsAsync() {
            return base.Channel.ReloadFieldsAsync();
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation TryExecuteSTPAction(string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams flags) {
            return base.Channel.TryExecuteSTPAction(stpAction, execute, flags);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> TryExecuteSTPActionAsync(string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams flags) {
            return base.Channel.TryExecuteSTPActionAsync(stpAction, execute, flags);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation CompleteExecuteAction(string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams fromUser) {
            return base.Channel.CompleteExecuteAction(stpAction, execute, fromUser);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> CompleteExecuteActionAsync(string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams fromUser) {
            return base.Channel.CompleteExecuteActionAsync(stpAction, execute, fromUser);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation ClickButton(string buttonName) {
            return base.Channel.ClickButton(buttonName);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> ClickButtonAsync(string buttonName) {
            return base.Channel.ClickButtonAsync(buttonName);
        }
        
        public ConsoleApplication1.sr.EventsScheduleProxy GetEventsSchedule(string FieldName, bool ShowCanceledEvents) {
            return base.Channel.GetEventsSchedule(FieldName, ShowCanceledEvents);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.EventsScheduleProxy> GetEventsScheduleAsync(string FieldName, bool ShowCanceledEvents) {
            return base.Channel.GetEventsScheduleAsync(FieldName, ShowCanceledEvents);
        }
        
        public object ScheduleGetProperty(string FieldName, string property) {
            return base.Channel.ScheduleGetProperty(FieldName, property);
        }
        
        public System.Threading.Tasks.Task<object> ScheduleGetPropertyAsync(string FieldName, string property) {
            return base.Channel.ScheduleGetPropertyAsync(FieldName, property);
        }
        
        public ConsoleApplication1.sr.ServiceValueResult ScheduleGetParameter(string FieldName, string eventId, string parameter) {
            return base.Channel.ScheduleGetParameter(FieldName, eventId, parameter);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceValueResult> ScheduleGetParameterAsync(string FieldName, string eventId, string parameter) {
            return base.Channel.ScheduleGetParameterAsync(FieldName, eventId, parameter);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation EventStartEdit(string scheduleField, string eventId, string eventType, System.Nullable<int> eventLeg) {
            return base.Channel.EventStartEdit(scheduleField, eventId, eventType, eventLeg);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> EventStartEditAsync(string scheduleField, string eventId, string eventType, System.Nullable<int> eventLeg) {
            return base.Channel.EventStartEditAsync(scheduleField, eventId, eventType, eventLeg);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation EventSaveEdit(string scheduleField, string eventId) {
            return base.Channel.EventSaveEdit(scheduleField, eventId);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> EventSaveEditAsync(string scheduleField, string eventId) {
            return base.Channel.EventSaveEditAsync(scheduleField, eventId);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation EventSetValue(string scheduleField, string eventId, string field, object value) {
            return base.Channel.EventSetValue(scheduleField, eventId, field, value);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> EventSetValueAsync(string scheduleField, string eventId, string field, object value) {
            return base.Channel.EventSetValueAsync(scheduleField, eventId, field, value);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation EventCancelEdit(string scheduleField, string eventId) {
            return base.Channel.EventCancelEdit(scheduleField, eventId);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> EventCancelEditAsync(string scheduleField, string eventId) {
            return base.Channel.EventCancelEditAsync(scheduleField, eventId);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation EventTryExecuteAction(string scheduleField, string eventId, string action, bool execute, ConsoleApplication1.sr.InterActionParams actionParams) {
            return base.Channel.EventTryExecuteAction(scheduleField, eventId, action, execute, actionParams);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> EventTryExecuteActionAsync(string scheduleField, string eventId, string action, bool execute, ConsoleApplication1.sr.InterActionParams actionParams) {
            return base.Channel.EventTryExecuteActionAsync(scheduleField, eventId, action, execute, actionParams);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation EventClickButton(string eventId, string buttonName) {
            return base.Channel.EventClickButton(eventId, buttonName);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> EventClickButtonAsync(string eventId, string buttonName) {
            return base.Channel.EventClickButtonAsync(eventId, buttonName);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation LinkedTradeEvaluateField(string eventId, string field, object value) {
            return base.Channel.LinkedTradeEvaluateField(eventId, field, value);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> LinkedTradeEvaluateFieldAsync(string eventId, string field, object value) {
            return base.Channel.LinkedTradeEvaluateFieldAsync(eventId, field, value);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation LinkedTradeExecuteSTPAction(string eventId, string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams fromUser) {
            return base.Channel.LinkedTradeExecuteSTPAction(eventId, stpAction, execute, fromUser);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> LinkedTradeExecuteSTPActionAsync(string eventId, string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams fromUser) {
            return base.Channel.LinkedTradeExecuteSTPActionAsync(eventId, stpAction, execute, fromUser);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation PrintTicket(int[] id, ConsoleApplication1.sr.fd_object_type documentType, int cancel_flag) {
            return base.Channel.PrintTicket(id, documentType, cancel_flag);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> PrintTicketAsync(int[] id, ConsoleApplication1.sr.fd_object_type documentType, int cancel_flag) {
            return base.Channel.PrintTicketAsync(id, documentType, cancel_flag);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation UpdateTradeEndOfDate(System.DateTime sysDate, System.Nullable<ConsoleApplication1.sr.deal_type> dealType, int[] tradeID) {
            return base.Channel.UpdateTradeEndOfDate(sysDate, dealType, tradeID);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> UpdateTradeEndOfDateAsync(System.DateTime sysDate, System.Nullable<ConsoleApplication1.sr.deal_type> dealType, int[] tradeID) {
            return base.Channel.UpdateTradeEndOfDateAsync(sysDate, dealType, tradeID);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation UpdateTrade(int tradeID, string[] names, object[] values) {
            return base.Channel.UpdateTrade(tradeID, names, values);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> UpdateTradeAsync(int tradeID, string[] names, object[] values) {
            return base.Channel.UpdateTradeAsync(tradeID, names, values);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation RecalcOpenTrade(int tradeId, System.Nullable<System.DateTime> dateFrom, System.DateTime dateTill, System.DateTime sysDate, bool saveToDB) {
            return base.Channel.RecalcOpenTrade(tradeId, dateFrom, dateTill, sysDate, saveToDB);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> RecalcOpenTradeAsync(int tradeId, System.Nullable<System.DateTime> dateFrom, System.DateTime dateTill, System.DateTime sysDate, bool saveToDB) {
            return base.Channel.RecalcOpenTradeAsync(tradeId, dateFrom, dateTill, sysDate, saveToDB);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation BulkTryExecuteSTPAction(int[] trades, string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams fromUser) {
            return base.Channel.BulkTryExecuteSTPAction(trades, stpAction, execute, fromUser);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> BulkTryExecuteSTPActionAsync(int[] trades, string stpAction, bool execute, ConsoleApplication1.sr.InterActionParams fromUser) {
            return base.Channel.BulkTryExecuteSTPActionAsync(trades, stpAction, execute, fromUser);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation GetFundingConsolidatedTrade(int seedTradeId, int[] books) {
            return base.Channel.GetFundingConsolidatedTrade(seedTradeId, books);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> GetFundingConsolidatedTradeAsync(int seedTradeId, int[] books) {
            return base.Channel.GetFundingConsolidatedTradeAsync(seedTradeId, books);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation BulkEventTryExecuteAction(int[] eventIDs, string action, bool execute, ConsoleApplication1.sr.InterActionParams actionParams) {
            return base.Channel.BulkEventTryExecuteAction(eventIDs, action, execute, actionParams);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> BulkEventTryExecuteActionAsync(int[] eventIDs, string action, bool execute, ConsoleApplication1.sr.InterActionParams actionParams) {
            return base.Channel.BulkEventTryExecuteActionAsync(eventIDs, action, execute, actionParams);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation ChangeTradeBOStatus(int tradeID, ConsoleApplication1.sr.bo_status boStatus, string SmartId, string AgreementNum, string CommissionNum, string BrokerPactNum, string DateFactPay, int CurrId, string DateFactDelivery) {
            return base.Channel.ChangeTradeBOStatus(tradeID, boStatus, SmartId, AgreementNum, CommissionNum, BrokerPactNum, DateFactPay, CurrId, DateFactDelivery);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> ChangeTradeBOStatusAsync(int tradeID, ConsoleApplication1.sr.bo_status boStatus, string SmartId, string AgreementNum, string CommissionNum, string BrokerPactNum, string DateFactPay, int CurrId, string DateFactDelivery) {
            return base.Channel.ChangeTradeBOStatusAsync(tradeID, boStatus, SmartId, AgreementNum, CommissionNum, BrokerPactNum, DateFactPay, CurrId, DateFactDelivery);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation ChangeTradeLSStatus(int[] tradeIDs, ConsoleApplication1.sr.trade_ls_status lsStatus, string traderName) {
            return base.Channel.ChangeTradeLSStatus(tradeIDs, lsStatus, traderName);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> ChangeTradeLSStatusAsync(int[] tradeIDs, ConsoleApplication1.sr.trade_ls_status lsStatus, string traderName) {
            return base.Channel.ChangeTradeLSStatusAsync(tradeIDs, lsStatus, traderName);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation BulkAddRateChange(int[] trades, ConsoleApplication1.sr.DealEventProxy rateChange, string changedField, bool execute, ConsoleApplication1.sr.InterActionParams fromUser) {
            return base.Channel.BulkAddRateChange(trades, rateChange, changedField, execute, fromUser);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> BulkAddRateChangeAsync(int[] trades, ConsoleApplication1.sr.DealEventProxy rateChange, string changedField, bool execute, ConsoleApplication1.sr.InterActionParams fromUser) {
            return base.Channel.BulkAddRateChangeAsync(trades, rateChange, changedField, execute, fromUser);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation GetSessionStatus(bool abort) {
            return base.Channel.GetSessionStatus(abort);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> GetSessionStatusAsync(bool abort) {
            return base.Channel.GetSessionStatusAsync(abort);
        }
        
        public ConsoleApplication1.sr.NrdImportInfoCollection ImportBasketRepo(ConsoleApplication1.sr.NrdTradeBase nrdTrade) {
            return base.Channel.ImportBasketRepo(nrdTrade);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.NrdImportInfoCollection> ImportBasketRepoAsync(ConsoleApplication1.sr.NrdTradeBase nrdTrade) {
            return base.Channel.ImportBasketRepoAsync(nrdTrade);
        }
        
        public ConsoleApplication1.sr.ServiceDealOperation LoadTradeMonitor(int tradeID, System.DateTime horizon, bool loadCancelledEvents, bool extendedAttributes) {
            return base.Channel.LoadTradeMonitor(tradeID, horizon, loadCancelledEvents, extendedAttributes);
        }
        
        public System.Threading.Tasks.Task<ConsoleApplication1.sr.ServiceDealOperation> LoadTradeMonitorAsync(int tradeID, System.DateTime horizon, bool loadCancelledEvents, bool extendedAttributes) {
            return base.Channel.LoadTradeMonitorAsync(tradeID, horizon, loadCancelledEvents, extendedAttributes);
        }
    }
}
