| | |
| | | string value = this.GetKeyValue("people_status", dicList); |
| | | if (string.IsNullOrEmpty(value)) |
| | | { |
| | | inputView.btnState.Text = LogicMethod.Current.getTimeStr(inputCondition.hold_time).Replace("0s",""); |
| | | inputView.btnState.Text = LogicMethod.Current.getTimeStr(inputCondition.hold_time).Replace("0s", ""); |
| | | break; |
| | | |
| | | } |
| | |
| | | int time = int.Parse(inputCondition.hold_time); |
| | | inputView.btnState.Text += "持续" + LogicMethod.Current.getTimeStr(inputCondition.hold_time).Replace("0s", ""); |
| | | } |
| | | if (!string.IsNullOrEmpty(inputCondition.detect_type)) |
| | | { |
| | | if (inputCondition.detect_type == "1") |
| | | { |
| | | inputView.btnState.Text += "," + Language.StringByID(StringId.gaibiancaizhixing); |
| | | } |
| | | else |
| | | { |
| | | inputView.btnState.Text += "," + Language.StringByID(StringId.shoudaojiuzhixing); |
| | | } |
| | | } |
| | | |
| | | |
| | | } |