old mode 100755
new mode 100644
| | |
| | | if (this.CheckCanShowFunctionSettionRow() == true)
|
| | | {
|
| | | //添加【功能设置】行
|
| | | if (deviceEnumInfo.ConcreteType == DeviceConcreteType.Sensor_PMTwoPointFive)
|
| | | {
|
| | | //PM传感器
|
| | | this.AddFunctionSettionRowPM();
|
| | | }
|
| | | else
|
| | | {
|
| | | this.AddFunctionSettionRow();
|
| | | }
|
| | |
|
| | | if (deviceEnumInfo.ConcreteType == DeviceConcreteType.Sensor_PMTwoPointFive) |
| | | { |
| | | //PM传感器 |
| | | this.AddFunctionSettionRowPM(); |
| | | } |
| | | else |
| | | { |
| | | this.AddFunctionSettionRow(); |
| | | } |
| | | |
| | | }
|
| | |
|
| | | //添加【干接点设置】行
|
| | |
| | | /// 添加传感器【功能设置】行
|
| | | /// </summary>
|
| | | private void AddFunctionSettionRowPM()
|
| | | {
|
| | | //功能设置
|
| | | { |
| | | //功能设置 |
| | | string caption = Language.StringByID(R.MyInternationalizationString.uFunctionSettingUp);
|
| | | var btnFunction = new FrameRowControl(listview.rowSpace / 2);
|
| | | listview.AddChidren(btnFunction);
|
| | |
| | | //底线
|
| | | btnFunction.AddBottomLine();
|
| | | btnFunction.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | var form = new DeviceFunctionSettionForm();
|
| | | { |
| | | var form = new DeviceFunctionSettionForm(); |
| | | form.AddForm(listNewDevice[0], false);
|
| | | };
|
| | | }
|