Homework get set property setting (code)

// //1. Define a time class TIme that requires the following member variables (attributes) and methods:
// //1) The .deltaTIme property, which only has a get accessor, can return the time of each frame (1/60 seconds);
// //2). The TImeScale property has a get/set accessor that returns the current time scale (default is 1);
// //3). Customize a method to output the ratio of the current time. If it is greater than 1, the output is "fast forward". If it is less than 1, the output is "slow". If it is equal to 1 output is normal.
// // time of each frame; time ratio 1 is 1s = 60fps, 0.5 is 1s=60*0.5fps, 1.5 is 1s=60*1.5fps
// public class TIme
// {
// // Fields are written together, attributes are written together
// //Attribute: Limit a private field
// private float deltaTime;//Private field
// private float timeScale = 1f;//Private field
//
// //Attributes
// public float DeltaTime{
// get{
//deltaTime = 1f / 60;
// return deltaTime;
// }
// }
// //Attributes
// public float TimeScale{
// get{
// return timeScale;
// }
// set{
// timeScale = value;
// }
// }
// //method
// public void TimeStatu(){
// if (timeScale > 1) {
// Console.WriteLine ("fast forward");
// } else if (timeScale == 1) {
// Console.WriteLine ("normal");
// } else {
// Console.WriteLine ("slow release");
// }
// }
//
// }

Disposable Vape

The utility model provides a disposable electronic cigarette, comprising: a hollow shell, the bottom of the shell is provided with a lower cover; the shell contains an atomizer, and the outer side of the atomizer is sheathed with a disposable cigarette A bomb, a microphone cover is arranged under the atomizer, a microphone is covered under the microphone cover, a battery is arranged on one side of the atomizer, and an upper cover is arranged on the top of the casing; The atomizer includes an atomizing corThe utility model provides a disposable electronic cigarette, comprising: a hollow shell, the bottom of the shell is provided with a lower cover; the shell contains an atomizer, and the outer side of the atomizer is sheathed with a disposable cigarette A bomb, a microphone cover is arranged under the atomizer, a microphone is covered under the microphone cover, a battery is arranged on one side of the atomizer, and an upper cover is arranged on the top of the casing; The atomizer includes an atomizing core, an oil-absorbing cotton sleeved on the outside of the atomizing core, and an atomizer outer tube sleeved on the outside of the oil-absorbing cotton. The disposable electronic cigarette provided by the utility model absorbs the smoke oil on the surface through the absorbing cotton, and then atomizes the smoke through the atomizing core, which greatly reduces the risk of oil leakage, at the same time, reduces the burning of cotton and ensures the smoking taste.e, an oil-absorbing cotton sleeved on the outside of the atomizing core, and an atomizer outer tube sleeved on the outside of the oil-absorbing cotton. The disposable electronic cigarette provided by the utility model absorbs the smoke oil on the surface through the absorbing cotton, and then atomizes the smoke through the atomizing core, which greatly reduces the risk of oil leakage, at the same time, reduces the burning of cotton and ensures the smoking taste.

disposable vape,vape pen,vape accessories,vape store,vape battery,e-cigarettes,Disposable Pod

Suizhou simi intelligent technology development co., LTD , https://www.msmsmart.com

Posted on