250 lines
7.9 KiB
C#
250 lines
7.9 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace XED.Machine
|
|
{
|
|
[Serializable]
|
|
public class ASRS_Lifter_Class
|
|
{
|
|
//asrs input lift
|
|
public int ASRS_04_01_P2A_D_SKID_ON = 0;
|
|
public int ASRS_04_01_P2A_UP_DOWN = 0;
|
|
public int ASRS_04_01_P2A_LIFT_STATE = 0;
|
|
public string ASRS_04_01_P2A_SKID_ID = "";
|
|
public int ASRS_04_01_A2P_AMR_IN_COMPLETE = 0;
|
|
public int ASRS_04_01_A2P_AMR_OUT_COMPLETE = 0;
|
|
|
|
//asrs output Lift
|
|
public int ASRS_14_01_P2A_D_SKID_ON = 0;
|
|
public int ASRS_14_01_P2A_UP_DOWN = 0;
|
|
public int ASRS_14_01_P2A_LIFT_STATE = 0;
|
|
public string ASRS_14_01_P2A_SKID_ID = "";
|
|
public int ASRS_14_01_A2P_AMR_IN_COMPLETE = 0;
|
|
public int ASRS_14_01_A2P_AMR_OUT_COMPLETE = 0;
|
|
}
|
|
|
|
[Serializable]
|
|
public class ASRS_Lifter_Breaked_Class
|
|
{
|
|
public int SKID_ON = 0;
|
|
public int UP_DOWN = 0;
|
|
public int LIFT_STATE = 0;
|
|
public string SKID_ID = "";
|
|
public int AMR_IN_COMPLETE = 0;
|
|
public int AMR_OUT_COMPLETE = 0;
|
|
}
|
|
|
|
[Serializable]
|
|
public class ASRS_StackerCrane_Class
|
|
{
|
|
//asrs stacker position
|
|
public int STK_03_20_Stacker_Position_X;
|
|
public int STK_03_20_Stacker_Position_Y;
|
|
public int STK_03_20_Stacker_Position_Z;
|
|
public string STK_03_20_Stacker_SKID_ID = "";
|
|
|
|
public int STK_03_20_Stacker_Part_On;
|
|
public int STK_03_20_Stacker_Warehousing_Location;
|
|
public int STK_03_20_Stacker_Step_No;
|
|
}
|
|
[Serializable]
|
|
public class ASRS_Class
|
|
{
|
|
//conv 01 01 trigger events
|
|
public int CONV_01_01_P2A_D_SKID_ON;
|
|
public int CONV_01_01_P2A_RUN_STATUS;
|
|
|
|
//conv 01 01 value
|
|
//speed mm/Min
|
|
public int CONV_01_01_P2A_SPEED;
|
|
|
|
//something wrong in conv 01 01
|
|
public int CONV_01_01_P2A_EMG_STOP;
|
|
public int CONV_01_01_P2A_Total_Error;
|
|
|
|
|
|
//conv 01 02 divot conv trigger events
|
|
//CONV_01_02_P2A
|
|
public int CONV_01_02_P2A_UP_DOWN;
|
|
public int CONV_01_02_P2A_LIFT_STATE;
|
|
public int CONV_01_02_P2A_RUN_STATUS;
|
|
public int CONV_01_02_P2A_D_SKID_ON;
|
|
//conv 01 02 value events
|
|
public int CONV_01_02_P2A_SPEED_CHAIN;
|
|
|
|
//something wrong in conv 01 02
|
|
public int CONV_01_02_P2A_EMG_STOP;
|
|
public int CONV_01_02_P2A_Total_Error;
|
|
|
|
|
|
//conv 01 03 trigger events
|
|
public int CONV_01_03_P2A_RUN_STATUS_IN;
|
|
public int CONV_01_03_P2A_RUN_STATUS_OUT;
|
|
public int CONV_01_03_P2A_G_SKID_ON;
|
|
public int CONV_01_03_P2A_D_SKID_ON;
|
|
|
|
//conv 01 03 value Events;
|
|
public int CONV_01_03_P2A_SPEED;
|
|
|
|
//soemthing wrong in covn 01 03
|
|
public int CONV_01_03_P2A_EMG_STOP;
|
|
public int CONV_01_03_P2A_Total_Error;
|
|
|
|
|
|
//conv 01 04 trigger events
|
|
public int CONV_01_04_P2A_RUN_STATUS_IN;
|
|
public int CONV_01_04_P2A_RUN_STATUS_OUT;
|
|
public int CONV_01_04_P2A_G_SKID_ON;
|
|
public int CONV_01_04_P2A_D_SKID_ON;
|
|
|
|
//conv 01 04 value Events;
|
|
public int CONV_01_04_P2A_SPEED;
|
|
|
|
//soemthing wrong in covn 01 04
|
|
public int CONV_01_04_P2A_EMG_STOP;
|
|
public int CONV_01_04_P2A_Total_Error;
|
|
|
|
|
|
|
|
//conv 02 01 trigger event
|
|
public int CONV_02_01_P2A_RUN_STATUS_IN;
|
|
public int CONV_02_01_P2A_RUN_STATUS_OUT;
|
|
|
|
//conv 02 01 value event
|
|
public int CONV_02_01_P2A_SPEED_CHAIN;
|
|
public string CONV_02_01_P2A_Bill_No;
|
|
public int CONV_02_01_P2A_SPEPARATION_NO;
|
|
public int CONV_02_01_P2A_D_SKID_ON;
|
|
public int CONV_02_01_P2A_G_SKID_ON;
|
|
|
|
//something wrong in covn 02 01
|
|
public int CONV_02_01_P2A_Total_Error;
|
|
public int CONV_02_01_P2A_EMG_STOP;
|
|
|
|
|
|
//conv 02 02 divot conv trigger events
|
|
//CONV_02_02_P2A
|
|
public int CONV_02_02_P2A_UP_DOWN;
|
|
public int CONV_02_02_P2A_LIFT_STATE;
|
|
public int CONV_02_02_P2A_RUN_STATUS_IN;
|
|
public int CONV_02_02_P2A_RUN_STATUS_OUT;
|
|
|
|
|
|
//conv 01 02 value events
|
|
public int CONV_02_02_P2A_SPEED_CHAIN;
|
|
public string CONV_02_02_P2A_Bill_No;
|
|
public int CONV_02_02_P2A_SPEPARATION_NO;
|
|
public int CONV_02_02_P2A_D_SKID_ON;
|
|
public int CONV_02_02_P2A_G_SKID_ON;
|
|
|
|
//something wrong in conv 01 02
|
|
public int CONV_02_02_P2A_EMG_STOP;
|
|
public int CONV_02_02_P2A_Total_Error;
|
|
|
|
|
|
public int CONV_02_03_P2A_D_SKID_ON;
|
|
public int CONV_02_03_P2A_G_SKID_ON;
|
|
|
|
//conv 02 03 out conv trigger events
|
|
public int CONV_02_03_P2A_RUN_STATUS_IN;
|
|
public int CONV_02_03_P2A_RUN_STATUS_OUT;
|
|
|
|
//conv 02 03 value events
|
|
public int CONV_02_03_P2A_SPEED;
|
|
public string CONV_02_03_P2A_Bill_No;
|
|
public int CONV_02_03_P2A_SPEPARATION_NO;
|
|
|
|
//something wrong in conv 02 03
|
|
public int CONV_02_03_P2A_EMG_STOP;
|
|
public int CONV_02_03_P2A_Total_Error;
|
|
|
|
//asrs stacker position
|
|
public int Stacker_Position_X;
|
|
public int Stacker_Position_Y;
|
|
public int Stacker_Position_Z;
|
|
|
|
public int Stacker_Part_On;
|
|
|
|
#nullable enable
|
|
//asrs rack status
|
|
public int STK_03_01_P2A_CARGO_ARRIVED;
|
|
public string? STK_03_01_P2A_Bill_No;
|
|
public string? STK_03_01_P2A_SEPARATION_NO;
|
|
|
|
public int STK_03_02_P2A_CARGO_ARRIVED;
|
|
public string? STK_03_02_P2A_Bill_No;
|
|
public string? STK_03_02_P2A_SEPARATION_NO;
|
|
|
|
public int STK_03_03_P2A_CARGO_ARRIVED;
|
|
public string? STK_03_03_P2A_Bill_No;
|
|
public string? STK_03_03_P2A_SEPARATION_NO;
|
|
|
|
public int STK_03_04_P2A_CARGO_ARRIVED;
|
|
public string? STK_03_04_P2A_Bill_No;
|
|
public string? STK_03_04_P2A_SEPARATION_NO;
|
|
|
|
public int STK_03_05_P2A_CARGO_ARRIVED;
|
|
public string? STK_03_05_P2A_Bill_No;
|
|
public string? STK_03_05_P2A_SEPARATION_NO;
|
|
|
|
public int STK_03_06_P2A_CARGO_ARRIVED;
|
|
public string? STK_03_06_P2A_Bill_No;
|
|
public string? STK_03_06_P2A_SEPARATION_NO;
|
|
|
|
public int STK_03_07_P2A_CARGO_ARRIVED;
|
|
public string? STK_03_07_P2A_Bill_No;
|
|
public string? STK_03_07_P2A_SEPARATION_NO;
|
|
|
|
public int STK_03_08_P2A_CARGO_ARRIVED;
|
|
public string? STK_03_08_P2A_Bill_No;
|
|
public string? STK_03_08_P2A_SEPARATION_NO;
|
|
|
|
public int STK_03_09_P2A_CARGO_ARRIVED;
|
|
public string? STK_03_09_P2A_Bill_No;
|
|
public string? STK_03_09_P2A_SEPARATION_NO;
|
|
|
|
public int STK_03_10_P2A_CARGO_ARRIVED;
|
|
public string? STK_03_10_P2A_Bill_No;
|
|
public string? STK_03_10_P2A_SEPARATION_NO;
|
|
|
|
public int STK_03_11_P2A_CARGO_ARRIVED;
|
|
public string? STK_03_11_P2A_Bill_No;
|
|
public string? STK_03_11_P2A_SEPARATION_NO;
|
|
|
|
public int STK_03_12_P2A_CARGO_ARRIVED;
|
|
public string? STK_03_12_P2A_Bill_No;
|
|
public string? STK_03_12_P2A_SEPARATION_NO;
|
|
|
|
#nullable disable
|
|
public string ASRS_01_01_P2A_Bill_No;
|
|
public string ASRS_01_01_P2A_SEPARATION_NO;
|
|
|
|
public string ASRS_02_01_P2A_Bill_No;
|
|
public string ASRS_02_01_P2A_SEPARATION_NO;
|
|
|
|
|
|
|
|
public string SUPPLY_01_01_P2A_Bill_No;
|
|
public string SUPPLY_01_01_P2A_SEPARATION_NO;
|
|
public int SUPPLY_01_01_P2A_G_SKID_ON;
|
|
public int SUPPLY_01_01_P2A_D_SKID_ON;
|
|
|
|
public string SUPPLY_01_02_P2A_Bill_No;
|
|
public string SUPPLY_01_02_P2A_SEPARATION_NO;
|
|
public int SUPPLY_01_02_P2A_G_SKID_ON;
|
|
public int SUPPLY_01_02_P2A_D_SKID_ON;
|
|
|
|
public string SUPPLY_01_03_P2A_Bill_No;
|
|
public string SUPPLY_01_03_P2A_SEPARATION_NO;
|
|
public int SUPPLY_01_03_P2A_G_SKID_ON;
|
|
public int SUPPLY_01_03_P2A_D_SKID_ON;
|
|
|
|
public string SUPPLY_01_04_P2A_Bill_No;
|
|
public string SUPPLY_01_04_P2A_SEPARATION_NO;
|
|
public int SUPPLY_01_04_P2A_G_SKID_ON;
|
|
public int SUPPLY_01_04_P2A_D_SKID_ON;
|
|
|
|
public string DataTime;
|
|
}
|
|
}
|