Salary & Govt. Concessions for a Member of NATIONAL ASSEMBLY (MNA)
1. Monthly Salary: Rs. 120,000 to 200,000
2. Expense for Constitution per month: Rs. 100,000
3. Office expenditure per month: Rs. 140,000
4. Traveling allowance (Rs. 8 per km): Rs. 48,000 (For a visit to ISLAMABAD & return): 6000 km
5. Daily BETA during Assembly meets: Rs. 500
6. Charge for 1st class (A/C) in train: Free (For any number of times all over PAKISTAN)
7. Charge for Business Class in flights: Free for 40 trips / year (With wife or P.A.)
8. Rent for Govt. hostel any where: Free
9. Electricity costs at home: Free up to 50,000 units
10. Local phone call charge: Free up to 170,000 calls
TOTAL expense for a MNA per year: Rs. 32,000,000
TOTAL expense for 5 years: Rs. 160,000,000
For 534 MNA, the expense for 5 years: Rs. 85,440,000,000 (more than 800 corores)
And they are elected by THE PEOPLE OF PAKISTAN, through a democratic process of this world, not intruded into the assembly on their own or by any qualification.
This is how all our tax money is been swallowed and price hike on our regular commodities...
Think of the great democracy we have.............
Best Regards,
Faran
Friday, November 7, 2008
Thursday, September 25, 2008
Obtaining new TA values by forcing handover
Recently we discussed that if a handover occurred during the call, it would be possible to calculate the distance from each of the base stations using the TA values for the stations before and after the handover. Assuming that the MS has not moved during the handover procedure, these distances can be used to calculate the position of the MS. To make such measurements reliable, it is needed to find a procedure for forcing the MS to perform handover. If such a procedure is found, the MSLC can obtain the signal strength and TA values from the serving BTS.
Now is it possible to force such handovers in GSM? GSM defines a forcedHO command, designed for forcing the handover of all MS's camping on a BTS or TRX for shutdown of that entity. A forced handover command for a single channel is not defined. It is therefore evident that a forced handover will touch not only the MS being located, but also other MSs camping on that entity. Since it is highly undesirable to close down an entire BTS, the emphTRX forcedHO must be issued in the MSL case. Issuing this command will result in a forced handover of the MSs camping on any of the eight channels of this TRX. Since the serving BTS is the strongest, the handover will most probably result in the MSs being handed over to other TRXs in the same BTS. This is undesirable since the reason for the forced handover was to obtain TA values from another BTSs.
The handover to another BTS can be forced by changing the adjacentCellHandover value in the first BTS, so handover within a BTS is no longer possible, before the forced handover is performed. The forced handover will then result in a handover of the MS being located to another BTS. However, the other MSs on the same TRX will also be forced to handover, and these might not be in a location where other BTSs can be reached. For these MSs, the connection will be lost.
So the possibility exists but the cost to locate an MS is very high. Also this is possible only in dedicated mode. For passive mode or historic measurements we will still have to resort to distance estimation using Path Loss Models.
Best Regards,
Faran
[Ref: BSS Management Information. ETS 300 622 (GSM 12.20), ETSI recommendation, 1996.]
Now is it possible to force such handovers in GSM? GSM defines a forcedHO command, designed for forcing the handover of all MS's camping on a BTS or TRX for shutdown of that entity. A forced handover command for a single channel is not defined. It is therefore evident that a forced handover will touch not only the MS being located, but also other MSs camping on that entity. Since it is highly undesirable to close down an entire BTS, the emphTRX forcedHO must be issued in the MSL case. Issuing this command will result in a forced handover of the MSs camping on any of the eight channels of this TRX. Since the serving BTS is the strongest, the handover will most probably result in the MSs being handed over to other TRXs in the same BTS. This is undesirable since the reason for the forced handover was to obtain TA values from another BTSs.
The handover to another BTS can be forced by changing the adjacentCellHandover value in the first BTS, so handover within a BTS is no longer possible, before the forced handover is performed. The forced handover will then result in a handover of the MS being located to another BTS. However, the other MSs on the same TRX will also be forced to handover, and these might not be in a location where other BTSs can be reached. For these MSs, the connection will be lost.
So the possibility exists but the cost to locate an MS is very high. Also this is possible only in dedicated mode. For passive mode or historic measurements we will still have to resort to distance estimation using Path Loss Models.
Best Regards,
Faran
[Ref: BSS Management Information. ETS 300 622 (GSM 12.20), ETSI recommendation, 1996.]
Tuesday, September 16, 2008
Forcing cell phones to camp on different sites
I will be exploring possibilities to make a cell phone camp on other BTS other than the primary one. If anyone out there has a hint please do leave a comment here.
I will be posting the solution as soon as I find out.
Best Regards,
Faran
I will be posting the solution as soon as I find out.
Best Regards,
Faran
Monday, September 1, 2008
How to load an assembly dynamically and call its methods using reflections
Following my previous post on compiling assemblies dynamically. Here is how we load them and call their methods once compiled successfully.
include these files
using System.Reflection;
using System.Security.Permissions;
Here is the code:
Assembly myAssembly = Assembly.LoadFrom(myAssemblyPath);
BindingFlags flags = (BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.DeclaredOnly);
Module [] myModules = myAssembly.GetModules();
foreach (Module Mo in myModules) {
if (Mo.Name.Equals(myAssemblyName)){
Type[] myTypes = Mo.GetTypes();
foreach (Type Ty in myTypes){
if (Ty.Name == TypeName) {
MethodInfo[] myMethodInfo = Ty.GetMethods(flags);
foreach(MethodInfo Mi in myMethodInfo){
if (Mi.Name == MethodName) {
Object obj = Activator.CreateInstance(Ty);
Object response = Mi.Invoke(obj, null);
}
}
}
}
}
}
Best Regards,
Faran
include these files
using System.Reflection;
using System.Security.Permissions;
Here is the code:
Assembly myAssembly = Assembly.LoadFrom(myAssemblyPath);
BindingFlags flags = (BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static | BindingFlags.Instance | BindingFlags.DeclaredOnly);
Module [] myModules = myAssembly.GetModules();
foreach (Module Mo in myModules) {
if (Mo.Name.Equals(myAssemblyName)){
Type[] myTypes = Mo.GetTypes();
foreach (Type Ty in myTypes){
if (Ty.Name == TypeName) {
MethodInfo[] myMethodInfo = Ty.GetMethods(flags);
foreach(MethodInfo Mi in myMethodInfo){
if (Mi.Name == MethodName) {
Object obj = Activator.CreateInstance(Ty);
Object response = Mi.Invoke(obj, null);
}
}
}
}
}
}
Best Regards,
Faran
Labels:
C# .NET
Subscribe to:
Posts (Atom)