update read/write methods
This commit is contained in:
@@ -709,6 +709,12 @@ namespace CMS_CORE_Library
|
||||
/// <returns></returns>
|
||||
public abstract CmsError PLC_WTCamMode(bool enableTCam);
|
||||
/// <summary>
|
||||
/// Set ThermoCamera functionality Active (HMI)
|
||||
/// </summary>
|
||||
/// <param name="enableTCam"></param>
|
||||
/// <returns></returns>
|
||||
public abstract CmsError PLC_WTCamActiv(bool enableTCam);
|
||||
/// <summary>
|
||||
/// Set current Warmers Channels reflector's data
|
||||
/// </summary>
|
||||
/// <param name="newData"></param>
|
||||
|
||||
@@ -3460,7 +3460,7 @@ namespace CMS_CORE_Library.S7Net
|
||||
// scrivo sul PLC array di byte...
|
||||
libraryError = MEM_RWByteList(W, 0, TCAM_CH_ENAB_DATA.MemType, TCAM_CH_ENAB_DATA.Address, TCAM_CH_ENAB_DATA.SubAddress, 0, TCAM_CH_ENAB_DATA.Size, ref currMem);
|
||||
if (libraryError.IsError())
|
||||
return libraryError;
|
||||
return libraryError;
|
||||
|
||||
return NO_ERROR;
|
||||
}
|
||||
@@ -3480,11 +3480,19 @@ namespace CMS_CORE_Library.S7Net
|
||||
/// <returns></returns>
|
||||
public override CmsError PLC_WTCamMode(bool enableTCam)
|
||||
{
|
||||
#if false
|
||||
CmsError libraryError = MEM_RWBoolean(W, true, 0, TCAM_COMMW_DATA.MemType, TCAM_COMMW_DATA.Address, TCAM_COMMW_DATA.SubAddress, 0, ref enableTCam);
|
||||
return libraryError;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
return NO_ERROR;
|
||||
/// <summary>
|
||||
/// Set ThermoCamera functionality active (HMI)
|
||||
/// </summary>
|
||||
/// <param name="enableTCam"></param>
|
||||
/// <returns></returns>
|
||||
public override CmsError PLC_WTCamActiv(bool enableTCam)
|
||||
{
|
||||
CmsError libraryError = MEM_RWBoolean(W, true, 0, TCAM_COMMW_DATA.MemType, TCAM_COMMW_DATA.Address, TCAM_COMMW_DATA.SubAddress, 1, ref enableTCam);
|
||||
return libraryError;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user