Loading页面渐隐
This commit is contained in:
1 parent
10c82703f4
commit
018699c944
8 files changed
+3778
-3473
No files matched your search
@@ -9,6 +9,18 @@ namespace Assets.Scenes.Ride.Scripts
|
||||
{
|
||||
public class DeviceServiceMonoBase: MonoBehaviour
|
||||
{
|
||||
public void TrackResistance(double grade)
|
||||
{
|
||||
//if (!ConfigHelper.IsNeedContectedToDevice)
|
||||
//{
|
||||
// return;
|
||||
//}
|
||||
var device = (_device as FitDevice);
|
||||
if (device != null)
|
||||
{
|
||||
device.SetTrackResistance(grade);
|
||||
}
|
||||
}
|
||||
#region 获取设备数据
|
||||
/// <summary>
|
||||
/// 更新速度(KM/H)
|
||||
|
||||
Reference in new issue
Block a user