安全报表增加系统外工时统计
This commit is contained in:
@@ -45,6 +45,7 @@ namespace BLL
|
||||
ContractorNum = millionsMonthlyReport.ContractorNum,
|
||||
SumPersonNum = millionsMonthlyReport.SumPersonNum,
|
||||
TotalWorkNum = millionsMonthlyReport.TotalWorkNum,
|
||||
OutSideUnitWorkNum = millionsMonthlyReport.OutSideUnitWorkNum,
|
||||
DeathAccidentNum = millionsMonthlyReport.DeathAccidentNum,
|
||||
DeathAccidentPersonNum = millionsMonthlyReport.DeathAccidentPersonNum,
|
||||
DeathAccidentLossHour = millionsMonthlyReport.DeathAccidentLossHour,
|
||||
@@ -115,6 +116,7 @@ namespace BLL
|
||||
newMillionsMonthlyReport.ContractorNum = millionsMonthlyReport.ContractorNum;
|
||||
newMillionsMonthlyReport.SumPersonNum = millionsMonthlyReport.SumPersonNum;
|
||||
newMillionsMonthlyReport.TotalWorkNum = millionsMonthlyReport.TotalWorkNum;
|
||||
newMillionsMonthlyReport.OutSideUnitWorkNum = millionsMonthlyReport.OutSideUnitWorkNum;
|
||||
newMillionsMonthlyReport.DeathAccidentNum = millionsMonthlyReport.DeathAccidentNum;
|
||||
newMillionsMonthlyReport.DeathAccidentPersonNum = millionsMonthlyReport.DeathAccidentPersonNum;
|
||||
newMillionsMonthlyReport.DeathAccidentLossHour = millionsMonthlyReport.DeathAccidentLossHour;
|
||||
|
||||
@@ -77,8 +77,9 @@
|
||||
PlanCostA = projectUnit.PlanCostA,
|
||||
PlanCostB = projectUnit.PlanCostB,
|
||||
ContractRange = projectUnit.ContractRange,
|
||||
RealNamePushTime= projectUnit.RealNamePushTime,
|
||||
RealNamePushTime = projectUnit.RealNamePushTime,
|
||||
IsSynchro = projectUnit.IsSynchro,
|
||||
IsOutSideUnit = projectUnit.IsOutSideUnit,
|
||||
};
|
||||
db.Project_ProjectUnit.InsertOnSubmit(newProjectUnit);
|
||||
db.SubmitChanges();
|
||||
@@ -102,6 +103,7 @@
|
||||
newProjectUnit.ContractRange = projectUnit.ContractRange;
|
||||
newProjectUnit.RealNamePushTime = projectUnit.RealNamePushTime;
|
||||
newProjectUnit.IsSynchro = projectUnit.IsSynchro;
|
||||
newProjectUnit.IsOutSideUnit = projectUnit.IsOutSideUnit;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11219,543 +11219,737 @@ namespace BLL.CNCECHSSEService {
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Name="Information_MillionsMonthlyReportItem", Namespace="http://schemas.datacontract.org/2004/07/BLL.OpenService")]
|
||||
[System.SerializableAttribute()]
|
||||
public partial class Information_MillionsMonthlyReportItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
public partial class Information_MillionsMonthlyReportItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
|
||||
{
|
||||
|
||||
[System.NonSerializedAttribute()]
|
||||
private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string AffiliationField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> AttemptedEventNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> ContractorNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> EquipmentNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> ExplosionNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> FireNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> FirstAidDressingsNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> LossDayNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> MedicalTreatmentLossHourField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> MedicalTreatmentPersonNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string UnitIdField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string ProjectIdField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string MillionsMonthlyReportIdField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string MillionsMonthlyReportItemIdField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> MinorAccidentLossHourField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> MinorAccidentNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> MinorAccidentPersonNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private string NameField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> OtherAccidentLossHourField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> OtherAccidentNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> OtherAccidentPersonNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> OtherNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> PostPersonNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> QualityNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> RestrictedWorkLossHourField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> RestrictedWorkPersonNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> SeriousInjuriesLossHourField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> SeriousInjuriesNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> SeriousInjuriesPersonNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> SnapPersonNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> SortIndexField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> SumPersonNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<decimal> TotalWorkNumField;
|
||||
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<decimal> OutSideUnitWorkNumField;
|
||||
|
||||
[System.Runtime.Serialization.OptionalFieldAttribute()]
|
||||
private System.Nullable<int> TrafficNumField;
|
||||
|
||||
|
||||
[global::System.ComponentModel.BrowsableAttribute(false)]
|
||||
public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
|
||||
get {
|
||||
public System.Runtime.Serialization.ExtensionDataObject ExtensionData
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.extensionDataField;
|
||||
}
|
||||
set {
|
||||
set
|
||||
{
|
||||
this.extensionDataField = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public string Affiliation {
|
||||
get {
|
||||
public string Affiliation
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.AffiliationField;
|
||||
}
|
||||
set {
|
||||
if ((object.ReferenceEquals(this.AffiliationField, value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((object.ReferenceEquals(this.AffiliationField, value) != true))
|
||||
{
|
||||
this.AffiliationField = value;
|
||||
this.RaisePropertyChanged("Affiliation");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> AttemptedEventNum {
|
||||
get {
|
||||
public System.Nullable<int> AttemptedEventNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.AttemptedEventNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.AttemptedEventNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.AttemptedEventNumField.Equals(value) != true))
|
||||
{
|
||||
this.AttemptedEventNumField = value;
|
||||
this.RaisePropertyChanged("AttemptedEventNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> ContractorNum {
|
||||
get {
|
||||
public System.Nullable<int> ContractorNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.ContractorNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.ContractorNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.ContractorNumField.Equals(value) != true))
|
||||
{
|
||||
this.ContractorNumField = value;
|
||||
this.RaisePropertyChanged("ContractorNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> EquipmentNum {
|
||||
get {
|
||||
public System.Nullable<int> EquipmentNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.EquipmentNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.EquipmentNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.EquipmentNumField.Equals(value) != true))
|
||||
{
|
||||
this.EquipmentNumField = value;
|
||||
this.RaisePropertyChanged("EquipmentNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> ExplosionNum {
|
||||
get {
|
||||
public System.Nullable<int> ExplosionNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.ExplosionNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.ExplosionNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.ExplosionNumField.Equals(value) != true))
|
||||
{
|
||||
this.ExplosionNumField = value;
|
||||
this.RaisePropertyChanged("ExplosionNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> FireNum {
|
||||
get {
|
||||
public System.Nullable<int> FireNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.FireNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.FireNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.FireNumField.Equals(value) != true))
|
||||
{
|
||||
this.FireNumField = value;
|
||||
this.RaisePropertyChanged("FireNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> FirstAidDressingsNum {
|
||||
get {
|
||||
public System.Nullable<int> FirstAidDressingsNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.FirstAidDressingsNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.FirstAidDressingsNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.FirstAidDressingsNumField.Equals(value) != true))
|
||||
{
|
||||
this.FirstAidDressingsNumField = value;
|
||||
this.RaisePropertyChanged("FirstAidDressingsNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> LossDayNum {
|
||||
get {
|
||||
public System.Nullable<int> LossDayNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.LossDayNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.LossDayNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.LossDayNumField.Equals(value) != true))
|
||||
{
|
||||
this.LossDayNumField = value;
|
||||
this.RaisePropertyChanged("LossDayNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> MedicalTreatmentLossHour {
|
||||
get {
|
||||
public System.Nullable<int> MedicalTreatmentLossHour
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.MedicalTreatmentLossHourField;
|
||||
}
|
||||
set {
|
||||
if ((this.MedicalTreatmentLossHourField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.MedicalTreatmentLossHourField.Equals(value) != true))
|
||||
{
|
||||
this.MedicalTreatmentLossHourField = value;
|
||||
this.RaisePropertyChanged("MedicalTreatmentLossHour");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> MedicalTreatmentPersonNum {
|
||||
get {
|
||||
public System.Nullable<int> MedicalTreatmentPersonNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.MedicalTreatmentPersonNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.MedicalTreatmentPersonNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.MedicalTreatmentPersonNumField.Equals(value) != true))
|
||||
{
|
||||
this.MedicalTreatmentPersonNumField = value;
|
||||
this.RaisePropertyChanged("MedicalTreatmentPersonNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public string MillionsMonthlyReportId {
|
||||
get {
|
||||
public string UnitId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.UnitIdField;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((object.ReferenceEquals(this.UnitIdField, value) != true))
|
||||
{
|
||||
this.UnitIdField = value;
|
||||
this.RaisePropertyChanged("UnitId");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.ProjectIdField;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((object.ReferenceEquals(this.ProjectIdField, value) != true))
|
||||
{
|
||||
this.ProjectIdField = value;
|
||||
this.RaisePropertyChanged("ProjectId");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public string MillionsMonthlyReportId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.MillionsMonthlyReportIdField;
|
||||
}
|
||||
set {
|
||||
if ((object.ReferenceEquals(this.MillionsMonthlyReportIdField, value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((object.ReferenceEquals(this.MillionsMonthlyReportIdField, value) != true))
|
||||
{
|
||||
this.MillionsMonthlyReportIdField = value;
|
||||
this.RaisePropertyChanged("MillionsMonthlyReportId");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public string MillionsMonthlyReportItemId {
|
||||
get {
|
||||
public string MillionsMonthlyReportItemId
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.MillionsMonthlyReportItemIdField;
|
||||
}
|
||||
set {
|
||||
if ((object.ReferenceEquals(this.MillionsMonthlyReportItemIdField, value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((object.ReferenceEquals(this.MillionsMonthlyReportItemIdField, value) != true))
|
||||
{
|
||||
this.MillionsMonthlyReportItemIdField = value;
|
||||
this.RaisePropertyChanged("MillionsMonthlyReportItemId");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> MinorAccidentLossHour {
|
||||
get {
|
||||
public System.Nullable<int> MinorAccidentLossHour
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.MinorAccidentLossHourField;
|
||||
}
|
||||
set {
|
||||
if ((this.MinorAccidentLossHourField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.MinorAccidentLossHourField.Equals(value) != true))
|
||||
{
|
||||
this.MinorAccidentLossHourField = value;
|
||||
this.RaisePropertyChanged("MinorAccidentLossHour");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> MinorAccidentNum {
|
||||
get {
|
||||
public System.Nullable<int> MinorAccidentNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.MinorAccidentNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.MinorAccidentNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.MinorAccidentNumField.Equals(value) != true))
|
||||
{
|
||||
this.MinorAccidentNumField = value;
|
||||
this.RaisePropertyChanged("MinorAccidentNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> MinorAccidentPersonNum {
|
||||
get {
|
||||
public System.Nullable<int> MinorAccidentPersonNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.MinorAccidentPersonNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.MinorAccidentPersonNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.MinorAccidentPersonNumField.Equals(value) != true))
|
||||
{
|
||||
this.MinorAccidentPersonNumField = value;
|
||||
this.RaisePropertyChanged("MinorAccidentPersonNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public string Name {
|
||||
get {
|
||||
public string Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.NameField;
|
||||
}
|
||||
set {
|
||||
if ((object.ReferenceEquals(this.NameField, value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((object.ReferenceEquals(this.NameField, value) != true))
|
||||
{
|
||||
this.NameField = value;
|
||||
this.RaisePropertyChanged("Name");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> OtherAccidentLossHour {
|
||||
get {
|
||||
public System.Nullable<int> OtherAccidentLossHour
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.OtherAccidentLossHourField;
|
||||
}
|
||||
set {
|
||||
if ((this.OtherAccidentLossHourField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.OtherAccidentLossHourField.Equals(value) != true))
|
||||
{
|
||||
this.OtherAccidentLossHourField = value;
|
||||
this.RaisePropertyChanged("OtherAccidentLossHour");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> OtherAccidentNum {
|
||||
get {
|
||||
public System.Nullable<int> OtherAccidentNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.OtherAccidentNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.OtherAccidentNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.OtherAccidentNumField.Equals(value) != true))
|
||||
{
|
||||
this.OtherAccidentNumField = value;
|
||||
this.RaisePropertyChanged("OtherAccidentNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> OtherAccidentPersonNum {
|
||||
get {
|
||||
public System.Nullable<int> OtherAccidentPersonNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.OtherAccidentPersonNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.OtherAccidentPersonNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.OtherAccidentPersonNumField.Equals(value) != true))
|
||||
{
|
||||
this.OtherAccidentPersonNumField = value;
|
||||
this.RaisePropertyChanged("OtherAccidentPersonNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> OtherNum {
|
||||
get {
|
||||
public System.Nullable<int> OtherNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.OtherNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.OtherNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.OtherNumField.Equals(value) != true))
|
||||
{
|
||||
this.OtherNumField = value;
|
||||
this.RaisePropertyChanged("OtherNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> PostPersonNum {
|
||||
get {
|
||||
public System.Nullable<int> PostPersonNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.PostPersonNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.PostPersonNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.PostPersonNumField.Equals(value) != true))
|
||||
{
|
||||
this.PostPersonNumField = value;
|
||||
this.RaisePropertyChanged("PostPersonNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> QualityNum {
|
||||
get {
|
||||
public System.Nullable<int> QualityNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.QualityNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.QualityNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.QualityNumField.Equals(value) != true))
|
||||
{
|
||||
this.QualityNumField = value;
|
||||
this.RaisePropertyChanged("QualityNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> RestrictedWorkLossHour {
|
||||
get {
|
||||
public System.Nullable<int> RestrictedWorkLossHour
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.RestrictedWorkLossHourField;
|
||||
}
|
||||
set {
|
||||
if ((this.RestrictedWorkLossHourField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.RestrictedWorkLossHourField.Equals(value) != true))
|
||||
{
|
||||
this.RestrictedWorkLossHourField = value;
|
||||
this.RaisePropertyChanged("RestrictedWorkLossHour");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> RestrictedWorkPersonNum {
|
||||
get {
|
||||
public System.Nullable<int> RestrictedWorkPersonNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.RestrictedWorkPersonNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.RestrictedWorkPersonNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.RestrictedWorkPersonNumField.Equals(value) != true))
|
||||
{
|
||||
this.RestrictedWorkPersonNumField = value;
|
||||
this.RaisePropertyChanged("RestrictedWorkPersonNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> SeriousInjuriesLossHour {
|
||||
get {
|
||||
public System.Nullable<int> SeriousInjuriesLossHour
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.SeriousInjuriesLossHourField;
|
||||
}
|
||||
set {
|
||||
if ((this.SeriousInjuriesLossHourField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.SeriousInjuriesLossHourField.Equals(value) != true))
|
||||
{
|
||||
this.SeriousInjuriesLossHourField = value;
|
||||
this.RaisePropertyChanged("SeriousInjuriesLossHour");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> SeriousInjuriesNum {
|
||||
get {
|
||||
public System.Nullable<int> SeriousInjuriesNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.SeriousInjuriesNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.SeriousInjuriesNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.SeriousInjuriesNumField.Equals(value) != true))
|
||||
{
|
||||
this.SeriousInjuriesNumField = value;
|
||||
this.RaisePropertyChanged("SeriousInjuriesNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> SeriousInjuriesPersonNum {
|
||||
get {
|
||||
public System.Nullable<int> SeriousInjuriesPersonNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.SeriousInjuriesPersonNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.SeriousInjuriesPersonNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.SeriousInjuriesPersonNumField.Equals(value) != true))
|
||||
{
|
||||
this.SeriousInjuriesPersonNumField = value;
|
||||
this.RaisePropertyChanged("SeriousInjuriesPersonNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> SnapPersonNum {
|
||||
get {
|
||||
public System.Nullable<int> SnapPersonNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.SnapPersonNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.SnapPersonNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.SnapPersonNumField.Equals(value) != true))
|
||||
{
|
||||
this.SnapPersonNumField = value;
|
||||
this.RaisePropertyChanged("SnapPersonNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> SortIndex {
|
||||
get {
|
||||
public System.Nullable<int> SortIndex
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.SortIndexField;
|
||||
}
|
||||
set {
|
||||
if ((this.SortIndexField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.SortIndexField.Equals(value) != true))
|
||||
{
|
||||
this.SortIndexField = value;
|
||||
this.RaisePropertyChanged("SortIndex");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> SumPersonNum {
|
||||
get {
|
||||
public System.Nullable<int> SumPersonNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.SumPersonNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.SumPersonNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.SumPersonNumField.Equals(value) != true))
|
||||
{
|
||||
this.SumPersonNumField = value;
|
||||
this.RaisePropertyChanged("SumPersonNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<decimal> TotalWorkNum {
|
||||
get {
|
||||
public System.Nullable<decimal> TotalWorkNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.TotalWorkNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.TotalWorkNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.TotalWorkNumField.Equals(value) != true))
|
||||
{
|
||||
this.TotalWorkNumField = value;
|
||||
this.RaisePropertyChanged("TotalWorkNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> TrafficNum {
|
||||
get {
|
||||
public System.Nullable<decimal> OutSideUnitWorkNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.OutSideUnitWorkNumField;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this.OutSideUnitWorkNumField.Equals(value) != true))
|
||||
{
|
||||
this.OutSideUnitWorkNumField = value;
|
||||
this.RaisePropertyChanged("OutSideUnitWorkNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Runtime.Serialization.DataMemberAttribute()]
|
||||
public System.Nullable<int> TrafficNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.TrafficNumField;
|
||||
}
|
||||
set {
|
||||
if ((this.TrafficNumField.Equals(value) != true)) {
|
||||
set
|
||||
{
|
||||
if ((this.TrafficNumField.Equals(value) != true))
|
||||
{
|
||||
this.TrafficNumField = value;
|
||||
this.RaisePropertyChanged("TrafficNum");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName)
|
||||
{
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
if ((propertyChanged != null))
|
||||
{
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
|
||||
[System.Runtime.Serialization.DataContractAttribute(Name="Information_SafetyQuarterlyReport", Namespace="http://schemas.datacontract.org/2004/07/BLL.OpenService")]
|
||||
|
||||
@@ -210,6 +210,7 @@
|
||||
ContractorNum = x.ContractorNum,
|
||||
SumPersonNum = x.SumPersonNum,
|
||||
TotalWorkNum = x.TotalWorkNum,
|
||||
OutSideUnitWorkNum = x.OutSideUnitWorkNum,
|
||||
SeriousInjuriesNum = x.SeriousInjuriesNum,
|
||||
SeriousInjuriesPersonNum = x.SeriousInjuriesPersonNum,
|
||||
SeriousInjuriesLossHour = x.SeriousInjuriesLossHour,
|
||||
|
||||
@@ -103,12 +103,15 @@ namespace BLL
|
||||
MillionsMonthlyReportId = MillionsMonthlyReportItem.MillionsMonthlyReportId,
|
||||
SortIndex = MillionsMonthlyReportItem.SortIndex,
|
||||
Affiliation = MillionsMonthlyReportItem.Affiliation,
|
||||
//UnitId = MillionsMonthlyReportItem.UnitId,
|
||||
Name = MillionsMonthlyReportItem.Name,
|
||||
//ProjectId = MillionsMonthlyReportItem.ProjectId,
|
||||
PostPersonNum = MillionsMonthlyReportItem.PostPersonNum,
|
||||
SnapPersonNum = MillionsMonthlyReportItem.SnapPersonNum,
|
||||
ContractorNum = MillionsMonthlyReportItem.ContractorNum,
|
||||
SumPersonNum = MillionsMonthlyReportItem.SumPersonNum,
|
||||
TotalWorkNum = MillionsMonthlyReportItem.TotalWorkNum,
|
||||
OutSideUnitWorkNum = MillionsMonthlyReportItem.OutSideUnitWorkNum,
|
||||
DeathAccidentNum = MillionsMonthlyReportItem.DeathAccidentNum,
|
||||
DeathAccidentPersonNum = MillionsMonthlyReportItem.DeathAccidentPersonNum,
|
||||
DeathAccidentLossHour = MillionsMonthlyReportItem.DeathAccidentLossHour,
|
||||
@@ -150,12 +153,15 @@ namespace BLL
|
||||
Model.Information_MillionsMonthlyReportItem newMillionsMonthlyReportItem = Funs.DB.Information_MillionsMonthlyReportItem.FirstOrDefault(e => e.MillionsMonthlyReportItemId == MillionsMonthlyReportItem.MillionsMonthlyReportItemId);
|
||||
newMillionsMonthlyReportItem.SortIndex = MillionsMonthlyReportItem.SortIndex;
|
||||
newMillionsMonthlyReportItem.Affiliation = MillionsMonthlyReportItem.Affiliation;
|
||||
//newMillionsMonthlyReportItem.UnitId = MillionsMonthlyReportItem.UnitId;
|
||||
newMillionsMonthlyReportItem.Name = MillionsMonthlyReportItem.Name;
|
||||
//newMillionsMonthlyReportItem.ProjectId = MillionsMonthlyReportItem.ProjectId;
|
||||
newMillionsMonthlyReportItem.PostPersonNum = MillionsMonthlyReportItem.PostPersonNum;
|
||||
newMillionsMonthlyReportItem.SnapPersonNum = MillionsMonthlyReportItem.SnapPersonNum;
|
||||
newMillionsMonthlyReportItem.ContractorNum = MillionsMonthlyReportItem.ContractorNum;
|
||||
newMillionsMonthlyReportItem.SumPersonNum = MillionsMonthlyReportItem.SumPersonNum;
|
||||
newMillionsMonthlyReportItem.TotalWorkNum = MillionsMonthlyReportItem.TotalWorkNum;
|
||||
newMillionsMonthlyReportItem.OutSideUnitWorkNum = MillionsMonthlyReportItem.OutSideUnitWorkNum;
|
||||
newMillionsMonthlyReportItem.DeathAccidentNum = MillionsMonthlyReportItem.DeathAccidentNum;
|
||||
newMillionsMonthlyReportItem.DeathAccidentPersonNum = MillionsMonthlyReportItem.DeathAccidentPersonNum;
|
||||
newMillionsMonthlyReportItem.DeathAccidentLossHour = MillionsMonthlyReportItem.DeathAccidentLossHour;
|
||||
|
||||
Reference in New Issue
Block a user