/// <summary> /// 是否设置产能 /// </summary> /// <returns></returns> public bool IsSet() { return((!DeviceModel.IsNullOrEmpty() && !DeviceNumber.IsNullOrEmpty() && !DeviceSingle.IsNullOrEmpty() && !DeviceRate.IsNullOrEmpty() && !DeviceWorkTime.IsNullOrEmpty() && !DeviceProductTime.IsNullOrEmpty() && !DeviceSingleCount.IsNullOrEmpty()) || (!OperatorLevel.IsNullOrEmpty() && !OperatorNumber.IsNullOrEmpty() && !OperatorSingle.IsNullOrEmpty() && !OperatorRate.IsNullOrEmpty() && !OperatorWorkTime.IsNullOrEmpty() && !OperatorProductTime.IsNullOrEmpty() && !OperatorSingleCount.IsNullOrEmpty())); }