|
@@ -53,33 +53,67 @@ namespace FurnaceUI.Views.Maintenances
|
|
|
public string LP1State { get; set; }
|
|
|
[Subscription("LP2.Status")]
|
|
|
public string LP2State { get; set; }
|
|
|
- //[Subscription("LP2.LoadportState")]
|
|
|
- //public string LP2State { get; set; }
|
|
|
- //[Subscription("LP3.LoadportState")]
|
|
|
- //public string LP3State { get; set; }
|
|
|
- //[Subscription("LP4.LoadportState")]
|
|
|
- //public string LP4State { get; set; }
|
|
|
- //[Subscription("LP1.CarrierId")]
|
|
|
- //public string LP1CarrierId { get; set; }
|
|
|
- //[Subscription("LP2.CarrierId")]
|
|
|
- //public string LP2CarrierId { get; set; }
|
|
|
- //[Subscription("LP3.CarrierId")]
|
|
|
- //public string LP3CarrierId { get; set; }
|
|
|
- //[Subscription("LP4.CarrierId")]
|
|
|
- //public string LP4CarrierId { get; set; }
|
|
|
+ [Subscription("LP3.Status")]
|
|
|
+ public string LP3State { get; set; }
|
|
|
+ [Subscription("LP4.Status")]
|
|
|
+ public string LP4State { get; set; }
|
|
|
+
|
|
|
[Subscription("LP1.AccessMode")]
|
|
|
public string LP1AccessMode { get; set; }
|
|
|
[Subscription("LP2.AccessMode")]
|
|
|
public string LP2AccessMode { get; set; }
|
|
|
+ [Subscription("LP3.AccessMode")]
|
|
|
+ public string LP3AccessMode { get; set; }
|
|
|
+ [Subscription("LP4.AccessMode")]
|
|
|
+ public string LP4AccessMode { get; set; }
|
|
|
[Subscription("LP1.DeviceStatus")]
|
|
|
public string LP1DeviceStatus { get; set; }
|
|
|
[Subscription("LP2.DeviceStatus")]
|
|
|
public string LP2DeviceStatus { get; set; }
|
|
|
+ [Subscription("LP3.DeviceStatus")]
|
|
|
+ public string LP3DeviceStatus { get; set; }
|
|
|
+ [Subscription("LP4.DeviceStatus")]
|
|
|
+ public string LP4DeviceStatus { get; set; }
|
|
|
[Subscription("LP1.Carrier")]
|
|
|
public CarrierInfo LP1CarrierInfo { get; set; }
|
|
|
+
|
|
|
[Subscription("LP2.Carrier")]
|
|
|
public CarrierInfo LP2CarrierInfo { get; set; }
|
|
|
+ [Subscription("LP3.Carrier")]
|
|
|
+ public CarrierInfo LP3CarrierInfo { get; set; }
|
|
|
+ [Subscription("LP4.Carrier")]
|
|
|
+ public CarrierInfo LP4CarrierInfo { get; set; }
|
|
|
#endregion
|
|
|
+ private int _tabSelectIndex = 0;
|
|
|
+ public int TabSelectIndex
|
|
|
+ {
|
|
|
+ get => _tabSelectIndex;
|
|
|
+ set
|
|
|
+ {
|
|
|
+ _tabSelectIndex = value;
|
|
|
+ NotifyOfPropertyChange(nameof(TabSelectIndex));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private bool _lP4BorderVisibility = true;
|
|
|
+ public bool LP4BorderVisibility
|
|
|
+ {
|
|
|
+ get => _lP4BorderVisibility;
|
|
|
+ set
|
|
|
+ {
|
|
|
+ _lP4BorderVisibility = value;
|
|
|
+ NotifyOfPropertyChange(nameof(LP4BorderVisibility));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ private bool _lP3BorderVisibility = true;
|
|
|
+ public bool LP3BorderVisibility
|
|
|
+ {
|
|
|
+ get => _lP3BorderVisibility;
|
|
|
+ set
|
|
|
+ {
|
|
|
+ _lP3BorderVisibility = value;
|
|
|
+ NotifyOfPropertyChange(nameof(LP3BorderVisibility));
|
|
|
+ }
|
|
|
+ }
|
|
|
private bool _lP2BorderVisibility = true;
|
|
|
public bool LP2BorderVisibility
|
|
|
{
|
|
@@ -176,6 +210,16 @@ namespace FurnaceUI.Views.Maintenances
|
|
|
DialogBox.ShowWarning($"{deviceName} change to auto failed, for FOUP present");
|
|
|
return;
|
|
|
}
|
|
|
+ if (cmd == "SetAMHS" && deviceName == "LP3" && LP3CarrierInfo != null && !LP3CarrierInfo.IsEmpty)
|
|
|
+ {
|
|
|
+ DialogBox.ShowWarning($"{deviceName} change to auto failed, for FOUP present");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (cmd == "SetAMHS" && deviceName == "LP4" && LP4CarrierInfo != null && !LP4CarrierInfo.IsEmpty)
|
|
|
+ {
|
|
|
+ DialogBox.ShowWarning($"{deviceName} change to auto failed, for FOUP present");
|
|
|
+ return;
|
|
|
+ }
|
|
|
InvokeClient.Instance.Service.DoOperation($"{deviceName}.{cmd}");
|
|
|
}
|
|
|
public void Home(object para)
|