| | |
| | | /// <param name="frameLayout">弹窗父控件</param> |
| | | /// <param name="stateValue">之前状态值</param> |
| | | /// <param name="action">返回结果</param> |
| | | public void FLayoutView(FrameLayout frameLayout, string stateValue, Action<string> action) |
| | | public void FLayoutView(FrameLayout frameLayout, string stateValue, Action<string> action,int min,int max) |
| | | { |
| | | FrameLayout frame = new FrameLayout |
| | | { |
| | |
| | | }; |
| | | //初始化列表 |
| | | var temperatureList = new List<string>(); |
| | | for (int i = 16; i < 32; i++) |
| | | for (int i = min; i < max; i++) |
| | | { |
| | | //添加数据 |
| | | temperatureList.Add(i.ToString() + "℃"); |