| | |
| | | var row1 = new FrameRowControl(listView.rowSpace / 2); |
| | | listView.AddChidren(row1); |
| | | row1.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uSensorSettion), 500); |
| | | row1.AddRightIconControl(); |
| | | row1.AddRightArrow(); |
| | | row1.AddBottomLine(); |
| | | row1.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | |
| | | var row2 = new FrameRowControl(listView.rowSpace / 2); |
| | | listView.AddChidren(row2); |
| | | row2.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uAlarmTargetSettion), 500); |
| | | row2.AddRightIconControl(); |
| | | row2.AddRightArrow(); |
| | | row2.AddBottomLine(); |
| | | row2.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | |
| | | var row3 = new FrameRowControl(listView.rowSpace / 2);
|
| | | listView.AddChidren(row3);
|
| | | row3.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uDelayedSettion), 500);
|
| | | row3.AddRightIconControl();
|
| | | row3.AddRightArrow();
|
| | | row3.AddBottomLine();
|
| | | row3.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | |
| | | listView.AddChidren(row4);
|
| | | row4.AddLeftCaption(Language.StringByID(R.MyInternationalizationString.uInformationPush), 500);
|
| | | //开关图标
|
| | | var btnSwicth = row4.AddMostRightEmptyIcon(104, 63);
|
| | | btnSwicth.UnSelectedImagePath = "Item/Switch.png";
|
| | | btnSwicth.SelectedImagePath = "Item/SwitchSelected.png";
|
| | | var btnSwicth = row4.AddMostRightSwitchIcon();
|
| | | btnSwicth.IsSelected = HdlSafeguardLogic.Current.GetGarrisonInformationPushStatu(this.zoonID) == 0;
|
| | | btnSwicth.ButtonClickEvent += (sender, e) =>
|
| | | {
|