//根据超时 时间 发送短信给 操作员和公司负责人 private void sendNetNotStatusMsg(string time) { MechineUtil.updateMechineStatus(id, "1"); DataTable da = getJiQiDetail(); if (da != null && da.Rows.Count > 0) { string operaID = da.Rows[0]["dls"].ToString(); string companyID = da.Rows[0]["companyID"].ToString(); string companyPhone = getCompanyPhone(companyID); string operaPhone = getOperaPhone(operaID); if (!string.IsNullOrEmpty(companyPhone)) { Util.log(id + "time:{" + time + "},发送超时短信", id + "jiQiOutTime.txt"); OperUtil.sendMessage1(companyPhone, name, ((int)(int.Parse(time) / 60)).ToString()); } if (!string.IsNullOrEmpty(operaPhone)) { Util.log(id + "time:{" + time + "},发送超时短信", id + "jiQiOutTime.txt"); OperUtil.sendMessage1(operaPhone, name, ((int)(int.Parse(time) / 60)).ToString()); } } }