This commit is contained in:
2025-08-09 21:23:25 +08:00
parent 7abfb55747
commit 295062debb
2 changed files with 276 additions and 11 deletions
+265
View File
@@ -1148,6 +1148,9 @@ namespace Model
partial void InsertHJGLData_HJGL(HJGLData_HJGL instance);
partial void UpdateHJGLData_HJGL(HJGLData_HJGL instance);
partial void DeleteHJGLData_HJGL(HJGLData_HJGL instance);
partial void InsertHSSE_AIAlarmEvent(HSSE_AIAlarmEvent instance);
partial void UpdateHSSE_AIAlarmEvent(HSSE_AIAlarmEvent instance);
partial void DeleteHSSE_AIAlarmEvent(HSSE_AIAlarmEvent instance);
partial void InsertHSSE_Hazard_HazardRegister(HSSE_Hazard_HazardRegister instance);
partial void UpdateHSSE_Hazard_HazardRegister(HSSE_Hazard_HazardRegister instance);
partial void DeleteHSSE_Hazard_HazardRegister(HSSE_Hazard_HazardRegister instance);
@@ -5837,6 +5840,14 @@ namespace Model
}
}
public System.Data.Linq.Table<HSSE_AIAlarmEvent> HSSE_AIAlarmEvent
{
get
{
return this.GetTable<HSSE_AIAlarmEvent>();
}
}
public System.Data.Linq.Table<HSSE_Hazard_HazardRegister> HSSE_Hazard_HazardRegister
{
get
@@ -182239,6 +182250,260 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.HSSE_AIAlarmEvent")]
public partial class HSSE_AIAlarmEvent : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _AIAlarmEventId;
private string _DeviceId;
private string _DeviceVersion;
private System.Nullable<System.DateTime> _Date;
private System.Data.Linq.Binary _TimeStamp;
private string _Label;
private string _Alias;
private System.Nullable<int> _Count;
private string _Extend;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnAIAlarmEventIdChanging(string value);
partial void OnAIAlarmEventIdChanged();
partial void OnDeviceIdChanging(string value);
partial void OnDeviceIdChanged();
partial void OnDeviceVersionChanging(string value);
partial void OnDeviceVersionChanged();
partial void OnDateChanging(System.Nullable<System.DateTime> value);
partial void OnDateChanged();
partial void OnTimeStampChanging(System.Data.Linq.Binary value);
partial void OnTimeStampChanged();
partial void OnLabelChanging(string value);
partial void OnLabelChanged();
partial void OnAliasChanging(string value);
partial void OnAliasChanged();
partial void OnCountChanging(System.Nullable<int> value);
partial void OnCountChanged();
partial void OnExtendChanging(string value);
partial void OnExtendChanged();
#endregion
public HSSE_AIAlarmEvent()
{
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AIAlarmEventId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true, UpdateCheck=UpdateCheck.Never)]
public string AIAlarmEventId
{
get
{
return this._AIAlarmEventId;
}
set
{
if ((this._AIAlarmEventId != value))
{
this.OnAIAlarmEventIdChanging(value);
this.SendPropertyChanging();
this._AIAlarmEventId = value;
this.SendPropertyChanged("AIAlarmEventId");
this.OnAIAlarmEventIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DeviceId", DbType="NVarChar(50)", UpdateCheck=UpdateCheck.Never)]
public string DeviceId
{
get
{
return this._DeviceId;
}
set
{
if ((this._DeviceId != value))
{
this.OnDeviceIdChanging(value);
this.SendPropertyChanging();
this._DeviceId = value;
this.SendPropertyChanged("DeviceId");
this.OnDeviceIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DeviceVersion", DbType="VarChar(50)", UpdateCheck=UpdateCheck.Never)]
public string DeviceVersion
{
get
{
return this._DeviceVersion;
}
set
{
if ((this._DeviceVersion != value))
{
this.OnDeviceVersionChanging(value);
this.SendPropertyChanging();
this._DeviceVersion = value;
this.SendPropertyChanged("DeviceVersion");
this.OnDeviceVersionChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Date", DbType="DateTime", UpdateCheck=UpdateCheck.Never)]
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="_TimeStamp", AutoSync=AutoSync.Always, DbType="rowversion", CanBeNull=true, IsDbGenerated=true, IsVersion=true, UpdateCheck=UpdateCheck.Never)]
public System.Data.Linq.Binary TimeStamp
{
get
{
return this._TimeStamp;
}
set
{
if ((this._TimeStamp != value))
{
this.OnTimeStampChanging(value);
this.SendPropertyChanging();
this._TimeStamp = value;
this.SendPropertyChanged("TimeStamp");
this.OnTimeStampChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Label", DbType="NVarChar(50)", UpdateCheck=UpdateCheck.Never)]
public string Label
{
get
{
return this._Label;
}
set
{
if ((this._Label != value))
{
this.OnLabelChanging(value);
this.SendPropertyChanging();
this._Label = value;
this.SendPropertyChanged("Label");
this.OnLabelChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Alias", DbType="NVarChar(50)", UpdateCheck=UpdateCheck.Never)]
public string Alias
{
get
{
return this._Alias;
}
set
{
if ((this._Alias != value))
{
this.OnAliasChanging(value);
this.SendPropertyChanging();
this._Alias = value;
this.SendPropertyChanged("Alias");
this.OnAliasChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Count", DbType="Int", UpdateCheck=UpdateCheck.Never)]
public System.Nullable<int> Count
{
get
{
return this._Count;
}
set
{
if ((this._Count != value))
{
this.OnCountChanging(value);
this.SendPropertyChanging();
this._Count = value;
this.SendPropertyChanged("Count");
this.OnCountChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Extend", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string Extend
{
get
{
return this._Extend;
}
set
{
if ((this._Extend != value))
{
this.OnExtendChanging(value);
this.SendPropertyChanging();
this._Extend = value;
this.SendPropertyChanged("Extend");
this.OnExtendChanged();
}
}
}
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_Hazard_HazardRegister")]
public partial class HSSE_Hazard_HazardRegister : INotifyPropertyChanging, INotifyPropertyChanged
{