简体   繁体   中英

Heart Rate Monitor Simulator

I am working on a Windows Phone Application. I need to develop a heart rate simulator using C#. This simulator will generate a value (BPM). Every time a value is generated, I will send it to my SQL-Azure database. I've done some searching but can not find anything that will help me simulate this.

I am working on a Windows Phone Application

Do phones using Windows Phone have inbuilt heart rate monitors?

What you seem to say is:

  • I need to come up with a number out of thin air

    simulator will generate a value (BPM)

  • then send this value to a SQL database.

I'll leave the "why would you want to do this" part out.

Your best bet is to find a list of typical BPM for various situations and generate a number, randomly, near these values.

You can sort of detect which situation you are in by using the accelerometer. If it says the phone is moving like crazy then select the "running" BPM, otherwise choose "sitting down" or "slow walk".

You can use your favorite search engine to look for "ECG wave simulator" to add some extra realism.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM