This commit is contained in:
2025-06-04 15:26:39 +08:00
parent 2a5cd03fb9
commit d3da07c131
9 changed files with 756 additions and 65 deletions
+698
View File
@@ -1148,6 +1148,12 @@ namespace Model
partial void InsertHSSE_Hazard_HazardRegisterTypes(HSSE_Hazard_HazardRegisterTypes instance);
partial void UpdateHSSE_Hazard_HazardRegisterTypes(HSSE_Hazard_HazardRegisterTypes instance);
partial void DeleteHSSE_Hazard_HazardRegisterTypes(HSSE_Hazard_HazardRegisterTypes instance);
partial void InsertHSSE_TowerCrane(HSSE_TowerCrane instance);
partial void UpdateHSSE_TowerCrane(HSSE_TowerCrane instance);
partial void DeleteHSSE_TowerCrane(HSSE_TowerCrane instance);
partial void InsertHSSE_TowerCraneRecord(HSSE_TowerCraneRecord instance);
partial void UpdateHSSE_TowerCraneRecord(HSSE_TowerCraneRecord instance);
partial void DeleteHSSE_TowerCraneRecord(HSSE_TowerCraneRecord instance);
partial void InsertHSSE_Weather(HSSE_Weather instance);
partial void UpdateHSSE_Weather(HSSE_Weather instance);
partial void DeleteHSSE_Weather(HSSE_Weather instance);
@@ -5810,6 +5816,22 @@ namespace Model
}
}
public System.Data.Linq.Table<HSSE_TowerCrane> HSSE_TowerCrane
{
get
{
return this.GetTable<HSSE_TowerCrane>();
}
}
public System.Data.Linq.Table<HSSE_TowerCraneRecord> HSSE_TowerCraneRecord
{
get
{
return this.GetTable<HSSE_TowerCraneRecord>();
}
}
public System.Data.Linq.Table<HSSE_Weather> HSSE_Weather
{
get
@@ -182204,6 +182226,682 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HSSE_TowerCrane")]
public partial class HSSE_TowerCrane : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _TowerCraneId;
private string _ProjectId;
private string _TowerCraneName;
private string _TowerCraneCode;
private System.Nullable<double> _MaxHoist;
private System.Nullable<double> _MaxMoment;
private System.Nullable<double> _FrontArmLength;
private System.Nullable<double> _BackArmLength;
private string _TowerCap;
private System.Nullable<double> _ArmHeigh;
private string _Remark;
private System.Nullable<System.DateTime> _CreateDate;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnTowerCraneIdChanging(string value);
partial void OnTowerCraneIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnTowerCraneNameChanging(string value);
partial void OnTowerCraneNameChanged();
partial void OnTowerCraneCodeChanging(string value);
partial void OnTowerCraneCodeChanged();
partial void OnMaxHoistChanging(System.Nullable<double> value);
partial void OnMaxHoistChanged();
partial void OnMaxMomentChanging(System.Nullable<double> value);
partial void OnMaxMomentChanged();
partial void OnFrontArmLengthChanging(System.Nullable<double> value);
partial void OnFrontArmLengthChanged();
partial void OnBackArmLengthChanging(System.Nullable<double> value);
partial void OnBackArmLengthChanged();
partial void OnTowerCapChanging(string value);
partial void OnTowerCapChanged();
partial void OnArmHeighChanging(System.Nullable<double> value);
partial void OnArmHeighChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnCreateDateChanging(System.Nullable<System.DateTime> value);
partial void OnCreateDateChanged();
#endregion
public HSSE_TowerCrane()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TowerCraneId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string TowerCraneId
{
get
{
return this._TowerCraneId;
}
set
{
if ((this._TowerCraneId != value))
{
this.OnTowerCraneIdChanging(value);
this.SendPropertyChanging();
this._TowerCraneId = value;
this.SendPropertyChanged("TowerCraneId");
this.OnTowerCraneIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
this.OnProjectIdChanging(value);
this.SendPropertyChanging();
this._ProjectId = value;
this.SendPropertyChanged("ProjectId");
this.OnProjectIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TowerCraneName", DbType="NVarChar(50)")]
public string TowerCraneName
{
get
{
return this._TowerCraneName;
}
set
{
if ((this._TowerCraneName != value))
{
this.OnTowerCraneNameChanging(value);
this.SendPropertyChanging();
this._TowerCraneName = value;
this.SendPropertyChanged("TowerCraneName");
this.OnTowerCraneNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TowerCraneCode", DbType="NVarChar(50)")]
public string TowerCraneCode
{
get
{
return this._TowerCraneCode;
}
set
{
if ((this._TowerCraneCode != value))
{
this.OnTowerCraneCodeChanging(value);
this.SendPropertyChanging();
this._TowerCraneCode = value;
this.SendPropertyChanged("TowerCraneCode");
this.OnTowerCraneCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxHoist", DbType="Float")]
public System.Nullable<double> MaxHoist
{
get
{
return this._MaxHoist;
}
set
{
if ((this._MaxHoist != value))
{
this.OnMaxHoistChanging(value);
this.SendPropertyChanging();
this._MaxHoist = value;
this.SendPropertyChanged("MaxHoist");
this.OnMaxHoistChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaxMoment", DbType="Float")]
public System.Nullable<double> MaxMoment
{
get
{
return this._MaxMoment;
}
set
{
if ((this._MaxMoment != value))
{
this.OnMaxMomentChanging(value);
this.SendPropertyChanging();
this._MaxMoment = value;
this.SendPropertyChanged("MaxMoment");
this.OnMaxMomentChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FrontArmLength", DbType="Float")]
public System.Nullable<double> FrontArmLength
{
get
{
return this._FrontArmLength;
}
set
{
if ((this._FrontArmLength != value))
{
this.OnFrontArmLengthChanging(value);
this.SendPropertyChanging();
this._FrontArmLength = value;
this.SendPropertyChanged("FrontArmLength");
this.OnFrontArmLengthChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_BackArmLength", DbType="Float")]
public System.Nullable<double> BackArmLength
{
get
{
return this._BackArmLength;
}
set
{
if ((this._BackArmLength != value))
{
this.OnBackArmLengthChanging(value);
this.SendPropertyChanging();
this._BackArmLength = value;
this.SendPropertyChanged("BackArmLength");
this.OnBackArmLengthChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TowerCap", DbType="NVarChar(2)")]
public string TowerCap
{
get
{
return this._TowerCap;
}
set
{
if ((this._TowerCap != value))
{
this.OnTowerCapChanging(value);
this.SendPropertyChanging();
this._TowerCap = value;
this.SendPropertyChanged("TowerCap");
this.OnTowerCapChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ArmHeigh", DbType="Float")]
public System.Nullable<double> ArmHeigh
{
get
{
return this._ArmHeigh;
}
set
{
if ((this._ArmHeigh != value))
{
this.OnArmHeighChanging(value);
this.SendPropertyChanging();
this._ArmHeigh = value;
this.SendPropertyChanged("ArmHeigh");
this.OnArmHeighChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")]
public string Remark
{
get
{
return this._Remark;
}
set
{
if ((this._Remark != value))
{
this.OnRemarkChanging(value);
this.SendPropertyChanging();
this._Remark = value;
this.SendPropertyChanged("Remark");
this.OnRemarkChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateDate", DbType="DateTime")]
public System.Nullable<System.DateTime> CreateDate
{
get
{
return this._CreateDate;
}
set
{
if ((this._CreateDate != value))
{
this.OnCreateDateChanging(value);
this.SendPropertyChanging();
this._CreateDate = value;
this.SendPropertyChanged("CreateDate");
this.OnCreateDateChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HSSE_TowerCraneRecord")]
public partial class HSSE_TowerCraneRecord : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _TowerCraneRecordId;
private string _AlarmType;
private System.Nullable<double> _AmountHoist;
private System.Nullable<double> _Camber;
private System.Nullable<double> _Height;
private System.Nullable<double> _Hoist;
private System.Nullable<double> _Moment;
private System.Nullable<double> _Range;
private System.Nullable<double> _RotationAngle;
private System.Nullable<double> _WindSpeed;
private System.Nullable<System.DateTime> _Date;
private string _TowerCraneId;
private string _Remark;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnTowerCraneRecordIdChanging(string value);
partial void OnTowerCraneRecordIdChanged();
partial void OnAlarmTypeChanging(string value);
partial void OnAlarmTypeChanged();
partial void OnAmountHoistChanging(System.Nullable<double> value);
partial void OnAmountHoistChanged();
partial void OnCamberChanging(System.Nullable<double> value);
partial void OnCamberChanged();
partial void OnHeightChanging(System.Nullable<double> value);
partial void OnHeightChanged();
partial void OnHoistChanging(System.Nullable<double> value);
partial void OnHoistChanged();
partial void OnMomentChanging(System.Nullable<double> value);
partial void OnMomentChanged();
partial void OnRangeChanging(System.Nullable<double> value);
partial void OnRangeChanged();
partial void OnRotationAngleChanging(System.Nullable<double> value);
partial void OnRotationAngleChanged();
partial void OnWindSpeedChanging(System.Nullable<double> value);
partial void OnWindSpeedChanged();
partial void OnDateChanging(System.Nullable<System.DateTime> value);
partial void OnDateChanged();
partial void OnTowerCraneIdChanging(string value);
partial void OnTowerCraneIdChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
#endregion
public HSSE_TowerCraneRecord()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TowerCraneRecordId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string TowerCraneRecordId
{
get
{
return this._TowerCraneRecordId;
}
set
{
if ((this._TowerCraneRecordId != value))
{
this.OnTowerCraneRecordIdChanging(value);
this.SendPropertyChanging();
this._TowerCraneRecordId = value;
this.SendPropertyChanged("TowerCraneRecordId");
this.OnTowerCraneRecordIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AlarmType", DbType="NVarChar(50)")]
public string AlarmType
{
get
{
return this._AlarmType;
}
set
{
if ((this._AlarmType != value))
{
this.OnAlarmTypeChanging(value);
this.SendPropertyChanging();
this._AlarmType = value;
this.SendPropertyChanged("AlarmType");
this.OnAlarmTypeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AmountHoist", DbType="Float")]
public System.Nullable<double> AmountHoist
{
get
{
return this._AmountHoist;
}
set
{
if ((this._AmountHoist != value))
{
this.OnAmountHoistChanging(value);
this.SendPropertyChanging();
this._AmountHoist = value;
this.SendPropertyChanged("AmountHoist");
this.OnAmountHoistChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Camber", DbType="Float")]
public System.Nullable<double> Camber
{
get
{
return this._Camber;
}
set
{
if ((this._Camber != value))
{
this.OnCamberChanging(value);
this.SendPropertyChanging();
this._Camber = value;
this.SendPropertyChanged("Camber");
this.OnCamberChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Height", DbType="Float")]
public System.Nullable<double> Height
{
get
{
return this._Height;
}
set
{
if ((this._Height != value))
{
this.OnHeightChanging(value);
this.SendPropertyChanging();
this._Height = value;
this.SendPropertyChanged("Height");
this.OnHeightChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Hoist", DbType="Float")]
public System.Nullable<double> Hoist
{
get
{
return this._Hoist;
}
set
{
if ((this._Hoist != value))
{
this.OnHoistChanging(value);
this.SendPropertyChanging();
this._Hoist = value;
this.SendPropertyChanged("Hoist");
this.OnHoistChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Moment", DbType="Float")]
public System.Nullable<double> Moment
{
get
{
return this._Moment;
}
set
{
if ((this._Moment != value))
{
this.OnMomentChanging(value);
this.SendPropertyChanging();
this._Moment = value;
this.SendPropertyChanged("Moment");
this.OnMomentChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Range", DbType="Float")]
public System.Nullable<double> Range
{
get
{
return this._Range;
}
set
{
if ((this._Range != value))
{
this.OnRangeChanging(value);
this.SendPropertyChanging();
this._Range = value;
this.SendPropertyChanged("Range");
this.OnRangeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RotationAngle", DbType="Float")]
public System.Nullable<double> RotationAngle
{
get
{
return this._RotationAngle;
}
set
{
if ((this._RotationAngle != value))
{
this.OnRotationAngleChanging(value);
this.SendPropertyChanging();
this._RotationAngle = value;
this.SendPropertyChanged("RotationAngle");
this.OnRotationAngleChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WindSpeed", DbType="Float")]
public System.Nullable<double> WindSpeed
{
get
{
return this._WindSpeed;
}
set
{
if ((this._WindSpeed != value))
{
this.OnWindSpeedChanging(value);
this.SendPropertyChanging();
this._WindSpeed = value;
this.SendPropertyChanged("WindSpeed");
this.OnWindSpeedChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date", DbType="DateTime")]
public System.Nullable<System.DateTime> Date
{
get
{
return this._Date;
}
set
{
if ((this._Date != value))
{
this.OnDateChanging(value);
this.SendPropertyChanging();
this._Date = value;
this.SendPropertyChanged("Date");
this.OnDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TowerCraneId", DbType="NVarChar(50)")]
public string TowerCraneId
{
get
{
return this._TowerCraneId;
}
set
{
if ((this._TowerCraneId != value))
{
this.OnTowerCraneIdChanging(value);
this.SendPropertyChanging();
this._TowerCraneId = value;
this.SendPropertyChanged("TowerCraneId");
this.OnTowerCraneIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(50)")]
public string Remark
{
get
{
return this._Remark;
}
set
{
if ((this._Remark != value))
{
this.OnRemarkChanging(value);
this.SendPropertyChanging();
this._Remark = value;
this.SendPropertyChanged("Remark");
this.OnRemarkChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HSSE_Weather")]
public partial class HSSE_Weather : INotifyPropertyChanging, INotifyPropertyChanged
{