Files
2026-05-28 22:11:13 +08:00

812 lines
49 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
<!-- EF Runtime content -->
<edmx:Runtime>
<!-- SSDL content -->
<edmx:StorageModels>
<Schema Namespace="Model.Store" Provider="MySql.Data.MySqlClient" ProviderManifestToken="8.0" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
<EntityType Name="TAlarm">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="DeviceId" Type="int" />
<Property Name="Desc" Type="varchar" MaxLength="512" />
<Property Name="StartTime" Type="datetime" Precision="0" Nullable="false" />
<Property Name="StopTime" Type="datetime" Precision="0" />
<Property Name="Status" Type="varchar" MaxLength="16" />
</EntityType>
<EntityType Name="TAlarmContent">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="TagIds" Type="varchar" MaxLength="20" />
<Property Name="Offset" Type="int" />
<Property Name="Desc" Type="varchar" MaxLength="500" />
</EntityType>
<EntityType Name="TBatteryInfo">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="ScanTime" Type="datetime" Precision="0" StoreGeneratedPattern="Identity" />
<Property Name="BatteryCode" Type="varchar" MaxLength="32" Nullable="false" />
<Property Name="ScannerPos" Type="tinyint" Nullable="false" />
<Property Name="BatteryStatus" Type="tinyint" Nullable="false" />
<Property Name="LoadingTime" Type="datetime" Precision="0" />
<Property Name="PositionX" Type="int" />
<Property Name="PositionY" Type="int" />
<Property Name="Layer" Type="tinyint" />
<Property Name="UnLoadingTime" Type="datetime" Precision="0" />
<Property Name="LodingTemperature" Type="float" />
<Property Name="PreheatTemperature" Type="float" />
<Property Name="UnLoadingTemperature" Type="float" />
<Property Name="PreheatTime" Type="varchar" MaxLength="32" />
<Property Name="Desc" Type="varchar" MaxLength="512" />
</EntityType>
<EntityType Name="TBatteryNG">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="BatteryCode" Type="varchar" MaxLength="32" />
<Property Name="Reason" Type="text" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Precision="0" Nullable="false" />
<Property Name="Desc" Type="text" />
</EntityType>
<EntityType Name="TBatteryRepeat">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="ScanTime" Type="datetime" Precision="0" StoreGeneratedPattern="Identity" />
<Property Name="BatteryCode" Type="varchar" MaxLength="32" Nullable="false" />
<Property Name="ScannerPos" Type="tinyint" Nullable="false" />
<Property Name="BatteryStatus" Type="tinyint" Nullable="false" />
<Property Name="LoadingTime" Type="datetime" Precision="0" />
<Property Name="PositionX" Type="int" />
<Property Name="PositionY" Type="int" />
<Property Name="Layer" Type="tinyint" />
<Property Name="UnLoadingTime" Type="datetime" Precision="0" />
<Property Name="LodingTemperature" Type="float" />
<Property Name="PreheatTemperature" Type="float" />
<Property Name="UnLoadingTemperature" Type="float" />
<Property Name="PreheatTime" Type="varchar" MaxLength="32" />
<Property Name="Desc" Type="varchar" MaxLength="512" />
</EntityType>
<EntityType Name="TDeviceConfig">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Name" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="DriverName" Type="varchar" MaxLength="255" Nullable="false" />
<Property Name="Enable" Type="bit" Nullable="false" />
<Property Name="IsConnect" Type="bit" Nullable="false" />
<Property Name="Desc" Type="varchar" MaxLength="255" />
<Property Name="Json" Type="varchar" MaxLength="255" />
<Property Name="DType" Type="varchar" MaxLength="50" />
</EntityType>
<EntityType Name="TLog">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uint" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Content" Type="varchar" MaxLength="8000" Nullable="false" />
<Property Name="Level" Type="tinyint" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Precision="0" StoreGeneratedPattern="Identity" Nullable="false" />
</EntityType>
<EntityType Name="TMenuInfo">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" Nullable="false" />
<Property Name="Header" Type="varchar" MaxLength="100" Nullable="false" />
<Property Name="HeaderName" Type="varchar" MaxLength="100" />
<Property Name="TargetView" Type="varchar" MaxLength="150" />
<Property Name="ParentId" Type="int" Nullable="false" />
<Property Name="MenuIcon" Type="varchar" MaxLength="100" />
<Property Name="MenuIndex" Type="int" Nullable="false" />
<Property Name="MenuType" Type="int" Nullable="false" />
<Property Name="State" Type="bit" />
<Property Name="JSON" Type="varchar" MaxLength="1000" />
<Property Name="MenuImage" Type="blob" />
</EntityType>
<EntityType Name="TMesData">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="CommandType" Type="varchar" MaxLength="255" Nullable="false" />
<Property Name="Content" Type="text" />
<Property Name="CreateTime" Type="datetime" Precision="0" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="SendTime" Type="datetime" Precision="0" />
<Property Name="SendFlag" Type="tinyint" Nullable="false" />
<Property Name="RecvContent" Type="text" />
<Property Name="RecvTime" Type="datetime" Precision="0" />
<Property Name="MsgType" Type="tinyint" Nullable="false" />
</EntityType>
<EntityType Name="TProcessParameter">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="ProcessParamName" Type="varchar" MaxLength="50" />
<Property Name="Parameters" Type="text" />
<Property Name="BaseFalg" Type="bit" />
<Property Name="CreateTime" Type="datetime" Precision="0" />
</EntityType>
<EntityType Name="TProductionInformation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="JobNum" Type="varchar" MaxLength="50" />
<Property Name="ProductionDatetime" Type="datetime" Precision="0" StoreGeneratedPattern="Identity" />
<Property Name="CurrentProduct" Type="bit" />
<Property Name="ProcessParamId" Type="int" Nullable="false" />
</EntityType>
<EntityType Name="TRoleInfo">
<Key>
<PropertyRef Name="RoleId" />
</Key>
<Property Name="RoleId" Type="int" Nullable="false" />
<Property Name="RoleName" Type="varchar" MaxLength="100" Nullable="false" />
<Property Name="State" Type="bit" />
<Property Name="Role" Type="varchar" MaxLength="100" />
<Property Name="AccessNode" Type="varchar" MaxLength="500" />
</EntityType>
<EntityType Name="TStation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Name" Type="varchar" MaxLength="64" />
<Property Name="Desc" Type="varchar" MaxLength="64" />
<Property Name="Layers" Type="tinyint" Nullable="false" />
<Property Name="Columns" Type="tinyint" Nullable="false" />
<Property Name="Number" Type="tinyint" Nullable="false" />
<Property Name="Type" Type="tinyint" Nullable="false" />
<Property Name="PosX" Type="int" Nullable="false" />
<Property Name="PosY" Type="int" Nullable="false" />
<Property Name="LeftMargin" Type="int" Nullable="false" />
<Property Name="Enable" Type="bit" Nullable="false" />
</EntityType>
<EntityType Name="TStationDetail">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Name" Type="varchar" MaxLength="255" Nullable="false" />
<Property Name="StationId" Type="int" Nullable="false" />
<Property Name="Number" Type="tinyint" Nullable="false" />
<Property Name="DeviceId" Type="tinyint" Nullable="false" />
<Property Name="Layer" Type="tinyint" Nullable="false" />
<Property Name="Column" Type="tinyint" Nullable="false" />
<Property Name="Enable" Type="bit" Nullable="false" />
<Property Name="Remark" Type="varchar" MaxLength="512" />
</EntityType>
<EntityType Name="TStoveSctualPatrol">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Layer" Type="int" Nullable="false" />
<Property Name="LayerBoardControlTemp" Type="float" Nullable="false" />
<Property Name="SupplyControlTemp" Type="float" Nullable="false" />
<Property Name="LayerBoardInspectionTemp1" Type="float" Nullable="false" />
<Property Name="LayerBoardInspectionTemp2" Type="float" />
<Property Name="SupplyInspectionTemp" Type="float" Nullable="false" />
<Property Name="CreateTime" Type="datetime" Precision="0" StoreGeneratedPattern="Identity" Nullable="false" />
</EntityType>
<EntityType Name="TSysSetup">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="ParamType" />
</Key>
<Property Name="Id" Type="uint" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="ParamCode" Type="varchar" MaxLength="50" />
<Property Name="ParamName" Type="varchar" MaxLength="50" />
<Property Name="ParamValue" Type="varchar" MaxLength="50" />
<Property Name="CheckRegular" Type="varchar" MaxLength="100" Nullable="false" />
<Property Name="ParamType" Type="uint" Nullable="false" />
<Property Name="ParamSort" Type="int" Nullable="false" />
</EntityType>
<EntityType Name="TTagList">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="uint" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="DeviceIds" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="Address" Type="varchar" MaxLength="100" Nullable="false" />
<Property Name="VarName" Type="varchar" MaxLength="100" Nullable="false" />
<Property Name="ParamName" Type="varchar" MaxLength="100" />
<Property Name="VarType" Type="varchar" MaxLength="50" Nullable="false" />
<Property Name="ArrayLen" Type="int" Nullable="false" />
<Property Name="Number" Type="int" Nullable="false" />
<Property Name="OperType" Type="tinyint" />
<Property Name="VarDesc" Type="varchar" MaxLength="255" />
<Property Name="Json" Type="varchar" MaxLength="1024" />
<Property Name="TirgEnable" Type="bit" Nullable="false" />
<Property Name="TrigJson" Type="varchar" MaxLength="1024" />
<Property Name="TagType" Type="int" Nullable="false" />
</EntityType>
<EntityType Name="TUserManage">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="UserName" Type="varchar" MaxLength="50" />
<Property Name="Password" Type="varchar" MaxLength="128" />
<Property Name="RoleId" Type="int" Nullable="false" />
<Property Name="UserId" Type="varchar" MaxLength="20" />
<Property Name="Valid" Type="bit" />
</EntityType>
<EntityContainer Name="ModelStoreContainer">
<EntitySet Name="TAlarm" EntityType="Self.TAlarm" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TAlarmContent" EntityType="Self.TAlarmContent" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TBatteryInfo" EntityType="Self.TBatteryInfo" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TBatteryNG" EntityType="Self.TBatteryNG" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TBatteryRepeat" EntityType="Self.TBatteryRepeat" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TDeviceConfig" EntityType="Self.TDeviceConfig" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TLog" EntityType="Self.TLog" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TMenuInfo" EntityType="Self.TMenuInfo" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TMesData" EntityType="Self.TMesData" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TProcessParameter" EntityType="Self.TProcessParameter" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TProductionInformation" EntityType="Self.TProductionInformation" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TRoleInfo" EntityType="Self.TRoleInfo" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TStation" EntityType="Self.TStation" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TStationDetail" EntityType="Self.TStationDetail" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TStoveSctualPatrol" EntityType="Self.TStoveSctualPatrol" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TSysSetup" EntityType="Self.TSysSetup" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TTagList" EntityType="Self.TTagList" Schema="6098-5" store:Type="Tables" />
<EntitySet Name="TUserManage" EntityType="Self.TUserManage" Schema="6098-5" store:Type="Tables" />
</EntityContainer>
</Schema></edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="Model" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
<EntityType Name="TAlarm">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="DeviceId" Type="Int32" />
<Property Name="Desc" Type="String" MaxLength="512" FixedLength="false" Unicode="false" />
<Property Name="StartTime" Type="DateTime" Nullable="false" />
<Property Name="StopTime" Type="DateTime" />
<Property Name="Status" Type="String" MaxLength="16" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TAlarmContent">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="TagIds" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="Offset" Type="Int32" />
<Property Name="Desc" Type="String" MaxLength="500" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TDeviceConfig">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="DriverName" Type="String" MaxLength="255" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Enable" Type="Boolean" Nullable="false" />
<Property Name="IsConnect" Type="Boolean" Nullable="false" />
<Property Name="Desc" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="Json" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="DType" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TLog">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int64" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Content" Type="String" MaxLength="8000" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Level" Type="SByte" Nullable="false" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
</EntityType>
<EntityType Name="TMenuInfo">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" />
<Property Name="Header" Type="String" MaxLength="100" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="HeaderName" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
<Property Name="TargetView" Type="String" MaxLength="150" FixedLength="false" Unicode="false" />
<Property Name="ParentId" Type="Int32" Nullable="false" />
<Property Name="MenuIcon" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
<Property Name="MenuIndex" Type="Int32" Nullable="false" />
<Property Name="MenuType" Type="Int32" Nullable="false" />
<Property Name="State" Type="Boolean" />
<Property Name="JSON" Type="String" MaxLength="1000" FixedLength="false" Unicode="false" />
<Property Name="MenuImage" Type="Binary" MaxLength="Max" FixedLength="false" />
</EntityType>
<EntityType Name="TMesData">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="CommandType" Type="String" MaxLength="255" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Content" Type="String" MaxLength="65535" FixedLength="false" Unicode="false" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="SendTime" Type="DateTime" />
<Property Name="SendFlag" Type="SByte" Nullable="false" />
<Property Name="RecvContent" Type="String" MaxLength="65535" FixedLength="false" Unicode="false" />
<Property Name="RecvTime" Type="DateTime" />
<Property Name="MsgType" Type="SByte" Nullable="false" />
</EntityType>
<EntityType Name="TProcessParameter">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="ProcessParamName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Parameters" Type="String" MaxLength="65535" FixedLength="false" Unicode="false" />
<Property Name="BaseFalg" Type="Boolean" />
<Property Name="CreateTime" Type="DateTime" />
</EntityType>
<EntityType Name="TProductionInformation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="JobNum" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ProductionDatetime" Type="DateTime" annotation:StoreGeneratedPattern="Identity" />
<Property Name="CurrentProduct" Type="Boolean" />
<Property Name="ProcessParamId" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="TRoleInfo">
<Key>
<PropertyRef Name="RoleId" />
</Key>
<Property Name="RoleId" Type="Int32" Nullable="false" />
<Property Name="RoleName" Type="String" MaxLength="100" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="State" Type="Boolean" />
<Property Name="Role" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
<Property Name="AccessNode" Type="String" MaxLength="500" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TStation">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Name" Type="String" MaxLength="64" FixedLength="false" Unicode="false" />
<Property Name="Desc" Type="String" MaxLength="64" FixedLength="false" Unicode="false" />
<Property Name="Layers" Type="SByte" Nullable="false" />
<Property Name="Columns" Type="SByte" Nullable="false" />
<Property Name="Number" Type="SByte" Nullable="false" />
<Property Name="Type" Type="SByte" Nullable="false" />
<Property Name="PosX" Type="Int32" Nullable="false" />
<Property Name="PosY" Type="Int32" Nullable="false" />
<Property Name="LeftMargin" Type="Int32" Nullable="false" />
<Property Name="Enable" Type="Boolean" Nullable="false" />
</EntityType>
<EntityType Name="TStationDetail">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Name" Type="String" MaxLength="255" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="StationId" Type="Int32" Nullable="false" />
<Property Name="Number" Type="SByte" Nullable="false" />
<Property Name="DeviceId" Type="SByte" Nullable="false" />
<Property Name="Layer" Type="SByte" Nullable="false" />
<Property Name="Column" Type="SByte" Nullable="false" />
<Property Name="Enable" Type="Boolean" Nullable="false" />
<Property Name="Remark" Type="String" MaxLength="512" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TStoveSctualPatrol">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Layer" Type="Int32" Nullable="false" />
<Property Name="LayerBoardControlTemp" Type="Single" Nullable="false" />
<Property Name="SupplyControlTemp" Type="Single" Nullable="false" />
<Property Name="LayerBoardInspectionTemp1" Type="Single" Nullable="false" />
<Property Name="LayerBoardInspectionTemp2" Type="Single" Nullable="false" />
<Property Name="SupplyInspectionTemp" Type="Single" Nullable="false" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
</EntityType>
<EntityType Name="TSysSetup">
<Key>
<PropertyRef Name="Id" />
<PropertyRef Name="ParamType" />
</Key>
<Property Name="Id" Type="Int64" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="ParamCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ParamName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="ParamValue" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="CheckRegular" Type="String" MaxLength="100" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ParamType" Type="Int64" Nullable="false" />
<Property Name="ParamSort" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="TTagList">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int64" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="DeviceIds" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="Address" Type="String" MaxLength="100" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="VarName" Type="String" MaxLength="100" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ParamName" Type="String" MaxLength="100" FixedLength="false" Unicode="false" />
<Property Name="VarType" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="ArrayLen" Type="Int32" Nullable="false" />
<Property Name="Number" Type="Int32" Nullable="false" />
<Property Name="OperType" Type="SByte" />
<Property Name="VarDesc" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
<Property Name="Json" Type="String" MaxLength="1024" FixedLength="false" Unicode="false" />
<Property Name="TirgEnable" Type="Boolean" Nullable="false" />
<Property Name="TrigJson" Type="String" MaxLength="1024" FixedLength="false" Unicode="false" />
<Property Name="TagType" Type="Int32" Nullable="false" />
</EntityType>
<EntityType Name="TUserManage">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="UserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="Password" Type="String" MaxLength="128" FixedLength="false" Unicode="false" />
<Property Name="RoleId" Type="Int32" Nullable="false" />
<Property Name="UserId" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
<Property Name="Valid" Type="Boolean" />
</EntityType>
<EntityContainer Name="PreheatEntities" annotation:LazyLoadingEnabled="true">
<EntitySet Name="TAlarm" EntityType="Self.TAlarm" />
<EntitySet Name="TAlarmContent" EntityType="Self.TAlarmContent" />
<EntitySet Name="TDeviceConfig" EntityType="Self.TDeviceConfig" />
<EntitySet Name="TLog" EntityType="Self.TLog" />
<EntitySet Name="TMenuInfo" EntityType="Self.TMenuInfo" />
<EntitySet Name="TMesData" EntityType="Self.TMesData" />
<EntitySet Name="TProcessParameter" EntityType="Self.TProcessParameter" />
<EntitySet Name="TProductionInformation" EntityType="Self.TProductionInformation" />
<EntitySet Name="TRoleInfo" EntityType="Self.TRoleInfo" />
<EntitySet Name="TStation" EntityType="Self.TStation" />
<EntitySet Name="TStationDetail" EntityType="Self.TStationDetail" />
<EntitySet Name="TStoveSctualPatrol" EntityType="Self.TStoveSctualPatrol" />
<EntitySet Name="TSysSetup" EntityType="Self.TSysSetup" />
<EntitySet Name="TTagList" EntityType="Self.TTagList" />
<EntitySet Name="TUserManage" EntityType="Self.TUserManage" />
<EntitySet Name="TBatteryInfo" EntityType="Model.TBatteryInfo" />
<EntitySet Name="TBatteryRepeat" EntityType="Model.TBatteryRepeat" />
<EntitySet Name="TBatteryNG" EntityType="Model.TBatteryNG" />
</EntityContainer>
<EntityType Name="TBatteryInfo">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="ScanTime" Type="DateTime" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="BatteryCode" Type="String" Nullable="false" MaxLength="32" FixedLength="false" Unicode="false" />
<Property Name="ScannerPos" Type="SByte" Nullable="false" />
<Property Name="BatteryStatus" Type="SByte" Nullable="false" />
<Property Name="LoadingTime" Type="DateTime" />
<Property Name="PositionX" Type="Int32" />
<Property Name="PositionY" Type="Int32" />
<Property Name="Layer" Type="SByte" />
<Property Name="UnLoadingTime" Type="DateTime" />
<Property Name="LodingTemperature" Type="Single" />
<Property Name="PreheatTemperature" Type="Single" />
<Property Name="UnLoadingTemperature" Type="Single" />
<Property Name="PreheatTime" Type="String" MaxLength="32" FixedLength="false" Unicode="false" />
<Property Name="Desc" Type="String" MaxLength="512" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TBatteryRepeat">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="ScanTime" Type="DateTime" annotation:StoreGeneratedPattern="Identity" />
<Property Name="BatteryCode" Type="String" Nullable="false" MaxLength="32" FixedLength="false" Unicode="false" />
<Property Name="ScannerPos" Type="SByte" Nullable="false" />
<Property Name="BatteryStatus" Type="SByte" Nullable="false" />
<Property Name="LoadingTime" Type="DateTime" />
<Property Name="PositionX" Type="Int32" />
<Property Name="PositionY" Type="Int32" />
<Property Name="Layer" Type="SByte" />
<Property Name="UnLoadingTime" Type="DateTime" />
<Property Name="LodingTemperature" Type="Single" />
<Property Name="PreheatTemperature" Type="Single" />
<Property Name="UnLoadingTemperature" Type="Single" />
<Property Name="PreheatTime" Type="String" MaxLength="32" FixedLength="false" Unicode="false" />
<Property Name="Desc" Type="String" MaxLength="512" FixedLength="false" Unicode="false" />
</EntityType>
<EntityType Name="TBatteryNG">
<Key>
<PropertyRef Name="Id" />
</Key>
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="BatteryCode" Type="String" MaxLength="32" FixedLength="false" Unicode="false" />
<Property Name="Reason" Type="String" Nullable="false" MaxLength="65535" FixedLength="false" Unicode="false" />
<Property Name="CreateTime" Type="DateTime" Nullable="false" />
<Property Name="Desc" Type="String" MaxLength="65535" FixedLength="false" Unicode="false" />
</EntityType>
</Schema>
</edmx:ConceptualModels>
<!-- C-S mapping content -->
<edmx:Mappings>
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
<EntityContainerMapping StorageEntityContainer="ModelStoreContainer" CdmEntityContainer="PreheatEntities">
<EntitySetMapping Name="TAlarm">
<EntityTypeMapping TypeName="Model.TAlarm">
<MappingFragment StoreEntitySet="TAlarm">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="DeviceId" ColumnName="DeviceId" />
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="StartTime" ColumnName="StartTime" />
<ScalarProperty Name="StopTime" ColumnName="StopTime" />
<ScalarProperty Name="Status" ColumnName="Status" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TAlarmContent">
<EntityTypeMapping TypeName="Model.TAlarmContent">
<MappingFragment StoreEntitySet="TAlarmContent">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="TagIds" ColumnName="TagIds" />
<ScalarProperty Name="Offset" ColumnName="Offset" />
<ScalarProperty Name="Desc" ColumnName="Desc" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TDeviceConfig">
<EntityTypeMapping TypeName="Model.TDeviceConfig">
<MappingFragment StoreEntitySet="TDeviceConfig">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="DriverName" ColumnName="DriverName" />
<ScalarProperty Name="Enable" ColumnName="Enable" />
<ScalarProperty Name="IsConnect" ColumnName="IsConnect" />
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="Json" ColumnName="Json" />
<ScalarProperty Name="DType" ColumnName="DType" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TLog">
<EntityTypeMapping TypeName="Model.TLog">
<MappingFragment StoreEntitySet="TLog">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Content" ColumnName="Content" />
<ScalarProperty Name="Level" ColumnName="Level" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TMenuInfo">
<EntityTypeMapping TypeName="Model.TMenuInfo">
<MappingFragment StoreEntitySet="TMenuInfo">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Header" ColumnName="Header" />
<ScalarProperty Name="HeaderName" ColumnName="HeaderName" />
<ScalarProperty Name="TargetView" ColumnName="TargetView" />
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
<ScalarProperty Name="MenuIcon" ColumnName="MenuIcon" />
<ScalarProperty Name="MenuIndex" ColumnName="MenuIndex" />
<ScalarProperty Name="MenuType" ColumnName="MenuType" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="JSON" ColumnName="JSON" />
<ScalarProperty Name="MenuImage" ColumnName="MenuImage" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TMesData">
<EntityTypeMapping TypeName="Model.TMesData">
<MappingFragment StoreEntitySet="TMesData">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="CommandType" ColumnName="CommandType" />
<ScalarProperty Name="Content" ColumnName="Content" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="SendTime" ColumnName="SendTime" />
<ScalarProperty Name="SendFlag" ColumnName="SendFlag" />
<ScalarProperty Name="RecvContent" ColumnName="RecvContent" />
<ScalarProperty Name="RecvTime" ColumnName="RecvTime" />
<ScalarProperty Name="MsgType" ColumnName="MsgType" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TProcessParameter">
<EntityTypeMapping TypeName="Model.TProcessParameter">
<MappingFragment StoreEntitySet="TProcessParameter">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="ProcessParamName" ColumnName="ProcessParamName" />
<ScalarProperty Name="Parameters" ColumnName="Parameters" />
<ScalarProperty Name="BaseFalg" ColumnName="BaseFalg" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TProductionInformation">
<EntityTypeMapping TypeName="Model.TProductionInformation">
<MappingFragment StoreEntitySet="TProductionInformation">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="JobNum" ColumnName="JobNum" />
<ScalarProperty Name="ProductionDatetime" ColumnName="ProductionDatetime" />
<ScalarProperty Name="CurrentProduct" ColumnName="CurrentProduct" />
<ScalarProperty Name="ProcessParamId" ColumnName="ProcessParamId" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TRoleInfo">
<EntityTypeMapping TypeName="Model.TRoleInfo">
<MappingFragment StoreEntitySet="TRoleInfo">
<ScalarProperty Name="RoleId" ColumnName="RoleId" />
<ScalarProperty Name="RoleName" ColumnName="RoleName" />
<ScalarProperty Name="State" ColumnName="State" />
<ScalarProperty Name="Role" ColumnName="Role" />
<ScalarProperty Name="AccessNode" ColumnName="AccessNode" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TStation">
<EntityTypeMapping TypeName="Model.TStation">
<MappingFragment StoreEntitySet="TStation">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="Layers" ColumnName="Layers" />
<ScalarProperty Name="Columns" ColumnName="Columns" />
<ScalarProperty Name="Number" ColumnName="Number" />
<ScalarProperty Name="Type" ColumnName="Type" />
<ScalarProperty Name="PosX" ColumnName="PosX" />
<ScalarProperty Name="PosY" ColumnName="PosY" />
<ScalarProperty Name="LeftMargin" ColumnName="LeftMargin" />
<ScalarProperty Name="Enable" ColumnName="Enable" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TStationDetail">
<EntityTypeMapping TypeName="Model.TStationDetail">
<MappingFragment StoreEntitySet="TStationDetail">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Name" ColumnName="Name" />
<ScalarProperty Name="StationId" ColumnName="StationId" />
<ScalarProperty Name="Number" ColumnName="Number" />
<ScalarProperty Name="DeviceId" ColumnName="DeviceId" />
<ScalarProperty Name="Layer" ColumnName="Layer" />
<ScalarProperty Name="Column" ColumnName="Column" />
<ScalarProperty Name="Enable" ColumnName="Enable" />
<ScalarProperty Name="Remark" ColumnName="Remark" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TStoveSctualPatrol">
<EntityTypeMapping TypeName="Model.TStoveSctualPatrol">
<MappingFragment StoreEntitySet="TStoveSctualPatrol">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="Layer" ColumnName="Layer" />
<ScalarProperty Name="LayerBoardControlTemp" ColumnName="LayerBoardControlTemp" />
<ScalarProperty Name="SupplyControlTemp" ColumnName="SupplyControlTemp" />
<ScalarProperty Name="LayerBoardInspectionTemp1" ColumnName="LayerBoardInspectionTemp1" />
<ScalarProperty Name="LayerBoardInspectionTemp2" ColumnName="LayerBoardInspectionTemp2" />
<ScalarProperty Name="SupplyInspectionTemp" ColumnName="SupplyInspectionTemp" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TSysSetup">
<EntityTypeMapping TypeName="Model.TSysSetup">
<MappingFragment StoreEntitySet="TSysSetup">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="ParamCode" ColumnName="ParamCode" />
<ScalarProperty Name="ParamName" ColumnName="ParamName" />
<ScalarProperty Name="ParamValue" ColumnName="ParamValue" />
<ScalarProperty Name="CheckRegular" ColumnName="CheckRegular" />
<ScalarProperty Name="ParamType" ColumnName="ParamType" />
<ScalarProperty Name="ParamSort" ColumnName="ParamSort" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TTagList">
<EntityTypeMapping TypeName="Model.TTagList">
<MappingFragment StoreEntitySet="TTagList">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="DeviceIds" ColumnName="DeviceIds" />
<ScalarProperty Name="Address" ColumnName="Address" />
<ScalarProperty Name="VarName" ColumnName="VarName" />
<ScalarProperty Name="ParamName" ColumnName="ParamName" />
<ScalarProperty Name="VarType" ColumnName="VarType" />
<ScalarProperty Name="ArrayLen" ColumnName="ArrayLen" />
<ScalarProperty Name="Number" ColumnName="Number" />
<ScalarProperty Name="OperType" ColumnName="OperType" />
<ScalarProperty Name="VarDesc" ColumnName="VarDesc" />
<ScalarProperty Name="Json" ColumnName="Json" />
<ScalarProperty Name="TirgEnable" ColumnName="TirgEnable" />
<ScalarProperty Name="TrigJson" ColumnName="TrigJson" />
<ScalarProperty Name="TagType" ColumnName="TagType" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TUserManage">
<EntityTypeMapping TypeName="Model.TUserManage">
<MappingFragment StoreEntitySet="TUserManage">
<ScalarProperty Name="Id" ColumnName="Id" />
<ScalarProperty Name="UserName" ColumnName="UserName" />
<ScalarProperty Name="Password" ColumnName="Password" />
<ScalarProperty Name="RoleId" ColumnName="RoleId" />
<ScalarProperty Name="UserId" ColumnName="UserId" />
<ScalarProperty Name="Valid" ColumnName="Valid" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBatteryInfo">
<EntityTypeMapping TypeName="Model.TBatteryInfo">
<MappingFragment StoreEntitySet="TBatteryInfo">
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="PreheatTime" ColumnName="PreheatTime" />
<ScalarProperty Name="UnLoadingTemperature" ColumnName="UnLoadingTemperature" />
<ScalarProperty Name="PreheatTemperature" ColumnName="PreheatTemperature" />
<ScalarProperty Name="LodingTemperature" ColumnName="LodingTemperature" />
<ScalarProperty Name="UnLoadingTime" ColumnName="UnLoadingTime" />
<ScalarProperty Name="Layer" ColumnName="Layer" />
<ScalarProperty Name="PositionY" ColumnName="PositionY" />
<ScalarProperty Name="PositionX" ColumnName="PositionX" />
<ScalarProperty Name="LoadingTime" ColumnName="LoadingTime" />
<ScalarProperty Name="BatteryStatus" ColumnName="BatteryStatus" />
<ScalarProperty Name="ScannerPos" ColumnName="ScannerPos" />
<ScalarProperty Name="BatteryCode" ColumnName="BatteryCode" />
<ScalarProperty Name="ScanTime" ColumnName="ScanTime" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBatteryRepeat">
<EntityTypeMapping TypeName="Model.TBatteryRepeat">
<MappingFragment StoreEntitySet="TBatteryRepeat">
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="PreheatTime" ColumnName="PreheatTime" />
<ScalarProperty Name="UnLoadingTemperature" ColumnName="UnLoadingTemperature" />
<ScalarProperty Name="PreheatTemperature" ColumnName="PreheatTemperature" />
<ScalarProperty Name="LodingTemperature" ColumnName="LodingTemperature" />
<ScalarProperty Name="UnLoadingTime" ColumnName="UnLoadingTime" />
<ScalarProperty Name="Layer" ColumnName="Layer" />
<ScalarProperty Name="PositionY" ColumnName="PositionY" />
<ScalarProperty Name="PositionX" ColumnName="PositionX" />
<ScalarProperty Name="LoadingTime" ColumnName="LoadingTime" />
<ScalarProperty Name="BatteryStatus" ColumnName="BatteryStatus" />
<ScalarProperty Name="ScannerPos" ColumnName="ScannerPos" />
<ScalarProperty Name="BatteryCode" ColumnName="BatteryCode" />
<ScalarProperty Name="ScanTime" ColumnName="ScanTime" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="TBatteryNG">
<EntityTypeMapping TypeName="Model.TBatteryNG">
<MappingFragment StoreEntitySet="TBatteryNG">
<ScalarProperty Name="Desc" ColumnName="Desc" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="Reason" ColumnName="Reason" />
<ScalarProperty Name="BatteryCode" ColumnName="BatteryCode" />
<ScalarProperty Name="Id" ColumnName="Id" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
</EntityContainerMapping>
</Mapping>
</edmx:Mappings>
</edmx:Runtime>
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
<Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
<Connection>
<DesignerInfoPropertySet>
<DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
</DesignerInfoPropertySet>
</Connection>
<Options>
<DesignerInfoPropertySet>
<DesignerProperty Name="ValidateOnBuild" Value="true" />
<DesignerProperty Name="EnablePluralization" Value="false" />
<DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
<DesignerProperty Name="UseLegacyProvider" Value="false" />
<DesignerProperty Name="CodeGenerationStrategy" Value="无" />
</DesignerInfoPropertySet>
</Options>
<!-- Diagram content (shape and connector positions) -->
<Diagrams></Diagrams>
</Designer>
</edmx:Edmx>