What the invention claimed is:
1. A motorcycle stand control mechanism comprising:
a vehicle motion detector installed in a motorcycle, said vehicle motion detector comprising a casing, said casing comprising two threaded necks at two distal ends, two screw caps respectively threaded onto said threaded necks to secure two sleeves to said casing, a transmission line inserted through said sleeves and said casing and connected to the vehicle mileage meter of the motorcycle, a rotor mounted in said casing for synchronous rotation with said transmission line, said rotor comprising an axial hole, which receives said transmission line, an outside annular groove around the periphery thereof, and two bottom notches, a rotary driven member fixedly mounted on one end of said rotor inside said casing around said transmission line, said rotary driven member having a plurality of magnets alternatively arranged around the periphery thereof in reversed directions, two clamping plates respectively mounted in said bottom notches of said rotor and clamped on said transmission line, a C-shaped clamp fastened to the outside annular groove of said rotor to fixedly secure said clamping plates, said transmission line and said rotor together, and a circuit board disposed near one side of said casing, said circuit board comprising sensor means adapted to act with the magnets of said rotary driven member; and
a motor-driven motorcycle stand installed in the motorcycle in which said vehicle motion detector is installed, and controlled to move between the operative position and the non-operative position;
wherein when the motorcycle started, said transmission line is rotated with the mileage meter of the motorcycle, and said rotary driven member is rotated with said rotor to induce said sensor, causing said sensor means to output a first control signal to turn said motor-driven motorcycle stand from the operative position to the non-operative position; when the motorcycle stopped, said rotor and said rotary driven member are stopped, and said sensor means receives no signal from said rotary driven member, thereby causing said sensor means to output a second control signal to turn said motor-driven motorcycle stand from the operative position to the non-operative position.
2. The motorcycle stand control mechanism as claimed in claim 1 wherein said motor-driven motorcycle stand comprises a bracket fixedly fastened to the frame of the motorcycle in which said vehicle motion detector is installed, a holder mounted on said bracket, a motor mounted on said holder and electrically connected to said circuit board and controlled to operate by said sensor means, an axle mounted in said holder, a drive gear coupled to said motor, a driven gear fixedly mounted on said axle and meshed with said drive gear for enabling said axle to be rotated upon operation of said motor, a bushing sleeved onto said axle, a stand pivoted to said bushing, an arm, said arm having one end fixedly fastened to one end of said axle and an opposite end connected to a part of said stand by a tensile spring, two limit switches mounted in said holder and adapted to control forwardbackward rotation of said motor, and an actuating screw fixedly mounted on said axle and turned with said axle to touch said limit switches alternatively.
3. The motorcycle stand control mechanism as claimed in claim 1 wherein said sensor means is a Hall transistor.
4. The motorcycle stand control mechanism as claimed in claim 1, wherein said sensor means is a solenoid switch.
5. The motorcycle stand control mechanism as claimed in claim 1, wherein said rotary driven member has a plurality of reflective and non-reflective faces alternatively arranged around the periphery thereof, and said sensor means is a photosensitive transistor adapted to active with the reflective faces of said rotary driven member.
6. The motorcycle stand control mechanism as claimed in claim 1, wherein said rotary driven member has a plurality of inductive and non-inductive faces alternatively arranged around the periphery thereof, and said sensor means is a proximity switch adapted to act with the inductive faces of said rotary driven member.
7. The motorcycle stand control mechanism as claimed in claim 2, further comprising a control switch installed in the motorcycle, in which said vehicle motion detector is installed, for directly controlling the operation of the motor of said motor-driven motorcycle stand to turn the stand of said motor-driven motorcycle stand between the operative position and the non-operative position such that when the stand of said motor-driven motorcycle stand turned to the operative or non-operative position, said actuating screw triggers one of said limit switches to cut off power supply from the motor of said motor-driven motorcycle stand.
8. A motorcycle stand control mechanism comprising a rotor fixedly mounted on the power output shaft of the power output gear wheel of the engine of a motorcycle, a rotary driven member fastened to one end of said rotor, said rotary driven member having a plurality of magnets alternatively arranged around the periphery thereof in reversed directions, a circuit board fixedly provided near one side of said rotary driven member, said circuit board comprising sensor means adapted to act with the magnets of said rotary driven member upon rotary motion of the output gear wheel of the motorcycle and to output a corresponding control signal to control means of the motorcycle.
9. The motorcycle stand control mechanism as claimed in claim 8, wherein said sensor means is a Hall transistor.
10. The motorcycle stand control mechanism as claimed in claim 8, wherein said sensor means is a solenoid switch.
11. A motorcycle stand control mechanism comprising an annular rotary driven member installed in one side of the hub of the front wheel of a motorcycle for synchronous rotation with the hub, said rotary driven member having a plurality of magnets alternatively arranged around the periphery thereof in reversed directions; and a circuit board installed in the front shock-absorber of the motorcycle, said circuit board comprising sensor means adapted to active with the magnets of said rotary driven member and to output a corresponding control signal to control means of the motorcycle.
12. The motorcycle stand control mechanism as claimed in claim 1, wherein said sensor means is a Hall transistor.
13. The motorcycle stand control mechanism as claimed in claim 1, wherein said sensor means is a solenoid switch.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A method for testing an application, comprising:
receiving metadata from the application, the metadata being associated with one or more layers of the application;
using the metadata to develop a script configured to test a feature of an application model; and
converting the metadata to develop another script configured to test another feature of the application model, wherein the another script is generated by the test framework.
2. The method recited in claim 1, wherein the one or more layers of the application includes a business layer.
3. The method recited in claim 1, wherein the one or more layers of the application includes a presentation layer.
4. The method recited in claim 1, wherein the one or more layers of the application includes an application layer.
5. The method recited in claim 1, wherein the one or more layers of the application includes an integration layer.
6. The method recited in claim 1, wherein the one or more layers of the applications includes an architectural layer of a system under test.
7. The method recited in claim 1, wherein the metadata is loaded into a loader, the loader being configured to convert the metadata.
8. The method recited in claim 1, wherein using the metadata further comprises manually entering metadata using an editor.
9. The method recited in claim 1, wherein the test framework is configured to manipulate metadata automatically or by using an editor.
10. The method recited in claim 1, wherein the metadata associated with a business layer includes an object.
11. The method recited in claim 1, wherein the metadata associated with a presentation layer includes metadata gathered in response to a request.
12. The method recited in claim 1, wherein the metadata associated with a presentation layer includes metadata gathered from a user interface.
13. The method recited in claim 1, wherein the application is an enterprise application.
14. The method recited in claim 1, wherein the feature is performance of the application.
15. The method recited in claim 1, wherein the metadata is exported from the application to the test framework using an adapter.
16. The method recited in claim 15, wherein the adapter is a model adapter.
17. The method recited in claim 15, wherein the adapter is an interface adapter.
18. The method recited in claim 15, wherein the adapter is an object adapter.
19. A system for testing an application, comprising:
a memory configured to store data associated with the application, the data including metadata;
a processor configured to receive metadata from the application, the metadata being associated with one or more layers of the application, using the metadata to develop a script configured to test a feature of an application model, and converting the metadata to develop another script configured to test another feature of the application model, wherein the another script is generated by the test framework.
20. A computer program product for testing an application, the computer program product being embodied in a computer readable medium and comprising computer instructions for:
receiving metadata from the application, the metadata being associated with one or more layers of the application;
using the metadata to develop a script configured to test a feature of an application model; and
converting the metadata to develop another script configured to test another feature of the application model, wherein the another script is generated by the test framework.