Example #1
0
 public void SetProjectCodeStatus(CellDataStatus status)
 {
     if (this.CellDatas.Count > 0)
     {
         var item = this.CellDatas.FirstOrDefault(r => r.ColName == "项目编码");
         if (item != null)
         {
             item.Status = (int)status;
             this.Status = this.Status + (int)status;
         }
     }
 }
Example #2
0
 public void SetSinglePriceStatus(CellDataStatus status)
 {
     if (this.CellDatas.Count > 0)
     {
         var item = this.CellDatas.FirstOrDefault(r => r.ColName == "综合单价");
         if (item != null)
         {
             item.Status = (int)status;
             this.Status = this.Status + (int)status;
         }
     }
 }