继骑&重骑骑行结果页细节调整
This commit is contained in:
1 parent
018699c944
commit
afba150d91
34 files changed
+3601
-2379
No files matched your search
@@ -11,10 +11,15 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
{
|
||||
public void TrackResistance(double grade)
|
||||
{
|
||||
//if (!ConfigHelper.IsNeedContectedToDevice)
|
||||
//{
|
||||
// return;
|
||||
//}
|
||||
if (grade > 10)
|
||||
{
|
||||
grade = 10;
|
||||
}
|
||||
if (grade <-10 )
|
||||
{
|
||||
grade = -10;
|
||||
}
|
||||
|
||||
var device = (_device as FitDevice);
|
||||
if (device != null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user