/// <summary> /// Change the status of the pipe to the broken one. /// Increase the water increase speed. /// </summary> public void Broke() { status = ValveStatus.BROKEN; waterController.openPipes++; audioManager.GetComponent <AudioController>().Broke(); // transform.Rotate(0, 180, 0, Space.Self); animator.SetBool("IsBroken", true); }
/// <summary> /// Change the status of the pipe to the working/open/Fixed one. /// Reduce the water increase speed. /// </summary> public void FixedJoint() { status = ValveStatus.OPEN; waterController.openPipes--; audioManager.GetComponent <AudioController>().Repair(); //transform.Rotate(0, 180, 0, Space.Self); animator.SetBool("IsBroken", false); }
///<summaray> ///Метод StartOPCUAClient первичное подключени при инициализации системы. ///Выполняет чтение всех переменных. ///Запускает таймер циклического обновления данных ///</summaray> public void StartOPCUAClient() { AnalogInput variable = new AnalogInput(); OPCLocker = new object(); client = new OpcClient("opc.tcp://192.168.0.10:4840/"); opcobjects = OPCObjects.createObjects(); OPCObjects.client = client; OPCObjects.OPCLocker = OPCLocker; OPCObjects.client.Connect(); lock (OPCObjects.OPCLocker) { //client.Connect(); #region BAV_3 ValveStatus BAV_3_Status = client.ReadNode(OPCUAWorkerPaths.BAV_3_Status_path).As <ValveStatus>(); ValveInput BAV_3_Input = client.ReadNode(OPCUAWorkerPaths.BAV_3_Input_path).As <ValveInput>(); #endregion #region FVV_S ValveStatus FVV_S_Status = client.ReadNode(OPCUAWorkerPaths.FVV_S_Status_path).As <ValveStatus>(); ValveInput FVV_S_Input = client.ReadNode(OPCUAWorkerPaths.FVV_S_Input_path).As <ValveInput>(); #endregion #region FVV_B ValveStatus FVV_B_Status = client.ReadNode(OPCUAWorkerPaths.FVV_B_Status_path).As <ValveStatus>(); ValveInput FVV_B_Input = client.ReadNode(OPCUAWorkerPaths.FVV_B_Input_path).As <ValveInput>(); #endregion #region CPV ValveStatus CPV_Status = client.ReadNode(OPCUAWorkerPaths.CPV_Status_path).As <ValveStatus>(); ValveInput CPV_Input = client.ReadNode(OPCUAWorkerPaths.CPV_Input_path).As <ValveInput>(); #endregion #region SHV ValveStatus SHV_Status = client.ReadNode(OPCUAWorkerPaths.SHV_Status_path).As <ValveStatus>(); ValveInput SHV_Input = client.ReadNode(OPCUAWorkerPaths.SHV_Input_path).As <ValveInput>(); #endregion #region Crio_pump CrioInput crioInput = client.ReadNode(OPCUAWorkerPaths.Crio_pump_Input_path).As <CrioInput>(); CrioStatus crioStatus = client.ReadNode(OPCUAWorkerPaths.Crio_pump_Status_path).As <CrioStatus>(); #endregion StopFVP StopFVP = client.ReadNode(OPCUAWorkerPaths.StopFVP_path).As <StopFVP>(); StopCrio StopCrio = client.ReadNode(OPCUAWorkerPaths.StopCrio_path).As <StopCrio>(); OpenCam OpenCam = client.ReadNode(OPCUAWorkerPaths.OpenCam_path).As <OpenCam>(); CrioPumpStart CrioPumpStart = client.ReadNode(OPCUAWorkerPaths.CrioPumpStart_path).As <CrioPumpStart>(); CamPrepare camPrepare = client.ReadNode(OPCUAWorkerPaths.CamPrepare_path).As <CamPrepare>(); IonStatus IonStatus = client.ReadNode(OPCUAWorkerPaths.IonStatus_path).As <IonStatus>(); IonOutputFeedBack IonOutputFeedBack = client.ReadNode(OPCUAWorkerPaths.IonOutputFeedBack_path).As <IonOutputFeedBack>(); OPCObjects.IonInputSetPoint = client.ReadNode(OPCUAWorkerPaths.IonInputSetPoint_path).As <IonInputSetPoint>(); //OpcNodeInfo adsd = client.BrowseNode(OPCUAWorkerPaths.IonInputSetPoint_path); //if (adsd is OpcVariableNodeInfo variablenode) //{ // OpcNodeId datatypeid = variablenode.DataTypeId; // OpcDataTypeInfo datatype = client.GetDataTypeSystem().GetType(datatypeid); // Console.WriteLine(datatype.TypeId); // Console.WriteLine(datatype.Encoding); // Console.WriteLine(datatype.Name); // foreach (OpcDataFieldInfo field in datatype.GetFields()) // Console.WriteLine(".{0} : {1}", field.Name, field.FieldType); // Console.WriteLine(); // Console.WriteLine("data type attributes:"); // Console.WriteLine( // "\t[opcdatatype(\"{0}\")]", // datatype.TypeId.ToString(OpcNodeIdFormat.Foundation)); // Console.WriteLine( // "\t[opcdatatypeencoding(\"{0}\", namespaceuri = \"{1}\")]", // datatype.Encoding.Id.ToString(OpcNodeIdFormat.Foundation), // datatype.Encoding.Namespace.Value); //} IonInputCommand IonInputCommand = client.ReadNode(OPCUAWorkerPaths.IonInputCommand_path).As <IonInputCommand>(); OPCObjects.FVPStatus = client.ReadNode(OPCUAWorkerPaths.FVPStatus_path).As <FVPStatus>(); //variable.Alarm_Crio_power_failure = client.ReadNode(OPCUAWorkerPaths.Alarm_Crio_power_failure_path); //variable.Alarm_ELI_power_failure = client.ReadNode(OPCUAWorkerPaths.Alarm_ELI_power_failure_path); //variable.Alarm_FloatHeater_power_failure = client.ReadNode(OPCUAWorkerPaths.Alarm_FloatHeater_power_failure_path); //variable.Alarm_FVP_power_failure = client.ReadNode(OPCUAWorkerPaths.Alarm_FVP_power_failure_path); //variable.Alarm_Hight_Crio_Temp = client.ReadNode(OPCUAWorkerPaths.Alarm_Hight_Crio_Temp_path); //variable.Alarm_Hight_Pne_Presse = client.ReadNode(OPCUAWorkerPaths.Alarm_Hight_Pne_Presse_path); /// variable.Alarm_Indexer_power_failure = client.ReadNode(OPCUAWorkerPaths.Alarm_Indexer_power_failure_path); //variable.Alarm_Ion_power_failure = client.ReadNode(OPCUAWorkerPaths.Alarm_Ion_power_failure_path); //variable.Alarm_Low_One_Presse = client.ReadNode(OPCUAWorkerPaths.Alarm_Low_One_Presse_path); //variable.Alarm_manual_Stop = client.ReadNode(OPCUAWorkerPaths.Alarm_manual_Stop_path); //variable.Alarm_Open_door = client.ReadNode(OPCUAWorkerPaths.Alarm_Open_door_path); //variable.Alarm_Qartz_power_filure = client.ReadNode(OPCUAWorkerPaths.Alarm_Qartz_power_filure_path); //variable.Alarm_SSP_power_failure = client.ReadNode(OPCUAWorkerPaths.Alarm_SSP_power_failure_path); //variable.Alarm_TV1_power_failure = client.ReadNode(OPCUAWorkerPaths.Alarm_TV1_power_failure_path); //variable.Alarm_Water_CRIO = client.ReadNode(OPCUAWorkerPaths.Alarm_Water_CRIO_path); //variable.Alarm_Water_SECOND = client.ReadNode(OPCUAWorkerPaths.Alarm_Water_SECOND_path); //variable.BLM_Remote_Control_Done = client.ReadNode(OPCUAWorkerPaths.BLM_Remote_Control_Done_path); //variable.BLM_Run = client.ReadNode(OPCUAWorkerPaths.BLM_Run_path); //variable.BLM_Start = client.ReadNode(OPCUAWorkerPaths.BLM_Start_path); //variable.BLM_Stop = client.ReadNode(OPCUAWorkerPaths.BLM_Stop_path); //variable.Crio_start_signal = client.ReadNode(OPCUAWorkerPaths.Crio_start_signal_path); //variable.HeatAssist_Done = client.ReadNode(OPCUAWorkerPaths.HeatAssist_Done_path); //variable.HeatAssist_Flag = client.ReadNode(OPCUAWorkerPaths.HeatAssist_Flag_path); //variable.HeatAssist_TempDone = client.ReadNode(OPCUAWorkerPaths.HeatAssist_TempDone_path); //variable.Heat_Assist_ON = client.ReadNode(OPCUAWorkerPaths.Heat_Assist_ON_path); //variable.Heat_Done = client.ReadNode(OPCUAWorkerPaths.Heat_Done_path); //variable.Heat_Assist_ON = client.ReadNode(OPCUAWorkerPaths.Heat_Assist_ON_path); //variable.PreHeat_Done = client.ReadNode(OPCUAWorkerPaths.PreHeat_Done_path); //variable.PreHeat_Start = client.ReadNode(OPCUAWorkerPaths.PreHeat_Start_path); ReadAnalogValues(client); ReadDiscretValues(client); ReadIntegerValues(client); //variable.BLM_Speed = client.ReadNode(OPCUAWorkerPaths.BLM_Speed_path); // variable.BLM_Speed_SP = client.ReadNode(OPCUAWorkerPaths.BLM_Speed_SP_path); //variable.CameraPressure = client.ReadNode(OPCUAWorkerPaths.CameraPressure_path); //variable.CrioPressure = client.ReadNode(OPCUAWorkerPaths.CrioPressure_path); //variable.CrioTemperature = client.ReadNode(OPCUAWorkerPaths.CrioTemperature_path); //variable.FT_TT_1 = client.ReadNode(OPCUAWorkerPaths.FT_TT_1_path); //variable.FT_TT_2 = client.ReadNode(OPCUAWorkerPaths.FT_TT_2_path); //variable.FT_TT_3 = client.ReadNode(OPCUAWorkerPaths.FT_TT_3_path); //variable.HeatAssist_Temp_SP = client.ReadNode(OPCUAWorkerPaths.HeatAssist_Temp_SP_path); variable.HeatAssist_Timer = client.ReadNode(OPCUAWorkerPaths.HeatAssist_Timer_path); //variable.Heat_Assist_Timer_SP = client.ReadNode(OPCUAWorkerPaths.Heat_Assist_Timer_SP_path); //variable.MainPressure = client.ReadNode(OPCUAWorkerPaths.MainPressure_path); //variable.ManualSetTemp = client.ReadNode(OPCUAWorkerPaths.ManualSetTemp_path); //variable.PneumaticPressure = client.ReadNode(OPCUAWorkerPaths.PneumaticPressure_path); //variable.PreHeat_Temp_SP = client.ReadNode(OPCUAWorkerPaths.PreHeat_Temp_SP_path); variable.PreHeat_Timer = client.ReadNode(OPCUAWorkerPaths.PreHeat_Timer_path); //variable.PreHeat_Timer_SP = client.ReadNode(OPCUAWorkerPaths.PreHeat_Timer_SP_path); //variable.RRG_9A1_feedback = client.ReadNode(OPCUAWorkerPaths.RRG_9A1_feedback_path); //variable.RRG_9A2_feedback = client.ReadNode(OPCUAWorkerPaths.RRG_9A2_feedback_path); //variable.RRG_9A3_feedback = client.ReadNode(OPCUAWorkerPaths.RRG_9A3_feedback_path); //variable.RRG_9A4_feedback = client.ReadNode(OPCUAWorkerPaths.RRG_9A4_feedback_path); //variable.SFT01_FT = client.ReadNode(OPCUAWorkerPaths.SFT01_FT_path); //variable.SFT02_FT = client.ReadNode(OPCUAWorkerPaths.SFT02_FT_path); //variable.SFT03_FT = client.ReadNode(OPCUAWorkerPaths.SFT03_FT_path); //variable.SFT04_FT = client.ReadNode(OPCUAWorkerPaths.SFT04_FT_path); //variable.SFT05_FT = client.ReadNode(OPCUAWorkerPaths.SFT05_FT_path); //variable.SFT06_FT = client.ReadNode(OPCUAWorkerPaths.SFT06_FT_path); //variable.SFT07_FT = client.ReadNode(OPCUAWorkerPaths.SFT07_FT_path); //variable.SFT08_FT = client.ReadNode(OPCUAWorkerPaths.SFT08_FT_path); //variable.SFT09_FT = client.ReadNode(OPCUAWorkerPaths.SFT09_FT_path); //variable.SFT10_FT = client.ReadNode(OPCUAWorkerPaths.SFT10_FT_path); //variable.TE_1 = client.ReadNode(OPCUAWorkerPaths.TE_1_path); //client.Disconnect(); Console.WriteLine("SDASDASDASDASDSA {0}", opcobjects.GetIonInputSetPoint().Heat_U_SP); OPCObjects.AnalogValues.Add(OPCObjects.BLM_Speed_SP); OPCObjects.AnalogValues.Add(OPCObjects.Camera_Pressure); OPCObjects.AnalogValues.Add(OPCObjects.Crio_Pressure); OPCObjects.AnalogValues.Add(OPCObjects.Crio_Temperature); OPCObjects.AnalogValues.Add(OPCObjects.FT_TT_1); OPCObjects.AnalogValues.Add(OPCObjects.FT_TT_2); OPCObjects.AnalogValues.Add(OPCObjects.FT_TT_3); OPCObjects.AnalogValues.Add(OPCObjects.HeatAssist_Temp_SP); OPCObjects.AnalogValues.Add(OPCObjects.HeatAssist_Timer_SP); OPCObjects.AnalogValues.Add(OPCObjects.Main_Pressure); OPCObjects.AnalogValues.Add(OPCObjects.ManualSetTemp); OPCObjects.AnalogValues.Add(OPCObjects.Pneumatic_Pressure); OPCObjects.AnalogValues.Add(OPCObjects.PreHeat_Temp_SP); OPCObjects.AnalogValues.Add(OPCObjects.PreHeat_Timer_SP); OPCObjects.AnalogValues.Add(OPCObjects.BLM_Speed); OPCObjects.AnalogValues.Add(OPCObjects.RRG_9A1_feedback); OPCObjects.AnalogValues.Add(OPCObjects.RRG_9A2_feedback); OPCObjects.AnalogValues.Add(OPCObjects.RRG_9A3_feedback); OPCObjects.AnalogValues.Add(OPCObjects.RRG_9A4_feedback); OPCObjects.AnalogValues.Add(OPCObjects.SFT01_FT); OPCObjects.AnalogValues.Add(OPCObjects.SFT02_FT); OPCObjects.AnalogValues.Add(OPCObjects.SFT03_FT); OPCObjects.AnalogValues.Add(OPCObjects.SFT04_FT); OPCObjects.AnalogValues.Add(OPCObjects.SFT05_FT); OPCObjects.AnalogValues.Add(OPCObjects.SFT06_FT); OPCObjects.AnalogValues.Add(OPCObjects.SFT07_FT); OPCObjects.AnalogValues.Add(OPCObjects.SFT08_FT); OPCObjects.AnalogValues.Add(OPCObjects.SFT09_FT); OPCObjects.AnalogValues.Add(OPCObjects.SFT10_FT); OPCObjects.AnalogValues.Add(OPCObjects.TE_1); OPCObjects.AnalogValues.Add(OPCObjects.K_RRG1); OPCObjects.AnalogValues.Add(OPCObjects.K_RRG2); OPCObjects.AnalogValues.Add(OPCObjects.K_RRG3); OPCObjects.AnalogValues.Add(OPCObjects.K_RRG4); OPCObjects.AnalogValues.Add(OPCObjects.RRG_Pressure_SP); OPCObjects.AnalogValues.Add(OPCObjects.PidHeatMode); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_Crio_power_failure); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_ELI_Power_failure); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_FloatHeater_power_failure); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_FVP_power_failure); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_Hight_Crio_Temp); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_Hight_Pne_Press); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_Indexer_power_failure); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_Ion_power_failure); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_Low_One_Presse); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_manual_stop); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_Open_door); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_Qartz_power_failure); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_SSP_power_failure); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_TV1_power_failure); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_Water_CRIO); OPCObjects.DiscreteValues.Add(OPCObjects.Alarm_Water_SECOND); OPCObjects.DiscreteValues.Add(OPCObjects.BLM_Remote_Control_Done); OPCObjects.DiscreteValues.Add(OPCObjects.BLM_Run); OPCObjects.DiscreteValues.Add(OPCObjects.BLM_Start); OPCObjects.DiscreteValues.Add(OPCObjects.BLM_Stop); OPCObjects.DiscreteValues.Add(OPCObjects.Crio_start_signal); OPCObjects.DiscreteValues.Add(OPCObjects.HeatAssist_Done); OPCObjects.DiscreteValues.Add(OPCObjects.HeatAssist_Flag); OPCObjects.DiscreteValues.Add(OPCObjects.HeatAssist_TempDone); OPCObjects.DiscreteValues.Add(OPCObjects.Heat_Assit_On); OPCObjects.DiscreteValues.Add(OPCObjects.Heat_Done); OPCObjects.DiscreteValues.Add(OPCObjects.PreHeat_Done); OPCObjects.DiscreteValues.Add(OPCObjects.PreHeat_Start); OPCObjects.DiscreteValues.Add(OPCObjects.StopProcessSignal); OPCObjects.DiscreteValues.Add(OPCObjects.StartProcessSignal); OPCObjects.DiscreteValues.Add(OPCObjects.ELI_access); OPCObjects.DiscreteValues.Add(OPCObjects.ELI_complete); OPCObjects.IntValues.Add(OPCObjects.HeatAssist_Stage); OPCObjects.IntValues.Add(OPCObjects.Tech_cam_STAGE); OPCObjects.IntValues.Add(OPCObjects.PreHeat_Stage); opcobjects.setBAV_3_Status(BAV_3_Status); opcobjects.setBAV_3_Input(BAV_3_Input); opcobjects.set_CVP_Input(CPV_Input); opcobjects.set_CVP_Status(CPV_Status); opcobjects.set_FVV_B_Input(FVV_B_Input); opcobjects.set_FVV_B_Status(FVV_B_Status); opcobjects.set_FVV_S_Input(FVV_S_Input); opcobjects.set_FVV_S_Status(FVV_S_Status); opcobjects.set_SHV_Input(SHV_Input); opcobjects.set_SHV_Status(SHV_Status); opcobjects.SetCrioInput(crioInput); opcobjects.SetCrioStatus(crioStatus); opcobjects.SetStopFvp(StopFVP); opcobjects.SetStopCrio(StopCrio); opcobjects.set_OpcClient(client); opcobjects.SetOpenCam(OpenCam); opcobjects.set_CrioPumpStart(CrioPumpStart); opcobjects.set_camPrepare(camPrepare); opcobjects.SetIonStatus(IonStatus); opcobjects.SetIonOutputFeedBack(IonOutputFeedBack); //opcobjects.SetIonInputSetPoint(IonInputSetPoint); // opcobjects.SetIonInputCommand(IonInputCommand); //opcobjects.SetFVPStatus(FVPStatus); opcobjects.SetAnalogInput(variable); opcobjects.setOPCLocker(OPCLocker); OPCObjects.ValvesInput.Add(1, OPCObjects.BAV_3_input); OPCObjects.ValvesStatus.Add(1, OPCObjects.BAV_3_status); OPCObjects.ValvesInput.Add(2, OPCObjects.SHV_Input); OPCObjects.ValvesStatus.Add(2, OPCObjects.SHV_Status); OPCObjects.ValvesInput.Add(3, OPCObjects.FVV_S_Input); OPCObjects.ValvesStatus.Add(3, OPCObjects.FVV_S_Status); OPCObjects.ValvesStatus.Add(4, OPCObjects.FVV_B_Status); OPCObjects.ValvesInput.Add(4, OPCObjects.FVV_B_Input); OPCObjects.ValvesInput.Add(5, OPCObjects.CPV_Input); OPCObjects.ValvesStatus.Add(5, OPCObjects.CPV_Status); } //this.RegisterSubscribe(); OpcInnerTimer = new TimerCallback(TimerRead); timer = new Timer(OpcInnerTimer, client, 0, 2000); _opcHandler("OPC DONE"); }
public SolenoidValveController(string inName, SerialPort inPort, string inAddr) { this.mPort = inPort; this.sName = inName; this.sAddr = inAddr; this.currentStatus = ValveStatus.Unknown; this.openVoltage = 0.0; this.closeVoltage = 0.0; solenoidResult = new ParaResult[2]; }
public void Receive(string strInput) { if (strInput.Contains(sAddr + sOpenCmd)) { currentStatus = ValveStatus.Open; } else if (strInput.Contains(sAddr + sCloseCmd)) { currentStatus = ValveStatus.Close; } else if (strInput.Contains(sMeasOpenCmd + sAddr)) { currentStatus = ValveStatus.Open; int equal_pos = strInput.IndexOf('='); string d1 = strInput.Substring(equal_pos + 1, strInput.Length - equal_pos - 1); double tmp; try { tmp = Double.Parse(d1); } catch { tmp = 0; } if (tmp >= dMinValue[0] && tmp < dMaxValue[0]) { solenoidResult[0].para_result = ParaStatus.Pass; } else { solenoidResult[0].para_result = ParaStatus.Warning; } solenoidResult[0].para_value = tmp; openVoltage = tmp; } else if (strInput.Contains(sMeasCloseCmd + sAddr)) { currentStatus = ValveStatus.Close; int equal_pos = strInput.IndexOf('='); string d1 = strInput.Substring(equal_pos + 1, strInput.Length - equal_pos - 1); double tmp; try { tmp = Double.Parse(d1); } catch { tmp = 0; } if (tmp >= dMinValue[1] && tmp < dMaxValue[1]) { solenoidResult[1].para_result = ParaStatus.Pass; } else { solenoidResult[1].para_result = ParaStatus.Warning; } solenoidResult[1].para_value = tmp; closeVoltage = tmp; } }
private OPCObjects() { camPrepare = new CamPrepare(); AnalogValues = new List <AnalogValue>(); DiscreteValues = new List <DiscreteValue>(); ValvesInput = new Dictionary <int, ValveInput>(); ValvesStatus = new Dictionary <int, ValveStatus>(); SFT01_FT = new AnalogValue(); SFT02_FT = new AnalogValue(); SFT03_FT = new AnalogValue(); SFT04_FT = new AnalogValue(); SFT05_FT = new AnalogValue(); SFT06_FT = new AnalogValue(); SFT07_FT = new AnalogValue(); SFT08_FT = new AnalogValue(); SFT09_FT = new AnalogValue(); SFT10_FT = new AnalogValue(); FT_TT_1 = new AnalogValue(); FT_TT_2 = new AnalogValue(); FT_TT_3 = new AnalogValue(); K_RRG1 = new AnalogValue(); K_RRG2 = new AnalogValue(); K_RRG3 = new AnalogValue(); K_RRG4 = new AnalogValue(); PidHeatMode = new AnalogValue(); RRG_Pressure_SP = new AnalogValue(); RRG_9A1_feedback = new AnalogValue(); RRG_9A2_feedback = new AnalogValue(); RRG_9A3_feedback = new AnalogValue(); RRG_9A4_feedback = new AnalogValue(); TE_1 = new AnalogValue(); Pneumatic_Pressure = new AnalogValue(); Crio_Pressure = new AnalogValue(); Camera_Pressure = new AnalogValue(); Main_Pressure = new AnalogValue(); Crio_Temperature = new AnalogValue(); PreHeat_Temp_SP = new AnalogValue(); HeatAssist_Temp_SP = new AnalogValue(); PreHeat_Timer_SP = new AnalogValue(); HeatAssist_Timer_SP = new AnalogValue(); ManualSetTemp = new AnalogValue(); BLM_Speed = new AnalogValue(); BLM_Speed_SP = new AnalogValue(); PreHeat_Done = new DiscreteValue(); HeatAssist_Done = new DiscreteValue(); PreHeat_Start = new DiscreteValue(); HeatAssist_Flag = new DiscreteValue(); Heat_Done = new DiscreteValue(); HeatAssist_TempDone = new DiscreteValue(); Heat_Assit_On = new DiscreteValue(); BLM_Start = new DiscreteValue(); BLM_Stop = new DiscreteValue(); BLM_Remote_Control_Done = new DiscreteValue(); BLM_Run = new DiscreteValue(); Alarm_Open_door = new DiscreteValue(); Alarm_Water_CRIO = new DiscreteValue(); Alarm_Hight_Pne_Press = new DiscreteValue(); Alarm_Low_One_Presse = new DiscreteValue(); Alarm_Crio_power_failure = new DiscreteValue(); Alarm_Qartz_power_failure = new DiscreteValue(); Alarm_ELI_Power_failure = new DiscreteValue(); Alarm_FloatHeater_power_failure = new DiscreteValue(); Alarm_Ion_power_failure = new DiscreteValue(); Alarm_FVP_power_failure = new DiscreteValue(); Alarm_Indexer_power_failure = new DiscreteValue(); Alarm_SSP_power_failure = new DiscreteValue(); Alarm_TV1_power_failure = new DiscreteValue(); Alarm_Water_SECOND = new DiscreteValue(); Alarm_Hight_Crio_Temp = new DiscreteValue(); Crio_start_signal = new DiscreteValue(); Alarm_manual_stop = new DiscreteValue(); StartProcessSignal = new DiscreteValue(); StopProcessSignal = new DiscreteValue(); ELI_complete = new DiscreteValue(); ELI_access = new DiscreteValue(); PreHeat_Stage = new IntValue(); HeatAssist_Stage = new IntValue(); Tech_cam_STAGE = new IntValue(); FullCycleStage = new IntValue(); IntValues = new List <IntValue>(); FVPStatus = new FVPStatus(); IonInputSetPoint = new IonInputSetPoint(); OPCLocker = new object(); SQLLocker = new object(); BAV_3_status = new ValveStatus(); FVV_S_Status = new ValveStatus(); FVV_B_Status = new ValveStatus(); CPV_Status = new ValveStatus(); SHV_Status = new ValveStatus(); BAV_3_input = new ValveInput(); FVV_S_Input = new ValveInput(); FVV_B_Input = new ValveInput(); CPV_Input = new ValveInput(); SHV_Input = new ValveInput(); camPrepare = new CamPrepare(); CrioPumpStart = new CrioPumpStart(); openCam = new OpenCam(); StopCrio = new StopCrio(); StopFVP = new StopFVP(); IonInputCommnd = new IonInputCommand(); IonInputSetPoint = new IonInputSetPoint(); IonOutputFeedBack = new IonOutputFeedBack(); IonStatus = new IonStatus(); FVPStatus = new FVPStatus(); CrioInput = new CrioInput(); CrioStatus = new CrioStatus(); user = new User(); }
public void set_SHV_Status(ValveStatus obj) { SHV_Status = obj; }
public void set_CVP_Status(ValveStatus obj) { CPV_Status = obj; }
public void set_FVV_B_Status(ValveStatus obj) { FVV_B_Status = obj; }
public void setBAV_3_Status(ValveStatus obj) { BAV_3_status = obj; }