33 lines
742 B
C#
33 lines
742 B
C#
using AZTECHWB.Extensions;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace AZTECHWB
|
|
{
|
|
public class Machine : MonoBehaviour
|
|
{
|
|
public MachineStatusItem machineStatusItem;
|
|
public string machineName;
|
|
|
|
//private bool isAlarmActive;
|
|
|
|
public string[] typeOptions;
|
|
public Sprite previewImage;
|
|
public Vector3 centerPos;
|
|
|
|
public float focusDistance;
|
|
public float focusAzimuth;
|
|
public float focusElevation;
|
|
|
|
public void Init()
|
|
{
|
|
centerPos = transform.GetMeshCenter();
|
|
}
|
|
// public void SetAlarm(string state)
|
|
// {
|
|
// isAlarmActive = state == "SET" ? true : false;
|
|
// }
|
|
}
|
|
}
|
|
|